From 7817d5a541a1dd4179c92ff0629c6153863e5dda Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 19 Mar 2013 12:09:00 -0500 Subject: 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). --- multitech/recipes/initscripts/initscripts-1.0/corecdp/umountfs | 2 +- multitech/recipes/initscripts/initscripts_1.0.bbappend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'multitech/recipes/initscripts') 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" -- cgit v1.2.3