I tried building an image with buildroot that will have bluetooth. The image is configure with busybox init and not with systemd. I added bt firmware and i can see the BCM firmware on target. Bluez5 utils and tools I started the following on the target manually modprobe uart_hci /usr/libexec/bluetooth/bluetoothd & I removed the ttyAMA0 from cmdline.txt modprobe rfcomm : bluetooth TTY layer initialized
installed eudev in buildroot
But i don't see any HCI in /dev hcitool dev return empty devices. I cannot call to hciattach yet because hciattach needs an hci device.
Does someone tried to get the bluetooth with buildroot working and can share his findings please? Thank you all!
have you tried using
hciattach
- https://www.systutorials.com/docs/linux/man/8-hciattach/ to attach the UART HCI adapter to Bluez?see this question - Bluetooth on Raspberry Pi Zero W, using buildroot