Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/broadcom/bwfm Make Raspberry PI 3 Model A+ use bwfm...



details:   https://anonhg.NetBSD.org/src/rev/50378a1f9c76
branches:  trunk
changeset: 959353:50378a1f9c76
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Feb 09 11:57:20 2021 +0000

description:
Make Raspberry PI 3 Model A+ use bwfm config for Model B+

* It works for me.

* It's what linux-firmware does.
  https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=923bfa68a1c97929652f029da699495f4ce43f14

diffstat:

 distrib/sets/lists/base/md.evbarm |  3 ++-
 external/broadcom/bwfm/Makefile   |  7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r b9c49cd857b1 -r 50378a1f9c76 distrib/sets/lists/base/md.evbarm
--- a/distrib/sets/lists/base/md.evbarm Tue Feb 09 09:01:29 2021 +0000
+++ b/distrib/sets/lists/base/md.evbarm Tue Feb 09 11:57:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.evbarm,v 1.19 2020/08/27 15:31:59 riastradh Exp $
+# $NetBSD: md.evbarm,v 1.20 2021/02/09 11:57:20 yamt Exp $
 ./libdata/firmware/if_bwfm/brcmfmac43143-sdio.bin      base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43241b0-sdio.bin    base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43241b4-sdio.bin    base-firmware-root      firmware
@@ -19,6 +19,7 @@
 ./libdata/firmware/if_bwfm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43430a0-sdio.bin    base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.bin      base-firmware-root      firmware
+./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt   base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt   base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt        base-firmware-root      firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.xunlong,orangepi-lite2.txt       base-firmware-root      firmware
diff -r b9c49cd857b1 -r 50378a1f9c76 external/broadcom/bwfm/Makefile
--- a/external/broadcom/bwfm/Makefile   Tue Feb 09 09:01:29 2021 +0000
+++ b/external/broadcom/bwfm/Makefile   Tue Feb 09 11:57:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/03/27 04:31:18 thorpej Exp $
+# $NetBSD: Makefile,v 1.9 2021/02/09 11:57:20 yamt Exp $
 
 NOMAN= # define
 
@@ -76,6 +76,11 @@
 # used the the same nvram config as the raspberrypi,3-model-b-plus.
 LINKS+=        ${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
        ${FILESDIR}/brcmfmac43455-sdio.xunlong,orangepi-lite2.txt
+
+# The model A+ has successully used the same nvram config as the B+.
+# cf. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=923bfa68a1c97929652f029da699495f4ce43f14
+LINKS+=        ${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
+    ${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt
 .endif
 
 .include <bsd.links.mk>



Home | Main Index | Thread Index | Old Index