Browse files

Correct firmware for Friendly ARM DEV kernel

Thanks @Fourdee
1 parent 3bfa63b commit 6df11c8889cac3c105bb6dea6e20310cd1a850df @igorpecovnik committed Dec 27, 2016
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,54 @@
+# 2.4 GHz, 20 MHz BW mode
+# The following parameter values are just placeholders, need to be updated.
+#PA parameters for 2.4GHz, measured at CHIP OUTPUT
+# PPR params
+# PAPD mode:
+#OOB parameters
+# muxenab: 0x1 for UART enable, 0x10 for Host awake
+# CLDO PWM voltage settings - 0x4 - 1.1 volt
@@ -1,3 +1,4 @@
nv_by_chip=1 \
43362 1 nvram_ap6210.txt
43430 0 nvram_ap6212.txt

3 comments on commit 6df11c8


Why always this firmware mess? bin/firmware-overlay/ap6212/ contains this stuff already.

Fourdee commented on 6df11c8 Dec 27, 2016 edited


Why always this firmware mess? bin/firmware-overlay/ap6212/ contains this stuff already.

  • The firmware location used by 4.9 kernel and brcm module is /lib/firmware/brcm/

Without this firmware added:

[ 7.182265] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2. 

We now have:

  • AP6212 on NanoPi Air and BPi M2+ (to be used with dhd and brcmfmac)
  • AP6210 on Cubietruck (to be used with ap6210 and brcmfmac for whatever reasons)
  • AP6211 on some Beelink X2
  • AP6181 on Banana Pro, M2, M1+ (to be used with ap6211 or brcmfmac driver) and some other Beelink X2 (there dhd and brcmfmac should be used)

Due to situation with Beelink X2 alone (3 different Wi-Fi chips on different production batches) we need a solution that checks SDIO bus and chip ID and then does what's necessary. If I understood correctly we already have such a working solution for legacy kernel (based on @jernejsk's findings/work):

So now 'all' that's missing would be to consolidate firmware and nvram files in one location and to get firmware loading based on chip id correctly? And what does happen: Quite the opposite and files that are already there added to another location with different names.

Please sign in to comment.