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

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

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

Jump to solution
2,884 Views
jayarajrajappan
Contributor II

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

QorIQ Processors

0 Kudos
1 Solution
1,852 Views
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

View solution in original post

3 Replies
1,852 Views
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 Kudos
1,853 Views
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

1,852 Views
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 Kudos