# How U-boot is configured and utilized in Mender?

**URL:** <https://hub.mender.io/t/how-u-boot-is-configured-and-utilized-in-mender/5319>\
**Category:** General Discussions\
**Tags:** raspberry-pi-4, u-boot\
**Created:** [October 15, 2022, 11:47am UTC](https://hub.mender.io/t/how-u-boot-is-configured-and-utilized-in-mender/5319 "2022-10-15T11:47:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maverick](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@Maverick](https://hub.mender.io/u/Maverick)\
**Post date:** [October 15, 2022, 11:47am UTC](https://hub.mender.io/t/how-u-boot-is-configured-and-utilized-in-mender/5319/1 "2022-10-15T11:47:45Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 18, 2022, 10:04am UTC](https://hub.mender.io/t/how-u-boot-is-configured-and-utilized-in-mender/5319/2 "2022-10-18T10:04:50Z")

</div>

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](https://github.com/mendersoftware/meta-mender/blob/master/meta-mender-raspberrypi/recipes-bsp/u-boot/patches/0001-configs-rpi-enable-mender-requirements.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](https://github.com/mendersoftware/meta-mender/blob/master/meta-mender-core/recipes-bsp/u-boot/u-boot-mender.inc)

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