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.
Solved! Go to Solution.
Hi @DADAXIN
A1 : No need to change the dts file about ecc region.
A2: How do you enable the ecc feature? You need to run the make imx8mp_evk_inline_ecc_defconfig to compile the uboot and then compile the flash.bin file.
B.R
Hi @DADAXIN
A1 : No need to change the dts file about ecc region.
A2: How do you enable the ecc feature? You need to run the make imx8mp_evk_inline_ecc_defconfig to compile the uboot and then compile the flash.bin file.
B.R
Hi @DADAXIN
Please refer the attachment file for ECC on imx8 Series. there is no validation tool to test it, enable is enable. We have verified it , and it can works fine. And if you do need the test binary, you need to check the attachment file and write the test code by yourself.
B.R