Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Raspberry Pi 4 device tree overlays with the Debian kernel

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Procyon
Posts: 1
Joined: 2022-10-31 11:25
Been thanked: 1 time

[Software] Raspberry Pi 4 device tree overlays with the Debian kernel

#1 Post by Procyon »

Hello everyone,

I want to use some of the device tree overlays that the official Raspberry Pi kernel offers: disable-wifi and disable-bt. These overlays are not available in the Debian or mainline linux kernel.

I tried the following, found in the Raspberry Pi Linux kernel documentation:

Code: Select all

git clone --depth=1 --branch rpi-5.10.y https://github.com/raspberrypi/linux
cd linux
KERNEL=kernel8
make bcm2711_defconfig
make -j4 dtbs
sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/overlays/
sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/overlays/
I did not copy/overwrite the Debian device trees by executing

Code: Select all

sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/
.
Then I added the lines

Code: Select all

dtoverlay=disable-wifi
dtoverlay=disable-bt
to the beginning of my /boot/firmware/config.txt and rebooted. But I still have messages about activating the bluetooth module in dmesg and ip addr still shows the wlan0 device.

How can I disable wifi and bluetooth such that the chips are not even switched on?

Sincerely, Procyon

DUFuser
Posts: 1
Joined: 2023-10-28 19:12
Has thanked: 1 time

Re: [Software] Raspberry Pi 4 device tree overlays with the Debian kernel

#2 Post by DUFuser »

This is something I've been trying to achieve as well, but it doesn't seem to work...
Any luck @Procyon ?

Highwind
Posts: 3
Joined: 2023-11-12 09:49

Re: [Software] Raspberry Pi 4 device tree overlays with the Debian kernel

#3 Post by Highwind »

Same here, trying to add overlays so that I can get hardware running (PiCAN HAT 2 in may case), see
https://salsa.debian.org/raspi-team/ima ... /issues/70
and
viewtopic.php?t=157168
and
https://forums.raspberrypi.com/viewtopi ... 4#p2158794

Post Reply