diff options
author | Jesse Gilles <jgilles@multitech.com> | 2011-09-09 15:13:37 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2011-09-09 15:13:37 -0500 |
commit | 9b2e32f170ef283b6d183c8b1cdd92b2a608a62f (patch) | |
tree | c25af7bc87339d0448b22fbc6d56c565ed255cd7 | |
parent | 79c393408eea9df0aae41720d9c4c46dd890094d (diff) |
initscripts: print more info when attempting a flash upgrade
-rw-r--r-- | multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs | 7 | ||||
-rw-r--r-- | multitech/recipes/initscripts/initscripts_1.0.bbappend | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs b/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs index 871f538..a0d7155 100644 --- a/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs +++ b/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs @@ -73,11 +73,16 @@ flash_upgrade() { return fi + echo "" + echo "Starting flash upgrade from ${flash_dir}..." + if [ -f ${uImage_file} ]; then echo "Flashing ${uImage_mtd} (uImage) with ${uImage_file}..." flash_eraseall ${uImage_mtd} nandwrite -p ${uImage_mtd} ${uImage_file} + else + echo "uImage file ${uImage_file} not found" fi if [ -f ${rootfs_file} ]; then @@ -105,6 +110,8 @@ flash_upgrade() { # Should not get here normally echo "upgrade-reboot failed" exit 1 + else + echo "rootfs file ${rootfs_file} not found" fi } diff --git a/multitech/recipes/initscripts/initscripts_1.0.bbappend b/multitech/recipes/initscripts/initscripts_1.0.bbappend index 3a98f61..93284e0 100644 --- a/multitech/recipes/initscripts/initscripts_1.0.bbappend +++ b/multitech/recipes/initscripts/initscripts_1.0.bbappend @@ -1,4 +1,4 @@ FILESEXTRA := "${THISDIR}" FILESPATHBASE =. "${FILESEXTRA}:" -PR .= ".corecdp1" +PR .= ".corecdp2" |