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.

DM816x NAND Boot: Micron MT29F2G16ABAFAWP

Hello.  I am having issues booting from NAND on DM816x.  

I believe the NAND chip should boot fine since both the ROM & NAND(i believe...) are using 8Bit ECC; 2KB page size; 128KB Block size.

That is what uboot uses according to this: http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide#U-Boot_NAND_Support

Is this true for the ROM as well?

I am using the following for MBOOT[4:0] for SD Card boot:

10110

And we are attempting to boot from NAND using:

10010

I hooked up a serial port to UART0 and can confirm it starts to print out our a character a second, which is indicative of a nand boot failure and continuing on to attempt serial boot

I have tried every combination of settings of the CSMUX to no avail

I can confirm NAND read/write operations work in Uboot with no issues (i am storing UBoot environmental variables in the nand, and they stick on reboot.)

Has anyone else had any luck getting Uboot to boot from this chip?  I can dump what is stored in the NAND if need be.  

Is there anyway to see why the ROM fails to boot the NAND? Some kind of log out to a console?

Currently I am flashing the NAND via Uboot.  It will be difficult for me at this time to use the CCS to flash the nand since i don't have JTAG hooked up yet.

Thanks!

  • Chris,

    The DM816x ROM code supports 8-bit BCH. Make sure you are using the latest version of u-boot:

    http://arago-project.org/git/projects/?p=u-boot-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    See if the below pointers will be in help:

    DM816x TRM, section 25.7.3 NAND

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_NAND_Driver_User_Guide#ECC_schemes_usage_table

    http://processors.wiki.ti.com/index.php/Determining_compatibility_between_ROM_Bootloader_%28RBL%29_and_Raw_NAND_devices

    http://processors.wiki.ti.com/index.php/Davinci/Sitara/Integra_Nand_Boot_FAQ

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_FAQ#NAND

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/119895

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/386565

    Best regards,
    Pavel
  • DM816x NAND Boot: Micron MT29F2G16ABAFAWP
    I believe the NAND chip should boot fine since both the ROM & NAND(i believe...) are using 8Bit ECC; 2KB page size; 128KB Block size.
    That is what uboot uses according to this: http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide#U-Boot_NAND_Support
    Is this true for the ROM as well?

    > You can check sprugx8b.pdf if your nand flash was included in supported list(Supported NAND Devices) for ROM.
  • All,

    We never got this NAND chip to boot. We even tested it on the Spectrum Digital eval board since it has a NAND socket.

    We eventually decided to switch to the MT29F2G16ABAEAWP and haven't had any issues.

    I still do not know the reasoning as to why the MT29F2G16ABAFAWP doesn't work.
  • Hi,

    Did you solve the issue or still facing same issue.

    Are you getting device id and manufacture id from chip ?

    Did you update the nand_flash_ids[] table ?

    You will get NAND chip to boot if you did above correctly.

    Thanks,

    Sagar