diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-03-19 12:09:00 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-03-19 12:09:00 -0500 |
commit | 7817d5a541a1dd4179c92ff0629c6153863e5dda (patch) | |
tree | 7baa8d6747d796367af50ec9e2521153ee0e6a7e /multitech/recipes/initscripts | |
parent | dd0515496f5d04efd97b5ddee2a3cd2900596f9e (diff) |
initscripts: call nandwrite -p when flashing rootfs on reboot
This wasn't needed on MTCDP, but is needed for MTOCGD3 since the JFFS2
image is not padded to block size (due to PMECC).
Diffstat (limited to 'multitech/recipes/initscripts')
-rw-r--r-- | multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs | 2 | ||||
-rw-r--r-- | multitech/recipes/initscripts/initscripts_1.0.bbappend | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs b/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs index a0d7155..f8f47dc 100644 --- a/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs +++ b/multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs @@ -101,7 +101,7 @@ flash_upgrade() { umount_all flash_eraseall -j ${rootfs_mtd} - ${flash_dir}/nandwrite.static ${rootfs_mtd} ${rootfs_file} + ${flash_dir}/nandwrite.static -p ${rootfs_mtd} ${rootfs_file} echo "Rebooting..." diff --git a/multitech/recipes/initscripts/initscripts_1.0.bbappend b/multitech/recipes/initscripts/initscripts_1.0.bbappend index 93284e0..af0ba66 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 .= ".corecdp2" +PR .= ".corecdp3" |