Skip to content

device-raspberry-pi4: add firmware subpackage, enable bluetooth by default

knuxify requested to merge knuxify/pmaports:pi4-bluetooth into master

Marking as RFC in case there are any objections to this change.

This MR does two things:

  • Adds a firmware subpackage, which is needed for full Wi-Fi and Bluetooth support
  • Adds a line to the usercfg.txt file to enable Bluetooth by default.

Explanation of the Bluetooth change: The Raspberry Pi 4 (as well as some older Pis) share the hardware UART channel with the Bluetooth chip. On most desktop operating systems, the Bluetooth chip is brought up automatically. On Alpine, however, it isn't, and you need to use btattach or hciattach as seen on the Alpine wiki. However, there's a more recent option that allows the user to use a DT overlay to bring up the Bluetooth chip automatically.

This may be a breaking change to some users' workflows, as it means that hardware UART is inaccessible for other purposes (like serial debugging, etc.), but the general benefit is that it will be more convenient in desktop use. There will be a note about this on the wiki if this gets merged, so that users aren't left in the dark about the process.

Edited by knuxify

Merge request reports