We are using P2040 in our board. We are using QorIQ SDK V2.0 along with update
SDK-v2.0-1703 .
If we want to use NAND flash for linux booting , Is there any document that gives us the procedure to achieve this
Hello k aravind vijaya kumar,
I assume that you have deployed uImage at offset 1a000000, dtb at 1e000000, jffs2 filesystem on the second partition, Ramdisk filesystem at 0x12000000 on NAND flash.
nand read 0x10000000 1a000000 0x1000000
nand read 0x20000000 1e000000 0x100000
boot from jffs2 filesystem.
setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 rw console=ttyS0,115200
bootm 0x10000000 - 0x20000000
boot from Ramdisk filesystem
nand read 0x40000000 0x12000000 0x4000000
bootm 0x10000000 0x40000000 0x20000000
Thanks,
Yiping