Hi yipingwang,
Thanks for your reply. My .itb file size is 672 MB but my NAND flash size is 512 MB. Please let me know, how may i load my .itb file in NAND flash ?
Also, I followed the below procedure for booting from NAND flash, for which booting is happening from NAND flash now. Let me know if i am wrong.
=> tftp 82000000 bl2_nand.pbl
=> nand erase 0x0 $filesize;nand write 0x82000000 0x0 $filesize;
=> tftp 82000000 fip_uboot.bin
=> nand erase 0x00100000 $filesize;nand write 0x82000000 0x00100000 $filesize;
=> tftp 82000000 Image
=> nand erase 0x01000000 $filesize;nand write 0x82000000 0x01000000 $filesize;
=> tftp 82000000 fsl-ls1043a-rdb-sdk.dtb
=> nand erase 0x02100000 $filesize;nand write 0x82000000 0x02100000 $filesize;
=> cpld reset nand
------------------------ After reset, i stopped autoboot ----------------------------
=> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p4 rootwait rw earlycon=uart8250
=> setenv nand_bootcmd "nand read 0x81000000 0x01000000 $filesize; nand read 0x90000000 0x02100000 $filesize;booti 0x81000000 - 0x90000000;"
=> saveenv
=> run nand_bootcmd;