ls1046ardb sd card boot with ppa_init fail

cancel
Showing results for 
Search instead for 
Did you mean: 

ls1046ardb sd card boot with ppa_init fail

460 Views
andreyrafalsky
Contributor III

Hi,

I have had issue with ls1046ardb booting from sd card. If I try to boot from sd card I will get ppa_init fail (ppa_init: frdt_check_header() failed) from u-boot. Preset qspi firmware works without errors.

I create my image with yocto.

Please advise me, how can I fix it?

Best regards,

Andrey

Labels (1)
0 Kudos
2 Replies

168 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Andrey Rafalsky,

Did you use NXP formal released LSDK?

In your build environment, please check whether CONFIG_SPL_FSL_LS_PPA has been enabled. If yes, please disable this option to disable PPA loading during SPL stage for SD boot.

PPA currently uses OCRAM for it's own purpose. By enabling the above option, PPA gets loaded in spl phase where uboot is itself running out of OCRAM.

In addition, please refer tot the following to deploy PPA firmware to SD.

=> tftp a0000000  ppa.ib
=> mmc write a0000000 2000 61


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

168 Views
andreyrafalsky
Contributor III

Hi Yiping Wang,

Thank for your reply.

I solved this issue. It was necessary to add the ppa.itb file with an offset (8192 bloks, bs=512) to the sd card.

Best regards,

Andrey

0 Kudos