AM3352: The AM335X platform switched from NAND to SD card boot. Burning the NAND image works normally, but the system cannot boot from the NAND.

Part Number: AM3352

Hello, we replaced the NAND on our AM335X platform (now SkyHigh S34ML02G300TFI000, previously MT29F2G08ABAEAWP-IT:E). Booting from an SD card to flash the NAND works normally, but we cannot boot from the NAND itself. There is absolutely no output on the serial port. Is there a support limitation with the boot RAM?

OOB is 128 bytes

5ef12bc94d8685c32f8f702358e162cd.png

  • Hello!

    We have received your case and will take some time to look into it.

    Thank you for your patience.

  • Is there any progress at this time?

    /* NAND: driver related configs */

    #define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS

    #define CONFIG_SYS_NAND_ECCPOS { \

    2, 3, 4, 5, 6, 7, 8, 9, \

    10, 11, 12, 13, 14, 15, 16, 17, \

    18, 19, 20, 21, 22, 23, 24, 25, \

    26, 27, 28, 29, 30, 31, 32, 33, \

    34, 35, 36, 37, 38, 39, 40, 41, \

    42, 43, 44, 45, 46, 47, 48, 49, \

    50, 51, 52, 53, 54, 55, 56, 57, \

    58, 59, 60, 61, 62, 63, 64, 65, \

    66, 67, 68, 69, 70, 71, 72, 73, \

    74, 75, 76, 77, 78, 79, 80, 81, \

    82, 83, 84, 85, 86, 87, 88, 89, \

    90, 91, 92, 93, 94, 95, 96, 97, \

    98, 99,100,101,102,103,104,105 \

    }

    #define CONFIG_SYS_NAND_ECCSIZE 512

    #define CONFIG_SYS_NAND_ECCBYTES 26

    #define CONFIG_SYS_NAND_ONFI_DETECTION

    #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH16_CODE_HW

  • #define CONFIG_SYS_NAND_PAGE_SIZE 2048

    #define CONFIG_SYS_NAND_OOBSIZE 128

    #define CONFIG_SYS_NAND_BLOCK_SIZE (128*1024)

  • I will have to check more, but according to the thread you posted, I'm afraid if this was not implemented in AM62 ROM, then there is a low chance it was in AM335's ROM.