NanoPi M1+ Bluetooth not working

NanoPi M1+

I enable Bluetooth using dietpi-config>advanced, but no device found in hcitool at all
When I use the FriendlyElec linux distributions bluetooth works just fine
maybe the config files don’t take the serial port into account? Or something else?
just bought 100 of these NanoPi M1+ for a project that requires bluetooth for headless setting up Wifi parameters. Once I am done, I will publish the code to this forum for headless wifi setup.
Please help, as I am buried in application code right now
Thanks everyone so much in advance!!

G_LIVE_PATCH_STATUS[0]=‘not applicable’
G_LIVE_PATCH_STATUS[1]=‘not applied’
G_LIVE_PATCH_STATUS[2]=‘not applied’### Creating a bug report/issue

Linux DietPi 5.15.89-sunxi #22.11.4 SMP Mon Jan 23 21:58:30 UTC 2023 armv7l GNU/Linux
NanoPi M1 Plus (armv7l)
Power Supply: 2.1A USB port
SD Card: PNY 32Gb

let me ping our developer @MichaIng

Sadly this SBC is not officially supported by Armbian anymore. Hence while the sunxi kernel for H3 SBCs is generally maintained, no tests or care for it regarding NanoPi M1+ are done, so that features can break at any time. Also there is no device tree overlay for enabling Bluetooth.

However, the kernel still ships a device tree for M1+. There is no rfkill block, is it?

apt install rfkill

Are there related errors among kernel logs?

dmesg -l 0,1,2,3
dmesg | grep -Ei 'bt|bluetooth'

WiFi itself however works, fine, right?

Seems as though the bluetooth is not enabled at all

WiFi does work just fine and the board is stable for a few days of testing at least. Ill be beating it up connecting it with nodejs to a Microchip processor at 230K baud for lots of data transfer and logging and displaying the data on the HDMI screen. I need bluetooth for initial SSID and password setup for the installing customer.


root@DietPi:~# rfkill
 0 wlan phy0   unblocked unblocked
root@DietPi:~# dmesg -l 0,1,2,3
[    6.521844] lima 1c40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[    7.039633] debugfs: File 'Capture' in directory 'dapm' already present!
root@DietPi:~# dmesg | grep -Ei 'bt|bluetooth'
[    1.869460] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=yes

Is there a related device tree node?

find /proc/device-tree/ -name status -exec echo -ne '\n{}: ' \; -exec cat {} \;
/proc/device-tree/sound_hdmi/status: okay
/proc/device-tree/usb2-vbus/status: disabled
/proc/device-tree/display-engine/status: okay
/proc/device-tree/usb1-vbus/status: disabled
/proc/device-tree/soc/spdif@1c21000/status: disabled
/proc/device-tree/soc/serial@1c28000/status: okay
/proc/device-tree/soc/camera@1cb0000/status: disabled
/proc/device-tree/soc/usb@1c1b000/status: okay
/proc/device-tree/soc/mmc@1c0f000/status: okay
/proc/device-tree/soc/hdmi@1ee0000/status: okay
/proc/device-tree/soc/usb@1c1d400/status: okay
/proc/device-tree/soc/usb@1c1a400/status: disabled
/proc/device-tree/soc/mmc@1c11000/status: okay
/proc/device-tree/soc/pwm@1c21400/status: disabled
/proc/device-tree/soc/i2s@1c22800/status: okay
/proc/device-tree/soc/pwm@1f03800/status: disabled
/proc/device-tree/soc/usb@1c1d000/status: okay
/proc/device-tree/soc/usb@1c1a000/status: disabled
/proc/device-tree/soc/phy@1c19400/status: okay
/proc/device-tree/soc/i2c@1c2b400/status: disabled
/proc/device-tree/soc/i2s@1c22400/status: disabled
/proc/device-tree/soc/usb@1c1c400/status: okay
/proc/device-tree/soc/spi@1c69000/status: disabled
/proc/device-tree/soc/mmc@1c10000/status: okay
/proc/device-tree/soc/codec@1c22c00/status: disabled
/proc/device-tree/soc/serial@1c28800/status: disabled
/proc/device-tree/soc/i2c@1f02400/status: disabled
/proc/device-tree/soc/i2c@1c2b000/status: disabled
/proc/device-tree/soc/i2s@1c22000/status: disabled
/proc/device-tree/soc/usb@1c1c000/status: okay
/proc/device-tree/soc/serial@1c28400/status: disabled
/proc/device-tree/soc/usb@1c19000/status: disabled
/proc/device-tree/soc/usb@1c1b400/status: okay
/proc/device-tree/soc/ethernet@1c30000/status: okay
/proc/device-tree/soc/spi@1c68000/status: disabled
/proc/device-tree/soc/i2c@1c2ac00/status: disabled
/proc/device-tree/soc/ir@1f02000/status: okay
/proc/device-tree/soc/serial@1c28c00/status: okay
/proc/device-tree/psci/status: okay
/proc/device-tree/ahci-5v/status: disabled
/proc/device-tree/chosen/framebuffer-tve/status: disabled
/proc/device-tree/chosen/framebuffer-hdmi/status: disabled
/proc/device-tree/usb0-vbus/status: disabled

Any hints or fixes? I’m desparate :frowning: