procd: more nand takeover fixes
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)
commit0aa79daabf0a83476b838baae61c1be7a404357d
tree28c35db357e8d77f0a64a3c72a12c13b908c7c43
parent14516b76556722d80bbba2c3b0093edb7bdb08f1
procd: more nand takeover fixes

if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43513 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/files/nand-preinit.sh