[Buildroot] [PATCH] board/raspberrypi: use kernel Bluetooth mode
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Jul 20 19:55:37 UTC 2021
Hello,
On Wed, 14 Jul 2021 15:51:32 +0100
John Keeping <john at metanate.com> wrote:
> The default setting with miniuart-bt requires hciattach which is a
> deprecated utility in BlueZ. Setting the krnbt parameter switches to
> the modern method of using serdev in the kernel removing the need for
> any userspace configuration to enable the Bluetooth controller.
>
> This is documented as applying to all Raspberry Pi variants so just
> enable it globally.
>
> Signed-off-by: John Keeping <john at metanate.com>
> ---
> board/raspberrypi/post-image.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Peter, Yann: I have read your reviews, and they both have good points.
However, I think John's patch keeps the state of a minimal defconfig,
it only makes it a bit easier to have operational Bluetooth. I
certainly don't mind seeing further improvements on how our RPi support
is done, but I believe John's patch was OK as-is as it improves the
situation for users, without any specific downside that I can think of.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list