How to handle multiple boot scripts within boot partition?

Sourabh Hegde Ramu hrsourabh1107 at gmail.com
Tue Mar 19 13:46:50 CET 2024


Hello,

I have a question regarding the loading of boot.scr file by u-boot. I am
working on Raspberry pi-u-boot setup and would like to store multiple boot
scripts in the boot partition. For example, what happens when I have
multiple files like boot-rpi4.scr, boot-rpi3.scr in the boot partition? How
can I specify within u-boot to load a specific boot script? Can I set the
load address for different boot scripts?

I am working on Raspbian OS and I am trying to use the conditional filters
within config.txt config.txt conditional filters
<https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/config_txt/conditional.adoc>
to
load different boot scripts & kernel files based on different hardware
models.

Please let me know if this could be possible in u-boot.

Thanks in advance.


More information about the U-Boot mailing list