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.

MT29F8G08ABABA NAND support for AM335x ANDROID

Hello 

        I'm using MT29F8G08ABABA NAND device. IC characteristics are,

– Page size x8: 4,320 bytes (4,096 + 224 bytes)
– Block size: 128 pages (512K + 28K bytes)
– Plane size: 2 planes x 1,024 blocks per plane
– Device size: 8Gb: 2,048 blocks

My u-boot boot log is

NAND: HW ECC Hamming Code selected
nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

          What are the changes i've to do in nand_ids.c , nand_base.c etc,,. make this chip work fine. 

Thanks in advance. 

  • Hi,

    You should add something like:

    {"NAND 1GiB 3,3V Micron 8-bit", 0x38, 0, 1024, 0, LP_OPTIONS},

    to nand_ids.c.

    Before adding anything, please check if CONFIG_SYS_NAND_ONFI_DETECTION is enabled?

    Check what does the nand_flash_detect_onfi() function return?

    The "No NAND device found!!!" print shows that nand_get_flash_type() function returns an error. Check why and what the error number is, then post it here.

    Best regards,
    Miroslav

  • Hi Miroslav,

    I am using MT29F8G08ABABA flash with AM335x EVM. i have customized with our own with AM335x platform without cpld section.

    I tried to done some changes under u-boot for detecting the NAND, but it is not recognized and the below error got from log.

    U-Boot 2013.01.01 (Feb 03 2015 - 17:46:50)

    I2C:   ready

    DRAM:  512 MiB

    WARNING: Caches not enabled

    Incorrect magic number (0xffffffff) in EEPROM

    Could not get board ID #01

    NAND:  No NAND device found!!!

    0 MiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    *** Warning - readenv() failed, using default environment

    Using versions:

    SDK5 - u-Boot

    SDK5 - Linux 3.2

    Please suggest what are the changes required to modify under u-boot & kernel.

    Thanks

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Thanks