commit cf43ea0adcff25855b522b124e13a8997b4246c0
parent 0e25d16cdd05f90a6811f7a90792cc8594933faa
Author: parazyd <parazyd@dyne.org>
Date: Fri, 27 Oct 2017 20:49:34 +0200
download raspberry pi firmware; it was upstreamed into linux-firmware
Diffstat:
4 files changed, 5 insertions(+), 70 deletions(-)
diff --git a/boards/raspberry-pi3.sh b/boards/raspberry-pi3.sh
@@ -38,7 +38,7 @@ extra_packages+=()
custmodules=(snd_bcm2835)
gitkernel="https://github.com/raspberrypi/linux"
-gitbranch="rpi-4.10.y"
+gitbranch="rpi-4.13.y"
rpifirmware="https://github.com/raspberrypi/firmware.git"
@@ -59,9 +59,11 @@ postbuild() {
copy-root-overlay
- notice "installing raspberry pi 3 firmware for bt/wifi"
+ notice "downloading raspberry pi 3 firmware for bt/wifi"
sudo mkdir -p $strapdir/lib/firmware/brcm
- sudo cp $R/extra/raspberry-fw/brcmfmac43430-sdio.{bin,txt} $strapdir/lib/firmware/brcm/
+ # https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/brcm
+ sudo wget -q -O "$strapdir/lib/firmware/brcm/brcmfmac43430-sdio.bin" \
+ https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/brcm/brcmfmac43430-sdio.bin
postbuild-clean
}
diff --git a/extra/raspberry-fw/README b/extra/raspberry-fw/README
@@ -1 +0,0 @@
-This is the required firmware for Raspberry Pi 3's onboard Bluetooth and WiFi.
diff --git a/extra/raspberry-fw/brcmfmac43430-sdio.bin b/extra/raspberry-fw/brcmfmac43430-sdio.bin
Binary files differ.
diff --git a/extra/raspberry-fw/brcmfmac43430-sdio.txt b/extra/raspberry-fw/brcmfmac43430-sdio.txt
@@ -1,66 +0,0 @@
-# NVRAM file for BCM943430WLPTH
-# 2.4 GHz, 20 MHz BW mode
-
-# The following parameter values are just placeholders, need to be updated.
-manfid=0x2d0
-prodid=0x0727
-vendid=0x14e4
-devid=0x43e2
-boardtype=0x0727
-boardrev=0x1101
-boardnum=22
-macaddr=00:90:4c:c5:12:38
-sromrev=11
-boardflags=0x00404201
-boardflags3=0x08000000
-xtalfreq=37400
-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=84
-txpwrbckof=6
-cckbw202gpo=0
-legofdmbw202gpo=0x66111111
-mcsbw202gpo=0x77711111
-propbw202gpo=0xdd
-
-# OFDM IIR :
-ofdmdigfilttype=18
-ofdmdigfilttypebe=18
-# PAPD mode:
-papdmode=1
-papdvalidtest=1
-pacalidx2g=42
-papdepsoffset=-22
-papdendidx=58
-
-# LTECX flags
-ltecxmux=0
-ltecxpadnum=0x0102
-ltecxfnsel=0x44
-ltecxgcigpio=0x01
-
-il0macaddr=00:90:4c:c5:12:38
-wl0id=0x431b
-
-deadman_to=0xffffffff
-# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
-muxenab=0x1
-# CLDO PWM voltage settings - 0x4 - 1.1 volt
-#cldo_pwm=0x4
-
-#VCO freq 326.4MHz
-spurconfig=0x3
-
-edonthd20l=-75
-edoffthd20ul=-80