# Manual bootloader integration, patches missing

**URL:** <https://hub.mender.io/t/manual-bootloader-integration-patches-missing/6519>\
**Category:** Board Integrations\
**Tags:** u-boot\
**Created:** [January 29, 2024, 9:05am UTC](https://hub.mender.io/t/manual-bootloader-integration-patches-missing/6519 "2024-01-29T09:05:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruben](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ruben/32/565_2.png) [@ruben](https://hub.mender.io/u/ruben)\
**Post date:** [January 29, 2024, 9:05am UTC](https://hub.mender.io/t/manual-bootloader-integration-patches-missing/6519/1 "2024-01-29T09:05:26Z")

</div>

Hi @mirzak ,

I have to do bigger changes on bootloader and I am in the same situation as you described. How do you apply mender patches when doing an “local” u-boot build outside of yocto?  
My process would be

1. clone u-boot
2. apply patches mentioned in bootloader recipe
3. build outside yocto

=\> but then the mender integration is missing as far as I see.

Any suggestions?

---

<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:** [January 29, 2024, 11:06am UTC](https://hub.mender.io/t/manual-bootloader-integration-patches-missing/6519/2 "2024-01-29T11:06:10Z")

</div>

@ruben the Mender integration lives in a ´u-boot`recipe`.bbappend`in`meta-mender/meta-mender-core`. So if you skip the Yocto path completely and just pull the `u-boot` upstream plus BSP patches, then you need to manually apply those.

Greets,  
Josef
