[OpenWrt-Devel] [PATCHv2 6/7] ap6210-nvram: new package

Daniel Golle daniel at makrotopia.org
Thu Jul 30 05:10:03 EDT 2015


This package contains the WiFi NVRAM distributed with Bananian.
It's currently needed to use the WiFi module (BCM43362 SDIO) on the
BananaPro with the brcmfmac cfg80211 driver.

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/firmware/ap6210-nvram/Makefile             | 40 +++++++++++++++
 .../firmware/ap6210-nvram/files/nvram_ap6210.txt   | 57 ++++++++++++++++++++++
 2 files changed, 97 insertions(+)
 create mode 100644 package/firmware/ap6210-nvram/Makefile
 create mode 100644 package/firmware/ap6210-nvram/files/nvram_ap6210.txt

diff --git a/package/firmware/ap6210-nvram/Makefile b/package/firmware/ap6210-nvram/Makefile
new file mode 100644
index 0000000..dec302e
--- /dev/null
+++ b/package/firmware/ap6210-nvram/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=ap6210-nvram
+PKG_VERSION:=1.2-20130319
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/ap6210-nvram
+  SECTION:=firmware
+  CATEGORY:=Firmware
+  TITLE:=NVRAM for the Ampak AP6210 Broadcom SDIO WiFi module
+  DEPENDS:=kmod-brcmfmac
+endef
+
+define Package/ap6210-nvram/description
+ This package contains the WiFi NVRAM distributed with Bananian.
+ It's currently needed to use the WiFi module (BCM43362 SDIO) on the
+ BananaPro with the brcmfmac cfg80211 driver.
+endef
+
+define Build/Prepare
+endef
+
+define Build/Compile
+endef
+
+define Package/ap6210-nvram/install
+	$(INSTALL_DIR) $(1)/lib/firmware/brcm
+	$(INSTALL_BIN) ./files/nvram_ap6210.txt $(1)/lib/firmware/brcm/brcmfmac43362-sdio.txt
+endef
+
+$(eval $(call BuildPackage,ap6210-nvram))
diff --git a/package/firmware/ap6210-nvram/files/nvram_ap6210.txt b/package/firmware/ap6210-nvram/files/nvram_ap6210.txt
new file mode 100644
index 0000000..4aa4287
--- /dev/null
+++ b/package/firmware/ap6210-nvram/files/nvram_ap6210.txt
@@ -0,0 +1,57 @@
+#AP6210_NVRAM_V1.2_03192013
+manfid=0x2d0
+prodid=0x492
+vendid=0x14e4
+devid=0x4343
+boardtype=0x0598
+
+# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same
+#Please force the automatic RX PER data to the respective board directory if not using P307 board, for e.g. for P305 boards force the data into the following directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305
+boardrev=0x1307
+boardnum=777
+xtalfreq=26000
+boardflags=0x80201
+boardflags2=0x80
+sromrev=3
+wl0id=0x431b
+macaddr=00:90:4c:07:71:12
+aa2g=1
+ag0=2
+maxp2ga0=74
+cck2gpo=0x2222
+ofdm2gpo=0x44444444
+mcs2gpo0=0x6666
+mcs2gpo1=0x6666
+pa0maxpwr=56
+
+#P207 PA params
+#pa0b0=5447
+#pa0b1=-658
+#pa0b2=-175<div></div>
+
+#Same PA params for P304,P305, P306, P307
+
+pa0b0=5447
+pa0b1=-607
+pa0b2=-160
+pa0itssit=62
+pa1itssit=62
+
+
+cckPwrOffset=5
+ccode=0
+rssismf2g=0xa
+rssismc2g=0x3
+rssisav2g=0x7
+triso2g=0
+noise_cal_enable_2g=0
+noise_cal_po_2g=0
+swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff
+temp_add=29767
+temp_mult=425
+
+btc_flags=0x6
+btc_params0=5000
+btc_params1=1000
+btc_params6=63
+
-- 
2.4.6
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list