ls1046ardb sd card boot with ppa_init fail

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ls1046ardb sd card boot with ppa_init fail

1,498 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

1,206 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

1,206 次查看
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 项奖励
回复