Give Bluetooth its factory address from the DPP partition

The WCN3990 has no burned-in Bluetooth address, so the kernel registers
the controller unconfigured and bluetoothd never sees it. The factory
address is on the machine all along: QCOM/BT.PROVISION on the DPP
partition, a three-byte header followed by the six-byte address.
c630-bt-addr reads it and hands it to btmgmt before bluetooth.service
starts. Verified on hardware: controller configures, powers, scans, and
streams A2DP.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011XgGF5wfxLDAybVnNz6eNQ
This commit is contained in:
2026-07-28 12:02:19 +03:00
parent 8041c8b5f9
commit 0a82d2c2d7
3 changed files with 69 additions and 0 deletions

View File

@@ -284,6 +284,7 @@ chroot "$ROOTFS" passwd -l root
# without tqftpserv, since the modem fetches the WLAN firmware over TFTP.
chroot "$ROOTFS" systemctl enable \
c630-growfs.service \
c630-bt-addr.service \
sshd.service \
NetworkManager.service \
systemd-resolved.service \