LPDDR4 Training failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPDDR4 Training failed

2,385 Views
sahilnayak
Contributor I

Hi Team,

We are facing issue related to LPDDR4. We had successfully done bring-up of our custom board and were able to boot the processor initially in the internal boot mode. Then when we tried to flash the u-boot in serial mode, it was repeatedly flashing u-boot only. Below are the logs:

U-Boot SPL 2019.04-lf-5.4.y_v2019.04+g228843c (Aug 10 2021 - 09:50:20 +0000)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
Training FAILED
Training FAILED
Training FAILED
Training FAILED
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
"Synchronous Abort" handler, esr 0x96000061
elr: 00000000007e58f4 lr : 00000000007eb880
x0 : 0000000000000000 x1 : 00000000000006f0
x2 : 0000000000000779 x3 : 0000000042200000
x4 : 00000000007fdfc0 x5 : 0000000000000000
x6 : 00000000007fdfd0 x7 : 0000000042200090
x8 : 0000000000000001 x9 : 0000000000000002
x10: 0000000000000002 x11: 000000000000000b
x12: 000000000000001f x13: 000000000001869f
x14: 00000000009016e0 x15: 0000000000000021
x16: 00000000007ebc5c x17: 00000000bf42d9ee
x18: 0000000000185e30 x19: 0000000042200010
x20: 0000000000000000 x21: 00000000007f4268
x22: 00000000007f6e88 x23: 0000000000000000
x24: 00000000007f6e88 x25: 00000000deadbeef
x26: 0000000000000005 x27: 0000000000000000
x28: 0000000000000000 x29: 0000000000185c60

Resetting CPU ...

resetting ...

 

After that we tried to boot in internal boot mode, and we were facing DDR training failed prints continuously and resetting the MCU. Following are the logs:


U-Boot SPL 2019.04-lf-5.4.y_v2019.04+g228843c (Nov 10 2020 - 13:15:35 +0000)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
Training FAILED
Training FAILED
Training FAILED
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
"Synchronous Abort" handler, esr 0x96000000
elr: 00000000007e5034 lr : 00000000007e5ad8
x0 : 0000000042200010 x1 : 3f99ddbcff7d8fbc
x2 : d700dfbe3600cf31 x3 : 0000000042200000
x4 : 00000000007fc308 x5 : 3f99ddbd419d8fbc
x6 : 0000000000000001 x7 : 0000000042200440
x8 : 0000000000185d28 x9 : 0000000000000002
x10: 00000000ffffffd0 x11: 0000000000000010
x12: 0000000000000006 x13: 000000000001869f
x14: 00000000303100f0 x15: 0000000000000021
x16: 00000000007eb2f0 x17: 0000000000000000
x18: 0000000000185e30 x19: 0000000000000040
x20: 0000000042200030 x21: 0000000042200030
x22: 00000000000003d0 x23: 00000000007f3f2e
x24: 00000000007f3f16 x25: 00000000deadbeef
x26: 0000000000000005 x27: 0000000000000000
x28: 00000000000000f0 x29: 0000000000185c90

Resetting CPU ...

resetting ...

 

Can you please help us out to resolve this issue??

Labels (1)
0 Kudos
5 Replies

2,283 Views
sahilnayak
Contributor I

Hi Igor,

We have new batch of boards available with us.

We are facing the same issue of TRAINING FAILED in the new boards as well when we try to flash the processor in Serial Download mode.

0 Kudos

2,340 Views
sahilnayak
Contributor I

Yes, we implemented the image changes as described in "MSCALE_DDR_Tool_User_Guide"

0 Kudos

2,367 Views
sahilnayak
Contributor I

Hi Igor,

Thanks for your response.

We have already tried with latest version of RPA tool. Still we are getting the same result.

0 Kudos

2,356 Views
igorpadykov
NXP Employee
NXP Employee

had you implemented image changes described in "MSCALE_DDR_Tool_User_Guide"

 

Best regards
igor

0 Kudos

2,381 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sahil

 

for this issue may be recommended to run ddr test (use latest RPA tool) and update image

as described in "MSCALE_DDR_Tool_User_Guide" provided on that link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110...

Also recommended to use latest Linux 5.10.35_2.0.0 :

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos