LS1046A - Boot until "Welcome to LS1046 BL31 Phase" then the board hangs

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

LS1046A - Boot until "Welcome to LS1046 BL31 Phase" then the board hangs

Jump to solution
2,908 Views
maxime_guillot
Contributor III

Hello,

I am trying to bring up a custom board with the LS1046A.

The boot source is set to the SD Card.

The boot process is starting until "Welcome to LS1046 BL31 Phase" then the board hangs.

maxime_guillot_0-1601368767686.png

 

What could be the possible root cause for this behaviour?

0 Kudos
1 Solution
2,779 Views
maxime_guillot
Contributor III

Hello,

So, I finally found where was the error without help of NXP.

To boot on LS1046 with different DDR4:

- RCW => modify following your HW

- TFA => - DDR_INIT to modify with your HW

               - PLATFORM_DEF to modify with your HW

- UBOOT => -DDR.C to modify with your HW

and:

     - Modify LS1046.c to disable (delete) PMIC related configuration AND I2C PCA configuration!!!!!

Then it can boot!

View solution in original post

7 Replies
2,780 Views
maxime_guillot
Contributor III

Hello,

So, I finally found where was the error without help of NXP.

To boot on LS1046 with different DDR4:

- RCW => modify following your HW

- TFA => - DDR_INIT to modify with your HW

               - PLATFORM_DEF to modify with your HW

- UBOOT => -DDR.C to modify with your HW

and:

     - Modify LS1046.c to disable (delete) PMIC related configuration AND I2C PCA configuration!!!!!

Then it can boot!

2,607 Views
suezure
Contributor II

Hello,

My custom LS1088A board hangs in "Welcome to LS1088 BL31 Phase" just like yours.

Actually I used 5 DDRs soldered on board(1 as ECC) and I tried initiate DDR with MOCK DIMM way in ddr_init.c file. Which way did you boot up board?

0 Kudos
2,824 Views
maxime_guillot
Contributor III

Hello ufedor,

Our DDR4 design is fully validated by Code Warrior DDR tool.

Our DDR4 design passed the stress test.

But still not able to load U-Boot image. What other thing can be wrong?

Thank you

0 Kudos
2,899 Views
maxime_guillot
Contributor III

With Debug level to Infos:

maxime_guillot_0-1601384271862.png

 

0 Kudos
2,872 Views
ufedor
NXP Employee
NXP Employee

Just a note - it is reasonable to provide logs as text files (not pictures).

From the log it is possible to assume that DR SDRAM is not operational.

Have you used CodeWarrior QCVS DDR Tool to check/optimize the DDR controller settings?

0 Kudos
2,869 Views
maxime_guillot
Contributor III

Hello,

I don't use QCVS DDR Tool.

If DR SDRAM is not operational, it won't go through BL2 and BL31, right?

Thanks

0 Kudos
2,856 Views
ufedor
NXP Employee
NXP Employee

Address 0x82000000 corresponds to the default load address of U-Boot image in the SDRAM.

Please use CodeWarrior to test the SDRAM functionality.

0 Kudos