summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2014-11-10 10:30:35 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2014-11-12 15:10:53 +0200
commit6f7d4e00b70172846d856c46cae493c11bafa4c8 (patch)
tree9e579ff2995d99008b4fe56c8e97d3653f7acfec
parentc8f80d317f55f5644cace08798c6932e776f2a60 (diff)
downloadmeta-boot2qt-6f7d4e00b70172846d856c46cae493c11bafa4c8.tar.gz
nitrogen6x: include Broadcom WiFi firmware
Adding Broadcom bcm4330 firmware allows use of the same image on Nitrogen6_Lite. Change-Id: I2eebe658ea9f81f42d670a47acd7dcd2c6d0909c Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rw-r--r--conf/distro/include/nitrogen6x.conf1
-rw-r--r--meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend3
-rw-r--r--meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt80
3 files changed, 84 insertions, 0 deletions
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf
index a0b0f61..b2a56f2 100644
--- a/conf/distro/include/nitrogen6x.conf
+++ b/conf/distro/include/nitrogen6x.conf
@@ -60,6 +60,7 @@ MACHINE_EXTRA_INSTALL = "\
60 wayland \ 60 wayland \
61 weston \ 61 weston \
62 weston-examples \ 62 weston-examples \
63 bcm4330-nvram-config \
63 " 64 "
64 65
65MACHINE_EXTRA_INSTALL_SDK = " \ 66MACHINE_EXTRA_INSTALL_SDK = " \
diff --git a/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend b/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend
new file mode 100644
index 0000000..e7331d5
--- /dev/null
+++ b/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend
@@ -0,0 +1,3 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${MACHINE}:"
2
3COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|wandboard-dual|wandboard-quad)"
diff --git a/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt b/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt
new file mode 100644
index 0000000..6183cca
--- /dev/null
+++ b/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt
@@ -0,0 +1,80 @@
1#
2# Board configuration for Boundary Devices Nitrogen6-Lite
3#
4manfid=0x2d0
5prodid=0x0547
6vendid=0x14e4
7devid=0x4360
8boardtype=0x05e1
9boardrev=0x1202
10boardflags=0x0080200
11nocrc=1
12xtalfreq=37400
13boardnum=22
14ag0=254
15aa2g=1
16ccode=ALL
17pa0itssit=0x20
18pa0b0=5367
19pa0b1=-633
20pa0b2=-158
21rssismf2g=0xa
22rssismc2g=0x3
23rssisav2g=0x7
24#rssi params for 5GHz
25rssismf5g=0x4
26rssismc5g=0x3
27rssisav5g=0x7
28#PA parameters for lower a-band
29pa1lob0=4378
30pa1lob1=-596
31pa1lob2=-180
32#PA parameters for midband
33pa1b0=4672
34pa1b1=-603
35pa1b2=-172
36#PA parameters for high band
37pa1hib0=4752
38pa1hib1=-609
39pa1hib2=-173
40rxpo5g=0
41maxp2ga0=76
42maxp5ga0=0x42
43maxp5gla0=0x42
44maxp5gha0=0x42
45# 2.4G Tx Power offsets
46cck2gpo=0x4444
47ofdm2gpo=0x66666666
48mcs2gpo0=0x8888
49mcs2gpo1=0x8888
50# 5G Tx Power offsets
51ofdm5gpo=0x44444444
52ofdm5glpo=0x44444444
53ofdm5ghpo=0x44444444
54mcs5gpo0=0x6666
55mcs5gpo1=0x6666
56mcs5glpo0=0x6666
57mcs5glpo1=0x6666
58mcs5ghpo0=0x6666
59mcs5ghpo1=0x46666
60sromrev=3
61# il0macaddr=00:90:4c:c5:12:38
62wl0id=0x431b
63cckPwrOffset=4
64swctrlmap_2g=0x44844484,0x42824282,0x40804484,0x18282,0x1ff
65triso5g=0
66swctrlmap_5g=0x00100010,0x20202020,0x20202020,0x14202,0x0f0
67rfreg033=0x19
68rfreg033_cck=0x1f
69dacrate2g=160
70dacrate5g=160
71txalpfbyp2g=1
72bphyscale=17
73cckPwrIdxCorr=-15
74pacalidx2g=50
75#pacalidx5g=20
76noise_cal_ref_2g=53
77noise_cal_po_2g=0
78noise_cal_ref_5g=52
79noise_cal_po_5g=5,0,0
80