Hi, I am trying o build a dual boot in nand. I fixed MTD as:
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(kernel1),32m(rootfs1)5m(kernel2),32m(rootfs2)
toggling between (kernel1+rootfs1) and (kernel2+rootfs2) as convenient:
nandsrcaddr=0x00280000 or nandsrcaddr=0x02280000
I write nand with respective files, but when I write kernel2 and rootfs2 after memory address 0x2000000 the files Before 0x2000000 become corrupted. The systems do not execute boot sequence, stopping in rootfs.
The flash size is 264MB
what am I doing wrong?
thanks.