U-Boot

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Feb 16 17:37:50 CET 2026


On 2/16/26 11:31, Shakhrukh Shakirov wrote:
> Hi guys,
> 
> I need consultation regarding U-BOOT, how to realize following on Raspberry pi 5:
> We have 1 SD card which stores: U-BOOT, OS1, OS2, OS config
> So UBOOT starts OS1 with OS config.
>  From OS1 I can upgrade OS2, and change boot orders (so it will run not OS1, instead will run OS2 with OS config).
>  From OS2 I can update firmware of OS1.
> In case of failure of OS1 or OS2, it will run other OS version.
> With who can I consult and what would be the rate?
> 
> Thanks  in advance.
> 

Hello Shakrush,

The Raspberry Pi has a firmware that supports A/B booting without 
needing U-Boot, see

https://www.raspberrypi.com/documentation/computers/config_txt.html#example-update-flow-for-ab-booting

E.g. Ubuntu 26.04 uses this when updating the Linux kernel.

If you don't have any specific requirement that needs U-Boot (like 
loading the kernel via HTTP), I would go for the Raspberry firmware 
solution.

Best regards

Heinrich


More information about the U-Boot mailing list