wdp Posted December 29, 2019 Share Posted December 29, 2019 (edited) Hi I have TV box as per the subject (MX170 board with no reset switch to be more specific). Wrote this image (on SD Card): Armbian_19.11.3_Aml-g12_bionic_legacy_5.3.0_desktop_20191126.img.xz Using this DTB file (updated file name in uEnv.ini): meson-gxbb-vega-s95-meta.dtb (tried all other meson-gxbb-*.dtb files without success) Able to boot and so far everything (including LAN) seems to be working, except wi-fi. The module appears to load, but wireless card does not scan networks or connect to other networks. Extract from dmesg: [ 8.343637] asoc-simple-card sound: i2s-hifi <-> meson-aiu-i2s.3.auto mapping ok [ 8.343675] asoc-simple-card sound: ASoC: no DMI vendor name! [ 8.350946] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 8.372378] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 8.452441] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4 [ 8.452714] usbcore: registered new interface driver brcmfmac [ 8.475322] Bluetooth: hci0: BCM: chip id 62 [ 8.475836] Bluetooth: hci0: BCM: features 0x0f [ 8.477601] Bluetooth: hci0: BCM4330B1 [ 8.477621] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000 [ 8.488977] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.tronsmart,vega-s95-meta.txt failed with error -2 [ 8.488985] brcmfmac mmc2:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac4330-sdio.tronsmart,vega-s95-meta.txt [ 8.794311] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4 [ 8.795811] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available [ 8.798350] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104 I have searched for 2 days for a solution, but unable to resolve this. I don't have enough experience / knowledge to know where to go from here - is it a problem with the DTB file or do I need to look at firmware for the wireless card? Any advice/suggestions would be much appreciated? Thanks. Edited December 30, 2019 by wdp Clarify my request Link to comment Share on other sites More sharing options...
jock Posted January 8, 2020 Share Posted January 8, 2020 I think you are lucky. The firmware blob is already there (you can see the version: 5.90.125.104), but you need the txt file which is also called the NVRAM. You just need to try to copy /lib/firmware/brcmfmac-ap6330-sdio.txt into /lib/firmware/brcm/brcmfmac4330-sdio.tronsmart,vega-s95-meta.txt and reload the brcmfmac module (or just reboot the machine). If that one does not work or work badly, you may try to copy /lib/firmware/brcmfmac-ap6330-sdio.bin over /lib/firmware/brcmfmac4330-sdio.bin to replace the binary blob too with a blob very specific for ap6330, which may work better and enable 802.11a frequencies too. Link to comment Share on other sites More sharing options...
Recommended Posts