# Pi3 not booting with bluetooth disabled

**URL:** <https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721>\
**Category:** General Discussions\
**Created:** [June 8, 2021, 9:53am UTC](https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721 "2021-06-08T09:53:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aalex](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@Aalex](https://hub.mender.io/u/Aalex)\
**Post date:** [June 8, 2021, 9:54am UTC](https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721/1 "2021-06-08T09:54:00Z")

</div>

Hi,

i have a custom built Image (Pi-gen) wich is running on Kernel 5.4.83. I need to use the ttyAMA0 and therefore i have the bluetooth disabled via the config.txt:

```auto
# ttyAMA0/RS232
dtoverlay=pi3-disable-bt
#dtoverlay=pi3-minuart-bt

# I2C
dtparam=i2c_arm=on

# Enable UART
enable_uart=1

```

now when i boot uboot seems to get stuck. The only output on serial i see is:

> U-Boot 2020.01-g83cf4883ec (Mar 09 2021 - 08:11:03 +0000)
> 
> DRAM: 948 MiB  
> RPI 3 Model B (0xa22082)

When i comment the dtoverlay=pi3-disable-bt everything works fine.

I see that the Problem is known and in the Pi3 board integration Guide this [Workaround](https://github.com/agherzan/meta-raspberrypi/issues/374) is linked.

Now i cant get my head around how and where to apply this “patch”. Can someone help me to get my ttyAMA0 working ?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [June 8, 2021, 1:39pm UTC](https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721/2 "2021-06-08T13:39:57Z")

</div>

I guess you will need to generate a custom U-Boot binary with that patch applied. The current mender-convert utility uses a custom-built binary based on [this fork of U-Boot](https://github.com/mendersoftware/uboot-mender/tree/mender-rpi-2020.01). You probably need to start with that and see if you can apply the patch and build.

Drew

---

<div class="post-metadata">

**Author:** ![Aalex](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@Aalex](https://hub.mender.io/u/Aalex)\
**Post date:** [June 8, 2021, 1:59pm UTC](https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721/3 "2021-06-08T13:59:05Z")

</div>

Hey thanks for the answer.

i forked the mender uboot and aplied the patch. then I forked the mender integration file creator and modified it to use my patched uboot. Finally I forked mender convert to use my patched binaries and it seems to work so far 🙂

---

<div class="post-metadata">

**Author:** ![edpgcooper](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/edpgcooper/32/1496_2.png) [@edpgcooper](https://hub.mender.io/u/edpgcooper)\
**Post date:** [March 17, 2022, 10:34pm UTC](https://hub.mender.io/t/pi3-not-booting-with-bluetooth-disabled/3721/4 "2022-03-17T22:34:01Z")

</div>

Is this still required as I seem to be running into the same issue? Goodness knows how I fork and build u-boot!
