How to disable Bluetooth of Raspberry Pi from Yocto?


Sourabh Hegde
 

Hello All,

I have a question regarding disabling bluetooth of my Raspberry Pi Compute Module 4. I know that we need to set "dtoverlay=disable-bt" in config.txt

But how to do it from Yocto? Should I include this in conf/local.conf?

While booting my serial console is stuck here:

OpenEmbedded nodistro.0 raspberrypi4-64 ttyS0

raspberrypi4-64 login: [   14.718847] Bluetooth: HCI UART driver ver 2.3
[   14.723478] Bluetooth: HCI UART protocol H4 registered
[   14.728877] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.735632] Bluetooth: HCI UART protocol Broadcom registered
[   14.985386] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.990829] Bluetooth: BNEP filters: protocol multicast
[   14.996781] Bluetooth: BNEP socket layer initialized
[   15.016364] NET: Registered protocol family 38
[   15.024632] audit: type=1334 audit(1646676238.549:6): prog-id=9 op=LOAD
[   15.031791] audit: type=1334 audit(1646676238.549:7): prog-id=10 op=LOAD
[   15.103792] Bluetooth: RFCOMM TTY layer initialized
[   15.108976] Bluetooth: RFCOMM socket layer initialized
[   15.114255] Bluetooth: RFCOMM ver 1.11

Can anyone please let me know whether disabling Bluetooth will solve this?

Your help will be much appreciated.

Thanks in advance.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.