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
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
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
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.