This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x NAND Booting Question -- Does AM335x support booting from MT29F4G08ABAEA?

Other Parts Discussed in Thread: TMDXEVM3358

Hi,

The NAND flash I am using is MT29F4G08ABAEA. (device id: 0xDC, page size : 4096)I want to know whether AM335x supports booting from this NAND chip. 

See from SPRUH73C 26.1.7.2.5.2 Initialization and Detection   Table 26-13. Supported NAND Devices, page size of  device ID 0xDC is 2048. Does it mean AM335x can not boot from this NAND since page size is 4096 ?

Thanks.

Harry

  •  

    Anybody would like to answer my question ? Does the ROM code of AM335x support 4kB pagesize while the device ID is 0xdc ?

    Or is there any way to verify this ?

    Thanks.

  • Hi,

    I'm facing the same problem as well.

    I've built a custom board based on TMDXEVM3358 reference design, and using the SDK ti-sdk-am335x-evm-05.03.02.00-Linux.

    Initially I mounted a 256MByte NAND flash (MT29F2G08ABAEAWP), and I can boot up the SPL, u-boot then kernel successfully from NAND device.

    But when I changed the NAND to 512MByte (MT294G08ABAEAWP), the ROM code seems always skip the NAND device and try to bootstrap from other peripherals like UART, MMC etc.

    The key difference between these 2 NANDs are:

                 Size                 Device ID      Page Size         ECC bit
    4G08: 4Gb(512MB)  0xDC              4320 Bytes        8-bit
    2G08: 2Gb(256MB)  0xDA              2112 Bytes        4-bit

    I've read the AM335x TRM section 26.1.7.2.5, and I do not see why this 512MByte version of NAND should not be supported by the ROM code.

    Can anyone help ? Thanks.

    - Thomas

  • Thomas:

    Here is the info from the NAND spec:

    MT29F4G08ABAEA

    NAND, 4Gbit (512 MB) x8, SLC, 1-die, 3.3V I/O, Feature Set E, Async

    Mfgr ID / Device ID: 0x2C / 0xDC

    Page Size: 4096

    Spare Size: 224

    ECC Requirement: 8-bit ECC per 540 bytes of data

    4 x 1024 partial page

    Since this NAND is ONFI compliant, RBL can read its geometry parameters.

    All other NANDs I have seen use a 512-byte sector.  Fo example,

    a 2048-byte page NAND allows (4) partial page writes of 512 bytes.

    But this device used (4) partial page writes of 1024 bytes.

    I need to check if GPMC supports this since ECCSIZE0, ECCSIZE1 have

    a max value that specifies a 512 byte sector.

    I will look into that.

     

     

     

     

  • Also, the device ID does not completely specify the NAND geometry.

    Since NAND is ONFI compliant, ROM boot loader will not use the

    table of device IDs, but will use the Parameter Page info from NAND.

    Regards,

    Michael T

  • Hi Michael,

    Thanks for your effort to look into this issue. Wondering if you have any update so far ?

    For your info, by setting the sysboot[9] to '1', we are able to boot up from this NAND. But we are not comfortable with this "work-around".

    - Thomas

  • Hi Michael,

    Are there any updates? I wonder AM335X supports 512MB or 1G NAND FLASH from MICRON standart part numbers (MT29F4G08 and MT29F8G08)?

    Best Regards,

    FERHAT YALDIZ 

  • Ferhat,

    Are you still looking for the solution? The part MT29F2G08ABAEAWP has an internal ECC calculator logic. You might to disable it to get ONFI and support booting from the device by using SET_FEATURES command. I haven't gone through in detail. I'm not sure whether the internal ECC logic is enabled after reset.

  • Hi,

    Some versions of NAND  from Micron larger 512MB but have 2K page size  are directly supported by AM335X.

    Best Regards,

    FERHAT YALDIZ

  • Hi Michael,

    I am also using the same MT29F8G08ABABA using am335xEVM and converted this to our customized board without cpld section.

    I did't see the NAND detection under u-boot, i am using ti-sdk-am335x-evm-06.00 u-boot & Linux 3.2. Please let su know what are the changes required to modify under the bootloader.

    Thanks