rpi-firmware: create copy of RPI3 brcm 43430 configfile.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 31 Jul 2019 11:03:33 +0000 (11:03 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 31 Jul 2019 11:03:33 +0000 (11:03 +0000)
the AP21xx need a different config so store the rpi version as backup.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/common/armv5tel/rpi-firmware
lfs/rpi-firmware

index 6d0f5d4..62c6b3d 100644 (file)
@@ -12,6 +12,7 @@ boot/start_db.elf
 boot/start_x.elf
 lib/firmware/brcm/brcmfmac43430-sdio.bin
 lib/firmware/brcm/brcmfmac43430-sdio.txt
+lib/firmware/brcm/brcmfmac43430-sdio.RPI3.txt
 lib/firmware/brcm/brcmfmac43430a0-sdio.bin
 lib/firmware/brcm/brcmfmac43455-sdio.bin
 lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
index 482d66d..7ee3e84 100644 (file)
@@ -70,5 +70,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @cd / && tar axf $(DIR_DL)/$(DL_FILE)
+       cp -f /lib/firmware/brcm/brcmfmac43430-sdio.txt \
+             /lib/firmware/brcm/brcmfmac43430-sdio.RPI3.txt
        cp -f $(DIR_SRC)/config/rpi-firmware/config.txt /boot
        @$(POSTBUILD)