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.

AM5748: IDK: ECC questions

Part Number: AM5748

Hi all,

Following is my understanding regarding the ECC on AM5748, please correct me if I'm wrong:

- For the IDK variant, only half of the memory (one memory chip) is protected with ECC (because only EMIF1 supports ECC)

- If one would like to use memory supervised by the ECC, it requires somehow manually allocating memory from the ECC protected mem chip. (I'm not sure if this is feasible, assuming the OS is Linux.)

- All configurations of the ECC controller (EMIF) are done in U-boot. Linux, on the other hand, can only report, e.g., error correction count. (Though I've found a pseudo file called`/sys/bus/edac/devices/mc/mc0/power/control`, which is writtable. But I have no clue what this does. Turning off/on EMIF1?)

- In order to validate whether the ECC is working, one can tell by simply checking the existence of directory `/sys/bus/edac/devices/mc/mc0/` .

Sorry that some of the questions may not directly related to AM5748, I'm new to the ECC realm and still trying to get a deeper understanding of the AM5748 ECC controller.

Thanks!