iMX6ULL - question about using 128Gbit Nand flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6ULL - question about using 128Gbit Nand flash

1,175 Views
raymondman
Contributor II

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

0 Kudos
Reply
5 Replies

1,144 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

I have double check. You can see in  the RM that the nand boot device select support, do not have 512, so you can not use , do not recommend this nand.

00 - 128
01 - 64
10 - 32
11 - 256

0 Kudos
Reply

1,140 Views
raymondman
Contributor II

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?

0 Kudos
Reply

1,165 Views
raymondman
Contributor II

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

0 Kudos
Reply

1,158 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

The mfgtool only support the usb otg port. Do you have the emmc on your board if no SD card?

0 Kudos
Reply

1,148 Views
raymondman
Contributor II

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?

0 Kudos
Reply