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.

AM572x, DDR3 ECC support in u-boot



Can somebody tell me if u-boot for the AM572x in processor SDK version 02.00.01.07 has ECC support for EMIF1? I have a custom board with ECC memory and was hoping u-boot would have something already I could enable.

  • Hi Brad,

    In u-boot, DDR/EMIF configurations are performed in arch/arm/cpu/armv7/omap5/emif.c & arch/arm/cpu/armv7/omap5/sdram.c drivers.

    I checked both SDK2.0 & SDK02.00.01.07 and ECC is not enabled.
    See output from u-boot on AM572x GP EVM:
    U-Boot# md 0x4C000110
    4c000110: 00000000 00000000 00000000 00000000 ................
    4c000120: 00000305 00ffffff 00000000 00000000 ................
    4c000130: 00000000 00000000 00000000 00000000 ................
    4c000140: 00000000 000ec1f3 5ba5e0ea 30000e77 ...........[w..0

    As you can see the EMIF_ECC_CTRL_REG on 0x4c000110 is set to 00000000 => meaning that ECC is disabled.

    Best Regards,
    Yordan