Part Number: TMDX654GPEVM
Hello,
I am having issues enabling ECC within U-boot on my AM65x_GP_EVM. I used the AM65x_DRA80xM_EMIF_Tool_2.03 to generate my k3-am654-base-board-ddr4-1600MTs.dtsi file (which I then rebuild U-boot with). I followed the instructions within spracm1.pdf to enable ECC with this tool, and the following registers were updated
#define DDRSS_V2H_CTL_REG 0x800073FF
#define DDRCTL_ECCCFG0 0x00000014
#define DDRPHY_DX4GCR0 0x40700204
#define DDRPHY_DX4GCR1 0x00007F7F
#define DDRPHY_DX4GCR2 0x00000000
#define DDRPHY_DX4GCR3 0xFFC0010B
(note this issue is very similar to https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1002828/tmdx654idkevm-enabling-ddr4-ecc, if not the same).
But, when I load U-boot onto the AM65x_GP_EVM, I get the following error:
U-Boot SPL 2021.01-gdc85eeb6 (Apr 21 2023 - 23:05:34 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
write_leveling_adjustment: ERROR: Write Leveling adjustment failed
DRAM init failed: -22
resetting ...
Not sure if there is an issue with the tool or a configuration I am missing. How can I enable ECC with U-boot on this board?