Hello, I am using Yocto project and U-boot to make my T1042D4RDB bootable from NAND Flash. I followed the steps in https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf until page 98 and set my switches to boot from NAND as described in page 328.
My question is, How can I reset my NAND flash ? I want to make it empty again to use different u-boot. I searched user manuals and sdk docs but couldn't figure out how to reset.
Solved! Go to Solution.
Please clarify my understanding:
1) after setting the DIP switches for NAND boot the board is able to boot successfully
2) you have new firmware which has to be deployed to the NAND Flash
Assuming that you have built new "u-boot-nand.bin" it has to be programmed by U-Boot commands into the NAND Flash as follows:
=>tftp 100000 u-boot-nand.bin
=>nand info
=>nand erase 0 e0000
=>nand write 100000 0 $filesize
Please consider that it is convenient to boot from NOR or SD card to perform the NAND programming operations.
Please clarify my understanding:
1) after setting the DIP switches for NAND boot the board is able to boot successfully
2) you have new firmware which has to be deployed to the NAND Flash
Assuming that you have built new "u-boot-nand.bin" it has to be programmed by U-Boot commands into the NAND Flash as follows:
=>tftp 100000 u-boot-nand.bin
=>nand info
=>nand erase 0 e0000
=>nand write 100000 0 $filesize
Please consider that it is convenient to boot from NOR or SD card to perform the NAND programming operations.