Gaël PORTAY
f5ba67264c
board/raspberrypi*: remove dtparam krnbt=on
...
The config.txt of the Rasperry Pi's supporting Wi-Fi and Bluetooth (i.e.
zero W, zero 2 W, 3, and 4) switch the Bluetooth function to use the
mini-UART (ttyS0) and restore UART0 (ttyAMA0) over the GPIOs 14 and 15
(as per miniuart-bt-overlay.dts[1]). All of them turn "on" the parameter
krnbt to autoprobe the bluetooth driver.
According to the README.md, the dtparam krnbt is now defaulting to "on"
since linux-raspberrypi 6.1.y[2]; it was defaulting to "off" before[3].
This removes the dtparam=krnbt=on from these config.txt files since the
value set is actually the default value.
[1]: https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
[2]: https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/README#L294-L296
[3]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/README#L213-L215
Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com >
Signed-off-by: Arnout Vandecappelle <arnout@mind.be >
2025-02-03 15:51:55 +01:00
Gaël PORTAY
250a3544bf
board/raspberrypi: reword console comment
...
The Raspberry Pi with Bluetooth connectivity up to 4 (i.e. Zero W, Zero
2 W, 3, 4 and Compute Module 4) use the miniuart-bt overlay to restore
UART0 for the serial console (like the Raspberry Pi and Raspberry Pi 2
that have no Bluetooth); the Bluetooth uses the mini-UART instead[1][2].
This rewords the comment instead of enumerating every hardwares that can
be extended in the future.
[1]: https://www.raspberrypi.com/documentation/computers/configuration.html#uarts-and-device-tree
[2]: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L4-L6
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2024-08-08 18:43:13 +02:00
Gaël PORTAY
5be42d8da3
board/raspberrypi: fix autoprobing of bluetooth driver
...
The commit 689b9ac439 (package/rpi-firmware: rework boot/config file
handling) has split in two the property:
dtoverlay=miniuart-bt,krnbt=on
Into:
dtoverlay=miniuart-bt
dtoverlay=krnbt=on
The initial property contained the dtbo file miniuart-bt[1] and its
parameter krnbt=on[2][3].
The first syntax is correct while the second is not. The krnbt=on is not
a dtoverlay[4] but a dtparam[5]. Therefore the property dtparam must be
used instead.
This fixes:
# cat /sys/firmware/devicetree/base/chosen/user-warnings
Failed to load overlay 'krnbt=on'
[1]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
[2]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L91
[3]: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/README#L213-L215
[4]: https://www.raspberrypi.com/documentation/computers/config_txt.html#dtoverlay
[5]: https://www.raspberrypi.com/documentation/computers/config_txt.html#dtparam
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr >
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr >
2023-11-27 19:39:34 +01:00
Julien Grossholtz
19575e9e9e
board/raspberrypi: add Raspberry Pi Zero 2 W
...
The Raspberry-Pi Zero 2 W is an affordable single board computer. It is
a more powerful drop-in replacement for the Raspberry Pi Zero W.
The board incorporates an Raspberry-Pi RP3A0 system-in-package (SiP) with
a Broadcom BCM2710A1 and 512MB LPDDR2 SDRAM. The CPU is a quad-core 1Ghz
64-bit Arm Cortex-A53. As for other Raspberry-Pis it also provides
2.4GHz 802.11 b/g/n Wifi, Bluetooth 4.2 and BLE.
The BCM2710 cpu is similar to the Raspberry-Pi 3, it uses the same
kernel configuration as the Raspberry-Pi 2 and 3.
Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io >
[Based on https://patchwork.ozlabs.org/project/buildroot/patch/20211030213600.3445223-3-julien.grossholtz@openest.io/
- reformat genimage-raspberrypizero2w.cfg according to the beautify patch-set
- update kernel version to 9878a11 (5.10.78)
- use new bcm2710-rpi-zero-2-w dtb
- update commit log about kernel config (RPi2/3)
- add DEVELOPERS entries for Julien
]
Signed-off-by: Peter Seiderer <ps.report@gmx.net >
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr >
2021-11-12 23:09:58 +01:00