How U-boot is configured and utilized in Mender?

hello all,
I’m using raspberry Pi 4 Model B, I’m trying to understand how U-boot is actually being used, how does it configured, to load latest updated Raspberry Pi image, in mender.
Can anyone tell how does this actually being implemented in more detail?

Hi @Maverick,

it depends a bit, what do you want to know specifically? In the case of the Raspberry Pi, it is essentially this patch being applied.
If you’re more interested in the generic “magic” that happens behind the scenes for Mender to integrate with U-Boot, then the starting point might probably be this

Hope this helps, let me know if you have more, or specific questions.