# Problem with U-Boot patching - dunfell

**URL:** <https://hub.mender.io/t/problem-with-u-boot-patching-dunfell/2904>\
**Category:** General Discussions\
**Tags:** yocto, u-boot, dunfell\
**Created:** [November 30, 2020, 8:56am UTC](https://hub.mender.io/t/problem-with-u-boot-patching-dunfell/2904 "2020-11-30T08:56:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmbedded](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@rmbedded](https://hub.mender.io/u/rmbedded)\
**Post date:** [November 30, 2020, 8:56am UTC](https://hub.mender.io/t/problem-with-u-boot-patching-dunfell/2904/1 "2020-11-30T08:56:05Z")

</div>

Hello,  
I have encountered a problem during image build for Raspberry Pi 3 with using Mender meta layer in revision dunfell-v2020.10. The error output is following:

ERROR: u-boot-1\_2020.01-r0 do\_patch: Command Error: ‘quilt --quiltrc /home/user//build-mini/tmp/raspberrypi/raspberrypi3-glibc/work/raspberrypi3-oe-linux-gnueabi/u-boot/1\_2020.01-r0/recipe-sysroot-native/etc/quiltrc push’ exited with 0 Output:  
Applying patch 0001-configs-rpi-enable-mender-requirements.patch  
patching file configs/rpi\_0\_w\_defconfig  
patching file configs/rpi\_2\_defconfig  
patching file configs/rpi\_3\_32b\_defconfig  
Hunk #2 FAILED at 44.  
1 out of 2 hunks FAILED – rejects in file configs/rpi\_3\_32b\_defconfig  
patching file configs/rpi\_3\_b\_plus\_defconfig  
patching file configs/rpi\_3\_defconfig  
patching file configs/rpi\_4\_32b\_defconfig  
patching file configs/rpi\_4\_defconfig  
patching file configs/rpi\_arm64\_defconfig  
patching file configs/rpi\_defconfig  
patching file env/Kconfig  
patching file include/configs/rpi.h  
Patch 0001-configs-rpi-enable-mender-requirements.patch does not apply (enforce with -f)

I found similar issue : [Raspberry Pi 3 build fails on warrior](https://hub.mender.io/t/raspberry-pi-3-build-fails-on-warrior/1140), but it looks like the problem still remaining for the dunfell branch.

Does anyone was facing with that issue?

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [November 30, 2020, 4:25pm UTC](https://hub.mender.io/t/problem-with-u-boot-patching-dunfell/2904/2 "2020-11-30T16:25:45Z")

</div>

I am not able to reproduce this. Do you have any additional layers in your environment that might modify the `rpi_3_32b_defconfig` file in U-Boot ?

---

<div class="post-metadata">

**Author:** ![rmbedded](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@rmbedded](https://hub.mender.io/u/rmbedded)\
**Post date:** [December 11, 2020, 9:11am UTC](https://hub.mender.io/t/problem-with-u-boot-patching-dunfell/2904/3 "2020-12-11T09:11:59Z")

</div>

Sorry for late response. You’re right - I omitted one layer in my buildchain that was modifying U-Boot stuff also.

Thanks for hint.
