When attempting to select the mirror byte function for error injection. ECC_ERR_INJECT[EMB, EIEN]= 0b'11
ECC_ERR_INJECT[EMB,EIEN]=0b'11 cause a hard reset. Also, u-boot board/freescale/ls1043ardb/ddr.c enables ecc_mode popts->ecc_mode=1, but it is unclear from ddr.h if this or any other ECC register is enabled.
Doing the following does a hard reset, but should set EMB and EIEN.
root@ls1043ardb:~# devmem 0x1080E08 w 0x00030000
[ 839.465065] Unhandled fault: synchronous external abort (0x96000210) at 0xff
Then the WDT is triggered and the board resets.
The byte order appears to be correct. If I set the EMB only or the EIEN without EMB set (0x00020000 or 0x00010000), there is no hard reset. Only when I set both the EMB,EIEN (0x00030000) does it do a hard reset.
22 EMB
ECC Mirror Byte.
0b - Mirror byte functionality disabled.
1b - Mirror the most significant data path byte onto the ECC byte.
23 EIEN
Error Injection Enable.
0b - Error injection disabled.
1b - Error injection enabled. This applies to the data mask bits, the ECC mask bits, and the ECC
mirror bit. Note that error injection should not be enabled until the memory controller has been
enabled via DDR_SDRAM_CFG[MEM_EN].
https://community.arm.com/processors/b/blog/posts/arm-architecture-armv8-2-a-evolution-and-delivery
I checked the LS1043RDB and ECC is not supported on this board, so you can not test ECC related errors.
So does this mean that this board does not correct for DDR memory errors? Which board in the LS family supports error correction?
Yes, it means the LS1043RDB board doesn't correct DDR memory errors because of lack of external ECC memory.
The following NXP boards provide ECC support: LS1043A-QDS, LS1046A-RDB.
Have a great day,
Andrei
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
That is helpful, but the ls1043ardb custom board we have has all the ECC lines connected per the LS1043AQDS schematics. But the question was does the ARM processor on the LS1043 support RAS extensions? This question was not, does the ls1043ardb support ECC.
LS1043A processor does not support the ARM RAS extension/specification.
Thanks. Just needed to confirm. This can be closed.