how do i get u-boot-with-spl-pbl.bin?

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

how do i get u-boot-with-spl-pbl.bin?

跳至解决方案
3,347 次查看
jayarajrajappan
Contributor II

How do i get u-boot-with-spl-pbl.bin?

QorIQ Processors

0 项奖励
回复
1 解答
2,315 次查看
sinanakman
Senior Contributor III

Hi Jayaraj

I am not sure which SoC/board you are referring

to but as an example for LS1021xTWR board

here is how you can produce it using mainline

u-boot :

make distclean

make ls1021atwr_sdcard_defconfig

make all

with this you would have u-boot-with-spl-pbl.bin

generated and you could boot with this from SD.

Hope this helps

Sinan Akman

在原帖中查看解决方案

3 回复数
2,315 次查看
lunminliang
NXP Employee
NXP Employee

Hi,

Some supplement, this is also possible in SDK:

1. Change the config in /meta-fsl-arm/conf/machine/ls1021atwr.conf

    “ UBOOT_CONFIG ??= "sdcard"

2. $bitbake u-boot -c cleansstate

    $bitbake u-boot

Regards

Lunmin

0 项奖励
回复
2,316 次查看
sinanakman
Senior Contributor III

Hi Jayaraj

I am not sure which SoC/board you are referring

to but as an example for LS1021xTWR board

here is how you can produce it using mainline

u-boot :

make distclean

make ls1021atwr_sdcard_defconfig

make all

with this you would have u-boot-with-spl-pbl.bin

generated and you could boot with this from SD.

Hope this helps

Sinan Akman

2,315 次查看
jayarajrajappan
Contributor II

We are using LS1021A TWR board. We were able to build u-boot-with-spl-pbl.bin using the above steps and boot the card from SD. It helped us to reprogram the RCW on NOR bank 0 since we had accidentally erased it. Appreciate your help.

0 项奖励
回复