AnsweredAssumed Answered

uboot will be crash after P2020 Enable ECC

Question asked by xiao cheng on Jun 28, 2020
Latest reply on Jun 29, 2020 by ufedor

Hello everyone,

 

I am using P2020 with 2GB of DDR3 (MT41K256M16 – 32 Meg x 16 x 8 banks)memory, uboot hangs(Crash) after enabling ECC (Address: 2000h base + 110h offset = 2110h, bit 2 = 1);

 

Whether it is enabled when the memory is initialized or after uboot is started, the situation is the same. The following is a brief uboot startup information:

 

CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: E500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0: 1000 MHz, CPU1: 1000 MHz,
CCB: 500 MHz,
DDR: 400 MHz (800 MT/s data rate) (Asynchronous), LBC: 31.250 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
I2C: ready
SPI: ready
DDR: 2 GB
FLASH: (Bank#1-128 MB) 128 MB
L2: 512 KB enabled

 

 

The following is the main memory configuration information (CCSBAR is: 0xEFE00000):
efe02000: 0000007f 00000000 00000000 00000000 ................
efe02010: 00000000 00000000 00000000 00000000 ................
efe02020: 00000000 00000000 00000000 00000000 ................
efe02030: 00000000 00000000 00000000 00000000 ................
efe02040: 00000000 00000000 00000000 00000000 ................
efe02050: 00000000 00000000 00000000 00000000 ................
efe02060: 00000000 00000000 00000000 00000000 ................
efe02070: 00000000 00000000 00000000 00000000 ................
efe02080: 80014302 00000000 00000000 00000000 ..C.............
efe02090: 00000000 00000000 00000000 00000000 ................
efe020a0: 00000000 00000000 00000000 00000000 ................
efe020b0: 00000000 00000000 00000000 00000000 ................
efe020c0: 00000000 00000000 00000000 00000000 ................
efe020d0: 00000000 00000000 00000000 00000000 ................
efe020e0: 00000000 00000000 00000000 00000000 ................
efe020f0: 00000000 00000000 00000000 00000000 ................
efe02100: 00050000 00330104 6f6b4644 0fa88ccf .....3. okFD....
efe02110: c7000000 04401000 00421422 00000000 .....@...B."....
efe02120: 00000000 0c300100 deadbeef 00000000 .....0..........
efe02130: 02000000 00000000 00000000 00000000 ................
efe02140: 00000000 00000000 00000000 00000000 ................
efe02150: 00000000 00000000 00000000 00000000 ................
efe02160: 00220001 03402400 00000000 00000000 ."...@$.........
efe02170: 89080600 8645f607 00000000 00000000 .....E..........
efe02180: 00000000 00000000 00000000 00000000 ................
efe02190: 00000000 00000000 00000000 00000000 ................
efe021a0: 00000000 00000000 00000000 00000000 ................
efe021b0: 00000000 00000000 00000000 00000000 ................
efe021c0: 00000000 00000000 00000000 00000000 ................
efe021d0: 00000000 00000000 00000000 00000000 ................
efe021e0: 00000000 00000000 00000000 00000000 ................
efe021f0: 00000000 00000000 00000000 00000000 ................
efe02200: 00000000 00000000 00000000 00000000 ................

 

efe02b00: 00000000 00000000 00000000 00000000 ................
efe02b10: 00000000 00000000 00000000 00000000 ................
efe02b20: 62008888 88000000 000c0000 00000000 b...............
efe02b30: 00000000 00000000 00000000 00000000 ................
efe02b40: 00000000 00000000 00000000 00000000 ................
efe02b50: 00000000 00000000 00000000 00000000 ................
efe02b60: 00000000 00000000 00000000 00000000 ................
efe02b70: 00000000 00000000 00000000 00000000 ................
efe02b80: 00000000 00000000 00000000 00000000 ................
efe02b90: 00000000 00000000 00000000 00000000 ................
efe02ba0: 00000000 00000000 00000000 00000000 ................
efe02bb0: 00000000 00000000 00000000 00000000 ................
efe02bc0: 00000000 00000000 00000000 00000000 ................
efe02bd0: 00000000 00000000 00000000 00000000 ................
efe02be0: 00000000 00000000 00000000 00000000 ................
efe02bf0: 00000000 00000000 00020403 00000300 ................

 

efe02e00: 00000000 00000000 00000000 00000000 ................
efe02e10: 00000000 00000000 00000000 00000000 ................
efe02e20: 00000000 00000000 00000000 00000000 ................
efe02e30: 00000000 00000000 00000000 00000000 ................
efe02e40: 00000000 00000000 0000000d 00000000 ................
efe02e50: 00000000 00000000 00010000 00000000 ................
efe02e60: 00000000 00000000 00000000 00000000 ................
efe02e70: 00000000 00000000 00000000 00000000 ................
efe02e80: 00000000 00000000 00000000 00000000 ................
efe02e90: 00000000 00000000 00000000 00000000 ................
efe02ea0: 00000000 00000000 00000000 00000000 ................
efe02eb0: 00000000 00000000 00000000 00000000 ................
efe02ec0: 00000000 00000000 00000000 00000000 ................
efe02ed0: 00000000 00000000 00000000 00000000 ................
efe02ee0: 00000000 00000000 00000000 00000000 ................
efe02ef0: 00000000 00000000 00000000 00000000 ................
efe02f00: 00000000 00000000 0000000c 00000088 ................
efe02f10: 0003ffff 9f9f9f9f 9f9f9f9f 07070707 ................
efe02f20: 07070707 02000000 00000000 49249260 ............I$.`
efe02f30: 00000000 00000000 00000000 00000000 ................

 


Attachment I uploaded the 1MB P2020 register list.

 

 

Please help analyze why enabling ECC causes uboot to hang(Crash)?

Outcomes