Rock 3a A2 wifi/bluetooth bodule

I’m building the rock3a with the buildroot.rockchip repo.

I’ve got the Radxa A2 wifi module plugged in.
I am installing the armbian firmware : BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256=y

How do I enable this wifi module ?
Does it have kernel modules which need to be loaded ?

thanks
Matt

Still no wifi device in ip link (nor ifconfig -a).

dmesg now prints out the following :

[    0.967165] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6256
[    0.967188] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.

[    0.967209] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gp
io.
[    0.967264] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 125, 
flags = 0.
[    0.967306] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    0.967328] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    0.967348] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    0.967916] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_
gpios = 73.
[    0.967960] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_
gpio = 138.
[    0.967988] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_g
pio = 141.
[    0.968010] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_h
ost_irq = 140.
[    0.968078] [BT_RFKILL]: Request irq for bt wakeup host
[    0.968166] [BT_RFKILL]: ** disable irq
[    0.968289] [BT_RFKILL]: bt_default device registered.
[    0.968411] Key type dns_resolver registered
...snip...
[    2.910152] cfg80211: Loading compiled-in X.509 certificates for regulatory d
atabase
[    2.923165] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.931451] platform regulatory.0: Direct firmware load for regulatory.db fai
led with error -2
[    2.933075] cfg80211: failed to load regulatory.db

ok - got it

modprobe bcmdhd.ko

The wlan0 device seems to show up now.

I also used the following buildroot firmware enable commands :

BR2_PACKAGE_ARMBIAN_FIRMWARE=y
BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256=y
1 Like