Le 17/06/2020 à 16:23, Alexandre GRIVEAUX a écrit : > Le 17/06/2020 à 05:26, Paul Wise a écrit : >> On Wed, Jun 17, 2020 at 3:02 AM Paul Wise wrote: >> >>> I note that firmware-brcm80211 also doesn't contain any of the .txt >>> files that are in the brcm/ directory in the firmware-nonfree source >>> package. >> I looked a bit closer at this and it seems that the .txt files are >> device specific, since they contain MAC addresses. So the files should >> not be shipped in linux-firmware and should not be included in the >> firmware-nonfree source package nor the firmware-brcm80211 binary >> package. The correct solution seems to be to get it from FriendlyARM >> and install it into /lib/firmware/brcm/ yourself. >> >> https://bugs.debian.org/844056 >> https://bugs.debian.org/908724 >> > Hello, > > > Thanks to pointing me the cases, I will try. > > > Thanks. > Hello,
I've tried with a copy of nvram_ap6212.txt (came from board "official" rom) to /lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt The result come from: dmesg |grep brcm [ 7.555069] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 7.555351] usbcore: registered new interface driver brcmfmac [ 7.573917] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43430-sdio.bin [ 7.574067] brcmfmac mmc1:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt (-2) [ 7.594479] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt failed with error -2 [ 7.610400] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43430-sdio.txt [ 8.672924] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50 [ 9.692364] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50 To: dmesg |grep brcm [ 7.533827] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 7.534091] usbcore: registered new interface driver brcmfmac [ 7.545619] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43430-sdio.bin [ 7.546635] brcmfmac mmc1:0001:1: firmware: direct-loading firmware brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt [ 7.684087] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 7.684235] brcmfmac mmc1:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.clm_blob (-2) [ 7.708373] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 7.709215] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f And now I have wifi working ! Now the last missing thing is using eMMC to boot instead of having boottloarder and /boot on sdcard. thanks.
#AP6212_NVRAM_V1.0.1_20160606 # 2.4 GHz, 20 MHz BW mode # The following parameter values are just placeholders, need to be updated. manfid=0x2d0 prodid=0x0726 vendid=0x14e4 devid=0x43e2 boardtype=0x0726 boardrev=0x1101 boardnum=22 macaddr=00:90:4c:c5:12:38 sromrev=11 boardflags=0x00404201 xtalfreq=26000 nocrc=1 ag0=255 aa2g=1 ccode=ALL pa0itssit=0x20 extpagain2g=0 #PA parameters for 2.4GHz, measured at CHIP OUTPUT pa2ga0=-168,7161,-820 AvVmid_c0=0x0,0xc8 cckpwroffset0=5 # PPR params maxp2ga0=90 txpwrbckof=6 cckbw202gpo=0x5555 legofdmbw202gpo=0x77777777 mcsbw202gpo=0xaaaaaaaa # OFDM IIR : ofdmdigfilttype=7 # PAPD mode: papdmode=2 il0macaddr=00:90:4c:c5:12:38 wl0id=0x431b #OOB parameters hostwake=0x40 hostrdy=0x41 usbrdy=0x03 usbrdydelay=100 deadman_to=0xffffffff # muxenab: 0x1 for UART enable, 0x10 for Host awake muxenab=0x10 # CLDO PWM voltage settings - 0x4 - 1.1 volt #cldo_pwm=0x4 glitch_based_crsmin=1

