@jock
Thanks!
rk3318-config is never detecting my WiFi card, it always ask to reconfigure and reboot again.
I found the issue with rk3318-config!
My wifi device dev path is /sys/bus/sdio/devices/mmc4:0001:1 instead of mmc1 or mmc3.
After modifying the rk3318-config script, it now detects my WiFi card and configure Bluetooth!
(maybe another lookup path should be added in rk3318-config?)
However, same issue as before, I cannot power up Bluetooth:
sudo hciconfig hci0 up
Returns "Can't init device hci0: Operation not supported (95)"
Any other directions I can explore?
Relevant logs in dmesg:
[ 9.315966] Bluetooth: hci0: BCM: chip id 62
[ 9.316820] Bluetooth: hci0: BCM: features 0x0f
[ 9.318676] Bluetooth: hci0: BCM4330B1
[ 9.318722] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
[ 9.321515] Bluetooth: hci0: BCM4330B1 'brcm/BCM4330B1.hcd' Patch
[ 9.487098] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard. Quota mode: none.
[ 9.487270] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[ 9.543657] brcmfmac: F1 signature read @0x18000000=0x16044330
[ 9.566771] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[ 9.567115] brcmfmac mmc4:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.rockchip,rk3318-box.bin failed with error -2
[ 9.569469] usbcore: registered new interface driver brcmfmac
[ 9.865889] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[ 9.866233] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 9.867427] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104
In a previous install, I created a symlink to bypass the "failed with error -2" but that didn't help with Bluetooth.
Additional information:
Hardware:
Android TV Box 10.0 4GB 32GB by "C Cosycost" available on Amazon for $40
Full dmseg in case I missing something:
armbianEnv.txt
Decompiled dtd from the original Android OS (the file was called rockchip,rk3328-box-liantong.dtb):