Hi,
I am going to use Micron's NAND flash MT29F128G08CBCEB which is 128Gbit large. The page size is 16384 bytes and the block size is 512 pages.
In the nand_ids.h of U-boot, there are supports on 128Gbit. I suppose this flash can be used by U-boot as well as the Linux system.
But according to the boot fusemap of RM, it can support NAND up to 256 pages only. Does it mean that I cannot use the mfgtools to program the software during the production? If so, are there any suggestions how to program the software during the production?
Many thanks,
Ray
I know that NAND flash 512 pages is not supported. My understanding is that reading NAND flash should not involve the no. of pages, which is related to block erasing. So I think if I can somehow program the software to the NAND flash at the first time, the Boot ROM code should be able to run the U-boot and run the system without problem. Please correct me if I am wrong.
If so, the problem is how I can program the NAND flash. I can think of two solutions,
1) Attach a SD card using a test jig at the production line and boot the system with SD card and flash the software to the NAND
2) Modify the mfgtools by myself. But I have not yet studied the code, not sure if it is viable.
https://github.com/NXPmicro/mfgtools/tree/master/libuuu
Would you please advise your comments?
Hi all,
Can anyone give me advice?
If I cannot use USB to program the u-boot, kernal and rootfs to the NAND flash, my solution is just like SD card recovery but I need to make a test jig to attach the SD card (as the product does not have SD) to do the programming during production. Is it viable?
Thanks,
Ray
I have only the NAND flash as the storage memory and 1 otg port. No SD card, no eMMC. Do you have any suggestions to flash the U-boot, kernel and root fs to the NAND flash during production?