My i.MX 8QXP board is configured to use sideband ECC mode. Is there a Linux driver available that supports this and can detect ECC errors? I haven't found any ECC-related registers in the Applications Processor Reference Manual (PRM).
THANKS.
Hi @qwerty1123
We have not yet released a verification module for ECC. You will need to write your own verification program. Please refer to the documentation below.
https://www.nxp.com/docs/en/application-note/AN13566.pdf
You can refer IMX8DXL RM about ECC register. imx8qxp and imx8dxl use the same DDRC IP.
B.R
@qwerty1123
ECC can be enabled and errors can be detected by the DDRC hardware, but you should not expect an existing Linux EDAC driver for i.MX 8QXP sideband ECC unless you have a BSP/private patch outside the retrieved sources. A board-specific driver would need to map the DDRC ECC registers from AN13566, handle ECC_CORRECT_INT / ECC_NCORRECT_INT , read ECCSTAT / ECCERRCNT , clear through ECCCTL , and optionally register with the Linux EDAC framework.