Hello NXP Community,
I'm currently working on enabling LPDDR4 ECC on the i.MX8MP platform, and I have some questions regarding both U-Boot and Linux kernel configurations.
Here's what I've done so far:
I used NXP's DDR Tool to generate timing and ECC-related settings.
I integrated the generated lpddr4_timing.c into U-Boot and confirmed ECC support is enabled during build.
I enabled the necessary ECC configuration options in the device tree (DTS).
However, I’m unclear about the proper method to verify ECC is working correctly, especially:
In U-Boot:
Is there a built-in command or test method to check ECC (e.g., similar to ecc command available on i.MX93)?
How can I confirm that ECC initialization and scrub happened correctly?
In Kernel:
Besides enabling ECC support in DTS, is there a test module or log I can check for ECC errors or corrections?
Do I need to enable additional kernel modules (e.g., EDAC or ramoops)?
If available, could you please share the ECC test binary file or any guidance specific to i.MX8MP for ECC validation?
Thank you in advance for your support.