procd: more nand takeover fixes
authorJohn Crispin <blogic@openwrt.org>
Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)
commit05ebabab1006b3d8a144ccc9bcae66598dc9b6d8
tree28c35db357e8d77f0a64a3c72a12c13b908c7c43
parent41c3bf1931ec651d64a1fbad949da5ec13b4b096
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