From eae74f8a363ab7e480d8f7e791b24243289d95e0 Mon Sep 17 00:00:00 2001 From: kevlo Date: Mon, 4 Oct 2021 01:34:29 +0000 Subject: [PATCH] Add firmwares for rsu(4), rtwn(4), and urtwn(4) drivers. ok deraadt@ --- distrib/amd64/ramdisk_cd/list | 13 ++++++++++++- distrib/arm64/ramdisk/list | 7 ++++++- distrib/armv7/ramdisk/list | 7 ++++++- distrib/i386/ramdisk_cd/list | 12 +++++++++++- distrib/macppc/ramdisk/list | 6 +++++- distrib/octeon/ramdisk/list | 8 ++++++-- distrib/riscv64/ramdisk/list | 9 ++++++++- 7 files changed, 54 insertions(+), 8 deletions(-) diff --git a/distrib/amd64/ramdisk_cd/list b/distrib/amd64/ramdisk_cd/list index 00d1cde6946..f1cd0cdcdb0 100644 --- a/distrib/amd64/ramdisk_cd/list +++ b/distrib/amd64/ramdisk_cd/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.4 2021/07/18 15:18:48 deraadt Exp $ +# $OpenBSD: list,v 1.5 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -90,6 +90,17 @@ COPY ${DESTDIR}/etc/firmware/rum-rt2573 etc/firmware/rum-rt2573 COPY ${DESTDIR}/etc/firmware/run-rt2870 etc/firmware/run-rt2870 COPY ${DESTDIR}/etc/firmware/run-rt3071 etc/firmware/run-rt3071 +COPY ${DESTDIR}/etc/firmware/rsu-rtl8712 etc/firmware/rsu-rtl8712 +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8188e etc/firmware/rtwn-rtl8188e +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8192cU etc/firmware/rtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8192cU_B etc/firmware/rtwn-rtl8192cU_B +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8723 etc/firmware/rtwn-rtl8723 +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8723_B etc/firmware/rtwn-rtl8723_B +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu + COPY ${DESTDIR}/etc/firmware/zd1211 etc/firmware/zd1211 COPY ${DESTDIR}/etc/firmware/zd1211b etc/firmware/zd1211b diff --git a/distrib/arm64/ramdisk/list b/distrib/arm64/ramdisk/list index 18857b6f2de..efc71c0f9be 100644 --- a/distrib/arm64/ramdisk/list +++ b/distrib/arm64/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.18 2021/08/29 09:10:57 deraadt Exp $ +# $OpenBSD: list,v 1.19 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -93,6 +93,11 @@ COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-ext etc/firmware/atu-rfmd2958-ext COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-int etc/firmware/atu-rfmd2958-int COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-ext etc/firmware/atu-rfmd2958smc-ext COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-int etc/firmware/atu-rfmd2958smc-int +COPY ${DESTDIR}/etc/firmware/rsu-rtl8712 etc/firmware/rsu-rtl8712 +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu MKDIR usr/mdec/rpi COPY /usr/local/share/raspberrypi-firmware/boot/bcm2710-rpi-2-b.dtb usr/mdec/rpi/bcm2710-rpi-2-b.dtb diff --git a/distrib/armv7/ramdisk/list b/distrib/armv7/ramdisk/list index 79619306b91..f66ea1a5e56 100644 --- a/distrib/armv7/ramdisk/list +++ b/distrib/armv7/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.45 2021/08/29 09:05:21 deraadt Exp $ +# $OpenBSD: list,v 1.46 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -93,6 +93,11 @@ COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-ext etc/firmware/atu-rfmd2958-ext COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-int etc/firmware/atu-rfmd2958-int COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-ext etc/firmware/atu-rfmd2958smc-ext COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-int etc/firmware/atu-rfmd2958smc-int +COPY ${DESTDIR}/etc/firmware/rsu-rtl8712 etc/firmware/rsu-rtl8712 +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu # u-boot and dtbs MKDIR usr/mdec/am335x diff --git a/distrib/i386/ramdisk_cd/list b/distrib/i386/ramdisk_cd/list index 627f05b2cb2..80b80d3725c 100644 --- a/distrib/i386/ramdisk_cd/list +++ b/distrib/i386/ramdisk_cd/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.3 2021/07/18 15:18:48 deraadt Exp $ +# $OpenBSD: list,v 1.4 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -91,6 +91,16 @@ COPY ${DESTDIR}/etc/firmware/rum-rt2573 etc/firmware/rum-rt2573 COPY ${DESTDIR}/etc/firmware/run-rt2870 etc/firmware/run-rt2870 COPY ${DESTDIR}/etc/firmware/run-rt3071 etc/firmware/run-rt3071 +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8188e etc/firmware/rtwn-rtl8188e +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8192cU etc/firmware/rtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8192cU_B etc/firmware/rtwn-rtl8192cU_B +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8723 etc/firmware/rtwn-rtl8723 +COPY ${DESTDIR}/etc/firmware/rtwn-rtl8723_B etc/firmware/rtwn-rtl8723_B +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu + COPY ${DESTDIR}/etc/firmware/zd1211 etc/firmware/zd1211 COPY ${DESTDIR}/etc/firmware/zd1211b etc/firmware/zd1211b diff --git a/distrib/macppc/ramdisk/list b/distrib/macppc/ramdisk/list index 4c3a404ac27..9913faeba75 100644 --- a/distrib/macppc/ramdisk/list +++ b/distrib/macppc/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.76 2021/08/29 09:05:21 deraadt Exp $ +# $OpenBSD: list,v 1.77 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -78,6 +78,10 @@ COPY ${DESTDIR}/etc/firmware/kue etc/firmware/kue COPY ${DESTDIR}/etc/firmware/rum-rt2573 etc/firmware/rum-rt2573 COPY ${DESTDIR}/etc/firmware/run-rt2870 etc/firmware/run-rt2870 COPY ${DESTDIR}/etc/firmware/run-rt3071 etc/firmware/run-rt3071 +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu # for fdisk(8) COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr diff --git a/distrib/octeon/ramdisk/list b/distrib/octeon/ramdisk/list index 3a4d51f904a..f50acd58245 100644 --- a/distrib/octeon/ramdisk/list +++ b/distrib/octeon/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.31 2021/08/29 09:05:21 deraadt Exp $ +# $OpenBSD: list,v 1.32 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -67,7 +67,11 @@ ARGVLINK ksh -sh SPECIAL rm bin/md5 # firmware we might need -# ...none yet untill USB works. +COPY ${DESTDIR}/etc/firmware/rsu-rtl8712 etc/firmware/rsu-rtl8712 +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu # copy the MAKEDEV script and make some devices SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV diff --git a/distrib/riscv64/ramdisk/list b/distrib/riscv64/ramdisk/list index 0e76c5a009e..23a2fb5c1f4 100644 --- a/distrib/riscv64/ramdisk/list +++ b/distrib/riscv64/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.4 2021/08/29 09:10:57 deraadt Exp $ +# $OpenBSD: list,v 1.5 2021/10/04 01:34:29 kevlo Exp $ SRCDIRS distrib/special @@ -70,6 +70,13 @@ SPECIAL awk -f ${UTILS}/trimcerts.awk ${DESTDIR}/etc/ssl/cert.pem etc/ssl/cert.p LINK instbin usr/bin/ftp-ssl usr/bin/ftp SPECIAL rm usr/bin/ftp-ssl +# firmware we might need +COPY ${DESTDIR}/etc/firmware/rsu-rtl8712 etc/firmware/rsu-rtl8712 +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8188eu etc/firmware/urtwn-rtl8188eu +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cT etc/firmware/urtwn-rtl8192cT +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192cU etc/firmware/urtwn-rtl8192cU +COPY ${DESTDIR}/etc/firmware/urtwn-rtl8192eu etc/firmware/urtwn-rtl8192eu + # copy the MAKEDEV script and make some devices SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV SPECIAL cd dev; sh MAKEDEV ramdisk -- 2.20.1