linux-firmware_%.bbappend: Add and package nvram settings for AP6212A
This WiFi chipset is on a Nanopi Neo Air variant. File is taken from https://github.com/BPI-SINOVOIP/BPI-files/blob/master/others/brcm/ lib/firmware/ap6212/nvram.txt Signed-off-by: Florin Sarbu <florin@resin.io>
This commit is contained in:
parent
18a43a8e6a
commit
e9dfd398af
2 changed files with 64 additions and 0 deletions
|
@ -0,0 +1,54 @@
|
|||
#AP6212_NVRAM_V1.0_20140603
|
||||
# 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
|
||||
|
|
@ -9,6 +9,7 @@ SRC_URI_append = " \
|
|||
file://brcmfmac43430a0-sdio.txt \
|
||||
file://config.txt \
|
||||
file://brcmfmac43362-sdio.txt \
|
||||
file://brcmfmac43430-sdio.txt \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
|
@ -22,6 +23,11 @@ do_install_append() {
|
|||
cp ${WORKDIR}/brcmfmac43362-sdio.txt ${D}/lib/firmware/brcm/
|
||||
}
|
||||
|
||||
do_install_append_nanopi-neo-air() {
|
||||
mkdir -p ${D}/${nonarch_base_libdir}/firmware/brcm
|
||||
install -m 0644 ${WORKDIR}/brcmfmac43430-sdio.txt ${D}${nonarch_base_libdir}/firmware/brcm
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-ap6212 ${PN}-brcm43362"
|
||||
|
||||
FILES_${PN}-ap6212 = " \
|
||||
|
@ -37,3 +43,7 @@ FILES_${PN}-brcm43362 = " \
|
|||
/lib/firmware/brcm/brcmfmac43362-sdio.bin \
|
||||
/lib/firmware/brcm/brcmfmac43362-sdio.txt \
|
||||
"
|
||||
|
||||
FILES_${PN}-bcm43430_append_nanopi-neo-air = " \
|
||||
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \
|
||||
"
|
||||
|
|
Loading…
Add table
Reference in a new issue