summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodor Gherzan <theodor@resin.io>2016-03-09 16:15:05 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2016-03-10 14:44:44 +0100
commit1601a3571c9798d2482f70a7da7221c8280ad3c7 (patch)
tree500a2af572d4ac77a144407a1b96b4774968cf00
parent752a9a89e54d191c8ea88865e3c4f71e4bdcb65b (diff)
downloadmeta-raspberrypi-1601a3571c9798d2482f70a7da7221c8280ad3c7.tar.gz
linux-firmware: Add brcmfmac43430 firmware
Signed-off-by: Theodor Gherzan <theodor@resin.io>
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware/LICENSE.broadcom_brcm80211205
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.binbin0 -> 368957 bytes
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.txt66
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware_git.bbappend29
4 files changed, 300 insertions, 0 deletions
diff --git a/recipes-kernel/linux-firmware/linux-firmware/LICENSE.broadcom_brcm80211 b/recipes-kernel/linux-firmware/linux-firmware/LICENSE.broadcom_brcm80211
new file mode 100644
index 0000000..e2cf868
--- /dev/null
+++ b/recipes-kernel/linux-firmware/linux-firmware/LICENSE.broadcom_brcm80211
@@ -0,0 +1,205 @@
1SOFTWARE LICENSE AGREEMENT
2
3Unless you and Broadcom Corporation (“Broadcom”) execute a separate written
4software license agreement governing use of the accompanying software, this
5software is licensed to you under the terms of this Software License Agreement
6(“Agreement”).
7
8ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES YOUR
9ACCEPTANCE OF THIS AGREEMENT.
10
111. DEFINITIONS.
12
131.1. “Broadcom Product” means any of the proprietary integrated circuit
14product(s) sold by Broadcom with which the Software was designed to be used, or
15their successors.
16
171.2. “Licensee” means you or if you are accepting on behalf of an entity
18then the entity and its affiliates exercising rights under, and complying with
19all of the terms of this Agreement.
20
211.3. “Software” shall mean that software made available by Broadcom to
22Licensee in binary code form with this Agreement.
23
242. LICENSE GRANT; OWNERSHIP
25
262.1. License Grants. Subject to the terms and conditions of this Agreement,
27Broadcom hereby grants to Licensee a non-exclusive, non-transferable,
28royalty-free license (i) to use and integrate the Software in conjunction with
29any other software; and (ii) to reproduce and distribute the Software complete,
30unmodified and as provided by Broadcom, and only for use with a Broadcom
31Product.
32
332.2. Restriction on Modification. Licensee may not make any modifications
34to the Software.
35
362.3. Restriction on Distribution. Licensee shall only distribute the
37Software under the terms of this Agreement and a copy of this Agreement
38accompanies such distribution.
39
402.4. Proprietary Notices. Licensee shall not remove, efface or obscure any
41copyright or trademark notices from the Software. Licensee shall include
42reproductions of the Broadcom copyright notice with each copy of the Software,
43except where such Software is embedded in a manner not readily accessible to
44the end user. Licensee acknowledges that any symbols, trademarks, tradenames,
45and service marks adopted by Broadcom to identify the Software belong to
46Broadcom and that Licensee shall have no rights therein.
47
482.5. Ownership. Broadcom shall retain all right, title and interest,
49including all intellectual property rights, in and to the Software. Licensee
50hereby covenants that it will not assert any claim that the Software created by
51or for Broadcom infringe any intellectual property right owned or controlled by
52Licensee; provided however, the foregoing shall not apply in case the Agreement
53is terminated.
54
552.6. No Other Rights Granted; Restrictions. Apart from the license rights
56expressly set forth in this Agreement, Broadcom does not grant and Licensee
57does not receive any ownership right, title or interest nor any security
58interest or other interest in any intellectual property rights relating to the
59Software, nor in any copy of any part of the foregoing. No license is granted
60to Licensee in any human readable code of the Software (source code). Licensee
61shall not (i) use, license, sell or otherwise distribute the Software except as
62provided in this Agreement, (ii) attempt to modify in any way, reverse
63engineer, decompile or disassemble any portion of the Software; or (iii) use
64the Software or other material in violation of any applicable law or
65regulation, including but not limited to any regulatory agency, such as FCC,
66rules.
67
683. NO WARRANTY OR SUPPORT
69
703.1. No Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS AND
71LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE,
72COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY
73DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC
74PURPOSE OR NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR
75DOCUMENTATION FOR THE SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM
76GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE OR WILL OPERATE WITHOUT
77INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR THE RESULTS THEREFROM
78INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR RELIABILITY.
79
803.2. No Support. Nothing in this agreement shall obligate Broadcom to
81provide any support for the Software. Broadcom may, but shall be under no
82obligation to, correct any defects in the Software and/or provide updates to
83licensees of the Software. Licensee shall make reasonable efforts to promptly
84report to Broadcom any defects it finds in the Software, as an aid to creating
85improved revisions of the Software.
86
873.3. Dangerous Applications. The Software is not designed, intended, or
88certified for use in components of systems intended for the operation of
89weapons, weapons systems, nuclear installations, means of mass transportation,
90aviation, life-support computers or equipment (including resuscitation
91equipment and surgical implants), pollution control, hazardous substances
92management, or for any other dangerous application in which the failure of the
93Software could create a situation where personal injury or death may occur. 
94Licensee understands that use of the Software in such applications is fully at
95the risk of Licensee.
96
974. TERM AND TERMINATION
98
994.1. Termination. This Agreement will automatically terminate if Licensee
100fails to comply with any of the terms and conditions hereof. In such event,
101Licensee must destroy all copies of the Software and all of its component
102parts.
103
1044.2. Effect Of Termination. Upon any termination of this Agreement, the
105rights and licenses granted to Licensee under this Agreement shall immediately
106terminate.
107
1084.3. Survival. The rights and obligations under this Agreement which by
109their nature should survive termination will remain in effect after expiration
110or termination of this Agreement.
111
1125. CONFIDENTIALITY
113
1145.1. Obligations. Licensee acknowledges and agrees that any documentation
115relating to the Software, and any other information (if such other information
116is identified as confidential or should be recognized as confidential under the
117circumstances) provided to Licensee by Broadcom hereunder (collectively,
118“Confidential Information”) constitute the confidential and proprietary
119information of Broadcom, and that Licensee’s protection thereof is an essential
120condition to Licensee’s use and possession of the Software. Licensee shall
121retain all Confidential Information in strict confidence and not disclose it to
122any third party or use it in any way except under a written agreement with
123terms and conditions at least as protective as the terms of this Section.
124Licensee will exercise at least the same amount of diligence in preserving the
125secrecy of the Confidential Information as it uses in preserving the secrecy of
126its own most valuable confidential information, but in no event less than
127reasonable diligence. Information shall not be considered Confidential
128Information if and to the extent that it: (i) was in the public domain at the
129time it was disclosed or has entered the public domain through no fault of
130Licensee; (ii) was known to Licensee, without restriction, at the time of
131disclosure as proven by the files of Licensee in existence at the time of
132disclosure; or (iii) becomes known to Licensee, without restriction, from a
133source other than Broadcom without breach of this Agreement by Licensee and
134otherwise not in violation of Broadcom’s rights.
135
1365.2. Return of Confidential Information. Notwithstanding the foregoing, all
137documents and other tangible objects containing or representing Broadcom
138Confidential Information and all copies thereof which are in the possession of
139Licensee shall be and remain the property of Broadcom, and shall be promptly
140returned to Broadcom upon written request by Broadcom or upon termination of
141this Agreement.
142
1436. LIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO
144EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY
145INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON
146ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING
147NEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT
148LIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE
149POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN
150CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY
151LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY
152NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.
153
1547. MISCELLANEOUS
155
1567.1. Export Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS
157SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED LAWS AND
158REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE OR
159ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS.
160WITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE
161TO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.
162
1637.2 Assignment. This Agreement shall be binding upon and inure to the
164benefit of the parties and their respective successors and assigns, provided,
165however that Licensee may not assign this Agreement or any rights or obligation
166hereunder, directly or indirectly, by operation of law or otherwise, without
167the prior written consent of Broadcom, and any such attempted assignment shall
168be void. Notwithstanding the foregoing, Licensee may assign this Agreement to
169a successor to all or substantially all of its business or assets to which this
170Agreement relates that is not a competitor of Broadcom.
171
1727.3. Governing Law; Venue. This Agreement shall be governed by the laws of
173California without regard to any conflict-of-laws rules, and the United Nations
174Convention on Contracts for the International Sale of Goods is hereby excluded.
175The sole jurisdiction and venue for actions related to the subject matter
176hereof shall be the state and federal courts located in the County of Orange,
177California, and both parties hereby consent to such jurisdiction and venue.
178
1797.4. Severability. All terms and provisions of this Agreement shall, if
180possible, be construed in a manner which makes them valid, but in the event any
181term or provision of this Agreement is found by a court of competent
182jurisdiction to be illegal or unenforceable, the validity or enforceability of
183the remainder of this Agreement shall not be affected if the illegal or
184unenforceable provision does not materially affect the intent of this
185Agreement. If the illegal or unenforceable provision materially affects the
186intent of the parties to this Agreement, this Agreement shall become
187terminated.
188
1897.5. Equitable Relief. Licensee hereby acknowledges that its breach of this
190Agreement would cause irreparable harm and significant injury to Broadcom that
191may be difficult to ascertain and that a remedy at law would be inadequate.
192Accordingly, Licensee agrees that Broadcom shall have the right to seek and
193obtain immediate injunctive relief to enforce obligations under the Agreement
194in addition to any other rights and remedies it may have.
195
1967.6. Waiver. The waiver of, or failure to enforce, any breach or default
197hereunder shall not constitute the waiver of any other or subsequent breach or
198default.
199
2007.7. Entire Agreement. This Agreement sets forth the entire Agreement
201between the parties and supersedes any and all prior proposals, agreements and
202representations between them, whether written or oral concerning the Software.
203This Agreement may be changed only by mutual agreement of the parties in
204writing.
205
diff --git a/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.bin b/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.bin
new file mode 100644
index 0000000..84ab5b0
--- /dev/null
+++ b/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.bin
Binary files differ
diff --git a/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.txt b/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.txt
new file mode 100644
index 0000000..ea4f648
--- /dev/null
+++ b/recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.txt
@@ -0,0 +1,66 @@
1# NVRAM file for BCM943430WLPTH
2# 2.4 GHz, 20 MHz BW mode
3
4# The following parameter values are just placeholders, need to be updated.
5manfid=0x2d0
6prodid=0x0727
7vendid=0x14e4
8devid=0x43e2
9boardtype=0x0727
10boardrev=0x1101
11boardnum=22
12macaddr=00:90:4c:c5:12:38
13sromrev=11
14boardflags=0x00404201
15boardflags3=0x08000000
16xtalfreq=37400
17nocrc=1
18ag0=255
19aa2g=1
20ccode=ALL
21
22pa0itssit=0x20
23extpagain2g=0
24#PA parameters for 2.4GHz, measured at CHIP OUTPUT
25pa2ga0=-168,7161,-820
26AvVmid_c0=0x0,0xc8
27cckpwroffset0=5
28
29# PPR params
30maxp2ga0=84
31txpwrbckof=6
32cckbw202gpo=0
33legofdmbw202gpo=0x66111111
34mcsbw202gpo=0x77711111
35propbw202gpo=0xdd
36
37# OFDM IIR :
38ofdmdigfilttype=18
39ofdmdigfilttypebe=18
40# PAPD mode:
41papdmode=1
42papdvalidtest=1
43pacalidx2g=42
44papdepsoffset=-22
45papdendidx=58
46
47# LTECX flags
48ltecxmux=0
49ltecxpadnum=0x0102
50ltecxfnsel=0x44
51ltecxgcigpio=0x01
52
53il0macaddr=00:90:4c:c5:12:38
54wl0id=0x431b
55
56deadman_to=0xffffffff
57# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
58muxenab=0x1
59# CLDO PWM voltage settings - 0x4 - 1.1 volt
60#cldo_pwm=0x4
61
62#VCO freq 326.4MHz
63spurconfig=0x3
64
65edonthd20l=-75
66edoffthd20ul=-80
diff --git a/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
new file mode 100644
index 0000000..f0c9fe2
--- /dev/null
+++ b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
@@ -0,0 +1,29 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3LIC_FILES_CHKSUM_append = "file://${WORKDIR}/LICENSE.broadcom_brcm80211;md5=8cba1397cda6386db37210439a0da3eb"
4
5SRC_URI_append = " \
6 file://brcmfmac43430-sdio.bin \
7 file://brcmfmac43430-sdio.txt \
8 file://LICENSE.broadcom_brcm80211 \
9 "
10
11do_install_append() {
12 cp ${WORKDIR}/brcmfmac43430-sdio.* ${D}/lib/firmware/brcm
13}
14
15PACKAGES =+ "${PN}-brcm43430"
16FILES_${PN}-brcm43430 = " \
17 /lib/firmware/brcm/brcmfmac43430-sdio.bin \
18 /lib/firmware/brcm/brcmfmac43430-sdio.txt \
19 "
20
21LICENSE_append = " & Firmware-broadcom_brcm80211"
22NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "LICENCE.broadcom_brcm80211"
23LICENSE_${PN}-brcm43430 = "LICENSE.broadcom_brcm80211"
24
25ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin"
26ALTERNATIVE_TARGET_linux-firmware-brcm43430[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac43430-sdio.bin"
27ALTERNATIVE_linux-firmware-brcm43430 = "brcmfmac-sdio.bin"
28
29RDEPENDPS_${PN}-brcm43430 += "${PN}-broadcom-license"