head 1.10; access; symbols netbsd-11-0-RC4:1.10 netbsd-11-0-RC3:1.10 netbsd-11-0-RC2:1.10 netbsd-11-0-RC1:1.10 perseant-exfatfs-base-20250801:1.10 netbsd-11:1.10.0.4 netbsd-11-base:1.10 netbsd-10-1-RELEASE:1.9 perseant-exfatfs-base-20240630:1.10 perseant-exfatfs:1.10.0.2 perseant-exfatfs-base:1.10 netbsd-8-3-RELEASE:1.3.4.2 netbsd-9-4-RELEASE:1.3 netbsd-10-0-RELEASE:1.9 netbsd-10-0-RC6:1.9 netbsd-10-0-RC5:1.9 netbsd-10-0-RC4:1.9 netbsd-10-0-RC3:1.9 netbsd-10-0-RC2:1.9 netbsd-10-0-RC1:1.9 netbsd-10:1.9.0.6 netbsd-10-base:1.9 netbsd-9-3-RELEASE:1.3 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.4 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.3 cjep_staticlib_x:1.9.0.2 cjep_staticlib_x-base:1.9 netbsd-9-1-RELEASE:1.3 phil-wifi-20200421:1.8 phil-wifi-20200411:1.8 is-mlppp:1.3.0.8 is-mlppp-base:1.3 phil-wifi-20200406:1.8 netbsd-8-2-RELEASE:1.3.4.2 netbsd-9-0-RELEASE:1.3 netbsd-9-0-RC2:1.3 netbsd-9-0-RC1:1.3 phil-wifi-20191119:1.3 netbsd-9:1.3.0.6 netbsd-9-base:1.3 phil-wifi-20190609:1.3 netbsd-8-1-RELEASE:1.3.4.2 netbsd-8-1-RC1:1.3.4.2 pgoyette-compat-merge-20190127:1.1.2.2 pgoyette-compat-20190127:1.3 pgoyette-compat-20190118:1.3 pgoyette-compat-1226:1.3 pgoyette-compat-1126:1.3 netbsd-8:1.3.0.4 pgoyette-compat-1020:1.3 pgoyette-compat-0930:1.3 pgoyette-compat-0906:1.3 pgoyette-compat-0728:1.3 phil-wifi:1.3.0.2 phil-wifi-base:1.3 pgoyette-compat-0625:1.3 pgoyette-compat-0521:1.2 pgoyette-compat-0502:1.1 pgoyette-compat-0422:1.1 pgoyette-compat-0415:1.1 pgoyette-compat-0407:1.1 pgoyette-compat-0330:1.1 pgoyette-compat-0322:1.1 pgoyette-compat-0315:1.1 pgoyette-compat:1.1.0.2 pgoyette-compat-base:1.1; locks; strict; comment @# @; 1.10 date 2024.01.20.08.09.13; author skrll; state Exp; branches; next 1.9; commitid fWKmNdaQHoCx7aVE; 1.9 date 2021.02.09.11.57.20; author yamt; state Exp; branches; next 1.8; commitid jtBPn4FzyumuW1HC; 1.8 date 2020.03.27.04.31.18; author thorpej; state Exp; branches; next 1.7; commitid ujbLl3hPQTx1JZ1C; 1.7 date 2020.03.22.22.36.12; author thorpej; state Exp; branches; next 1.6; commitid CKiMVh8zfrP1Tr1C; 1.6 date 2020.03.22.22.17.11; author thorpej; state Exp; branches; next 1.5; commitid ygZuJKANNujMMr1C; 1.5 date 2020.03.22.21.13.35; author thorpej; state Exp; branches; next 1.4; commitid yhf6leDd4G64rr1C; 1.4 date 2020.03.22.20.21.53; author thorpej; state Exp; branches; next 1.3; commitid 9I3KXxqhzfBN8r1C; 1.3 date 2018.05.30.20.54.08; author mrg; state Exp; branches 1.3.2.1 1.3.4.1; next 1.2; commitid ObQ7L6dxrwDDBmEA; 1.2 date 2018.05.11.07.43.42; author maya; state Exp; branches; next 1.1; commitid rPrmxaASzxNhQQBA; 1.1 date 2017.10.21.02.06.34; author jmcneill; state Exp; branches 1.1.2.1; next ; commitid zRynv8gW5UumtRbA; 1.3.2.1 date 2020.04.08.14.03.58; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.3.4.1 date 2018.05.30.20.54.08; author martin; state dead; branches; next 1.3.4.2; commitid cp8KK7rAnbqQF5YA; 1.3.4.2 date 2018.10.31.08.55.32; author martin; state Exp; branches; next ; commitid cp8KK7rAnbqQF5YA; 1.1.2.1 date 2018.05.21.04.35.51; author pgoyette; state Exp; branches; next 1.1.2.2; commitid X5L8kSrBWQcDt7DA; 1.1.2.2 date 2018.06.25.07.25.12; author pgoyette; state Exp; branches; next ; commitid 8PtAu9af7VvhiDHA; desc @@ 1.10 log @risc-v: Add bwfm(4) firmware files to release image Create the correct link for beagle,beaglev-starlight-jh7100-r0.txt NVRAM config file. @ text @# $NetBSD: Makefile,v 1.9 2021/02/09 11:57:20 yamt Exp $ NOMAN= # define .include # Only install the SDIO firmware binaries on platforms where it will # be useful. .if (${MACHINE} == "evbarm" || \ ${MACHINE} == "riscv") BWFM_WANT_SDIO_FIRMWARE= yes .endif FILESDIR= ${FIRMWAREDIR}/if_bwfm FILES= dist/LICENCE.broadcom_bcm43xx FILES+= dist/brcmfmac43143.bin FILES+= dist/brcmfmac43236b.bin FILES+= dist/brcmfmac43242a.bin FILES+= dist/brcmfmac43569.bin FILES+= dist/brcmfmac4373.bin FILES+= dist/brcmfmac4350-pcie.bin FILES+= dist/brcmfmac4350c2-pcie.bin FILES+= dist/brcmfmac4356-pcie.bin FILES+= dist/brcmfmac43570-pcie.bin FILES+= dist/brcmfmac4358-pcie.bin FILES+= dist/brcmfmac43602-pcie.ap.bin FILES+= dist/brcmfmac43602-pcie.bin FILES+= dist/brcmfmac4366b-pcie.bin FILES+= dist/brcmfmac4366c-pcie.bin FILES+= dist/brcmfmac4371-pcie.bin .if defined(BWFM_WANT_SDIO_FIRMWARE) FILES+= dist/brcmfmac43143-sdio.bin FILES+= dist/brcmfmac43241b0-sdio.bin FILES+= dist/brcmfmac43241b4-sdio.bin FILES+= dist/brcmfmac43241b5-sdio.bin FILES+= dist/brcmfmac4329-sdio.bin FILES+= dist/brcmfmac4330-sdio.bin FILES+= dist/brcmfmac4334-sdio.bin FILES+= dist/brcmfmac43340-sdio.bin FILES+= dist/brcmfmac4335-sdio.bin FILES+= dist/brcmfmac43362-sdio.bin FILES+= dist/brcmfmac4339-sdio.bin FILES+= dist/brcmfmac43430-sdio.bin FILES+= dist/brcmfmac43430a0-sdio.bin FILES+= dist/brcmfmac43455-sdio.bin FILES+= dist/brcmfmac43456-sdio.bin FILES+= dist/brcmfmac43456-sdio.clm_blob FILES+= dist/brcmfmac4354-sdio.bin FILES+= dist/brcmfmac4356-sdio.bin FILES+= dist/brcmfmac4373-sdio.bin .endif # BWFM_WANT_SDIO_FIRMWARE # Platform-specific configuration files .if ${MACHINE} == "evbarm" FILES+= dist/brcmfmac43362-sdio.cubietech,cubietruck.txt FILES+= dist/brcmfmac43362-sdio.lemaker,bananapro.txt FILES+= dist/brcmfmac43430-sdio.raspberrypi,3-model-b.txt FILES+= dist/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt FILES+= dist/brcmfmac43455-sdio.raspberrypi,4-model-b.txt FILES+= dist/brcmfmac43456-sdio.pine64,pinebook-pro.txt # The raspberrypi,model-zero-w uses the same nvram config as the # raspberrypi,3-model-b. LINKS+= ${FILESDIR}/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ ${FILESDIR}/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt # Boards that share the common AP6212 nvram config are listed here. FILES+= dist/brcmfmac43430-sdio.AP6212.txt LINKS+= ${FILESDIR}/brcmfmac43430-sdio.AP6212.txt \ ${FILESDIR}/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt # In lieu of a better option the xunlong,orangepi-lite2 has successfully # 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 # Platform-specific configuration files .if ${MACHINE} == "riscv" # Boards that share the common AP6212 nvram config are listed here. FILES+= dist/brcmfmac43430-sdio.AP6212.txt LINKS+= ${FILESDIR}/brcmfmac43430-sdio.AP6212.txt \ ${FILESDIR}/brcmfmac43430-sdio.beagle,beaglev-starlight-jh7100-r0.txt .endif .include .include @ 1.9 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/03/27 04:31:18 thorpej Exp $ d9 2 a10 1 .if ${MACHINE} == "evbarm" d87 8 @ 1.8 log @Let xunlong,orangepi-lite2 share bwfm config with raspberrypi,3-model-b-plus; it seem to work fine and there's no better alternative at the moment. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/03/22 22:36:12 thorpej Exp $ d79 5 @ 1.7 log @Install the common AP6212 nvram config and use it for sinovoip,bpi-m2-zero. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/03/22 22:17:11 thorpej Exp $ d74 5 @ 1.6 log @The raspberrypi,model-zero-w uses the same nvram config file as the raspberrypi,3-model-b. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/03/22 21:13:35 thorpej Exp $ d69 5 @ 1.5 log @Install the "bwfm" firmware for the Pinebook Pro. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2020/03/22 20:21:53 thorpej Exp $ d13 2 d64 5 d71 1 a71 2 FILESDIR= ${FIRMWAREDIR}/if_bwfm @ 1.4 log @Add new bwfm firmware binaries and config files. Only install the SDIO firmware binaries and platform-specific config files on platforms where they're relevant. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/05/30 20:54:08 mrg Exp $ d47 2 d61 1 @ 1.3 log @use FIRMWAREDIR instead of hard coded /libdata/firmware. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2018/05/11 07:43:42 maya Exp $ d5 8 d14 1 d19 2 d23 4 d28 32 @ 1.3.2.1 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ a4 10 .include # Only install the SDIO firmware binaries on platforms where it will # be useful. .if ${MACHINE} == "evbarm" BWFM_WANT_SDIO_FIRMWARE= yes .endif FILESDIR= ${FIRMWAREDIR}/if_bwfm a5 1 a9 2 FILES+= dist/brcmfmac4373.bin a11 4 FILES+= dist/brcmfmac4356-pcie.bin FILES+= dist/brcmfmac43570-pcie.bin FILES+= dist/brcmfmac4358-pcie.bin FILES+= dist/brcmfmac43602-pcie.ap.bin a12 3 FILES+= dist/brcmfmac4366b-pcie.bin FILES+= dist/brcmfmac4366c-pcie.bin FILES+= dist/brcmfmac4371-pcie.bin d14 1 a14 46 .if defined(BWFM_WANT_SDIO_FIRMWARE) FILES+= dist/brcmfmac43143-sdio.bin FILES+= dist/brcmfmac43241b0-sdio.bin FILES+= dist/brcmfmac43241b4-sdio.bin FILES+= dist/brcmfmac43241b5-sdio.bin FILES+= dist/brcmfmac4329-sdio.bin FILES+= dist/brcmfmac4330-sdio.bin FILES+= dist/brcmfmac4334-sdio.bin FILES+= dist/brcmfmac43340-sdio.bin FILES+= dist/brcmfmac4335-sdio.bin FILES+= dist/brcmfmac43362-sdio.bin FILES+= dist/brcmfmac4339-sdio.bin FILES+= dist/brcmfmac43430-sdio.bin FILES+= dist/brcmfmac43430a0-sdio.bin FILES+= dist/brcmfmac43455-sdio.bin FILES+= dist/brcmfmac43456-sdio.bin FILES+= dist/brcmfmac43456-sdio.clm_blob FILES+= dist/brcmfmac4354-sdio.bin FILES+= dist/brcmfmac4356-sdio.bin FILES+= dist/brcmfmac4373-sdio.bin .endif # BWFM_WANT_SDIO_FIRMWARE # Platform-specific configuration files .if ${MACHINE} == "evbarm" FILES+= dist/brcmfmac43362-sdio.cubietech,cubietruck.txt FILES+= dist/brcmfmac43362-sdio.lemaker,bananapro.txt FILES+= dist/brcmfmac43430-sdio.raspberrypi,3-model-b.txt FILES+= dist/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt FILES+= dist/brcmfmac43455-sdio.raspberrypi,4-model-b.txt FILES+= dist/brcmfmac43456-sdio.pine64,pinebook-pro.txt # The raspberrypi,model-zero-w uses the same nvram config as the # raspberrypi,3-model-b. LINKS+= ${FILESDIR}/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ ${FILESDIR}/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt # Boards that share the common AP6212 nvram config are listed here. FILES+= dist/brcmfmac43430-sdio.AP6212.txt LINKS+= ${FILESDIR}/brcmfmac43430-sdio.AP6212.txt \ ${FILESDIR}/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt # In lieu of a better option the xunlong,orangepi-lite2 has successfully # 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 .endif a15 1 .include @ 1.3.4.1 log @file Makefile was added on branch netbsd-8 on 2018-10-31 08:55:32 +0000 @ text @d1 16 @ 1.3.4.2 log @Add bwfm firmware files, requested by maya in ticket #1072. @ text @a0 12 # $NetBSD: Makefile,v 1.3 2018/05/30 20:54:08 mrg Exp $ NOMAN= # define FILES= dist/LICENCE.broadcom_bcm43xx dist/brcmfmac43143.bin \ dist/brcmfmac43236b.bin dist/brcmfmac43242a.bin \ dist/brcmfmac43569.bin dist/brcmfmac4350-pcie.bin \ dist/brcmfmac4350c2-pcie.bin dist/brcmfmac43602-pcie.bin FILESDIR= /libdata/firmware/if_bwfm .include @ 1.2 log @Add firmware for use with bwfm at pci. from the linux-firmware tree @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2017/10/21 02:06:34 jmcneill Exp $ d14 1 a14 1 FILESDIR= /libdata/firmware/if_bwfm @ 1.1 log @Add bwfm firmware Makefile @ text @d1 1 a1 1 # $NetBSD$ d10 3 @ 1.1.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2018/05/11 07:43:42 maya Exp $ a9 3 FILES+= dist/brcmfmac4350-pcie.bin FILES+= dist/brcmfmac4350c2-pcie.bin FILES+= dist/brcmfmac43602-pcie.bin @ 1.1.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/05/30 20:54:08 mrg Exp $ d14 1 a14 1 FILESDIR= ${FIRMWAREDIR}/if_bwfm @