Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Move DRM-driver firmware from base to its own set, gpufw
details: https://anonhg.NetBSD.org/src/rev/90add310cde8
branches: trunk
changeset: 1023735:90add310cde8
user: maya <maya%NetBSD.org@localhost>
date: Sat Sep 25 08:54:29 2021 +0000
description:
Move DRM-driver firmware from base to its own set, gpufw
This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.
Comments:
Switched to a single MK tunable for it - that is probably unneeded.
An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.
diffstat:
distrib/amd64/cdroms/Makefile.cdrom | 4 +-
distrib/common/bootimage/Makefile.bootimage | 8 +-
distrib/common/bootimage/Makefile.installimage | 5 +-
distrib/i386/cdroms/Makefile.cdrom | 4 +-
distrib/notes/amd64/contents | 5 +-
distrib/notes/evbarm/contents | 5 +-
distrib/notes/i386/contents | 5 +-
distrib/sets/README | 4 +-
distrib/sets/lists/base/mi | 165 +------------
distrib/sets/lists/gpufw/mi | 325 +++++++++++++++++++++++++
distrib/sets/maketars | 4 +-
distrib/sets/regpkgset | 4 +-
distrib/sets/sets.subr | 11 +-
distrib/utils/embedded/mkimage | 4 +-
etc/Makefile | 5 +-
external/nvidia-firmware/Makefile | 4 +-
share/mk/bsd.README | 10 +-
share/mk/bsd.own.mk | 18 +-
sys/dev/microcode/radeon/Makefile | 4 +-
usr.sbin/sysinst/Makefile.inc | 6 +-
usr.sbin/sysinst/arch/amd64/md.h | 4 +-
usr.sbin/sysinst/arch/evbarm/md.h | 4 +-
usr.sbin/sysinst/arch/i386/md.h | 4 +-
usr.sbin/sysinst/defs.h | 13 +-
usr.sbin/sysinst/msg.mi.de | 5 +-
usr.sbin/sysinst/msg.mi.en | 5 +-
usr.sbin/sysinst/msg.mi.es | 5 +-
usr.sbin/sysinst/msg.mi.fr | 5 +-
usr.sbin/sysinst/msg.mi.pl | 5 +-
usr.sbin/sysinst/util.c | 5 +-
30 files changed, 432 insertions(+), 223 deletions(-)
diffs (truncated from 1116 to 300 lines):
diff -r 8998c1857c91 -r 90add310cde8 distrib/amd64/cdroms/Makefile.cdrom
--- a/distrib/amd64/cdroms/Makefile.cdrom Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/amd64/cdroms/Makefile.cdrom Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.26 2021/03/07 03:55:47 dbj Exp $
+# $NetBSD: Makefile.cdrom,v 1.27 2021/09/25 08:54:29 maya Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@@ -17,7 +17,7 @@
CDINSTKERNEL= ../../instkernel
CDKERNELS= netbsd-GENERIC.gz netbsd
CDRELEASE_NOISOS= true
-CD_SETS= base etc
+CD_SETS= base etc gpufw
.if ${MKKMOD} != "no"
CD_SETS+= modules
.endif
diff -r 8998c1857c91 -r 90add310cde8 distrib/common/bootimage/Makefile.bootimage
--- a/distrib/common/bootimage/Makefile.bootimage Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/common/bootimage/Makefile.bootimage Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootimage,v 1.28 2021/07/24 13:59:28 jmcneill Exp $
+# $NetBSD: Makefile.bootimage,v 1.29 2021/09/25 08:54:29 maya Exp $
#
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
#
@@ -71,8 +71,8 @@
# (default: kern-GENERIC)
# SETS
# binary sets that should be extracted into image
-# (default: modules base etc comp games man misc rescue tests
-# text xbase xcomp xetc xfont xserver)
+# (default: modules base etc comp games gpufw man misc
+# rescue tests text xbase xcomp xetc xfont xserver)
# SETS_DIR
# directory path where binary sets are stored
# (default: ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets)
@@ -234,7 +234,7 @@
#
# definitions to create root fs
#
-SETS_DEFAULT= modules base etc comp games man misc rescue tests text
+SETS_DEFAULT= modules base etc comp games gpufw man misc rescue tests text
.if ${MKX11} != "no"
SETS_DEFAULT+= xbase xcomp xetc xfont xserver
.endif
diff -r 8998c1857c91 -r 90add310cde8 distrib/common/bootimage/Makefile.installimage
--- a/distrib/common/bootimage/Makefile.installimage Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/common/bootimage/Makefile.installimage Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.installimage,v 1.8 2020/05/28 19:20:57 jmcneill Exp $
+# $NetBSD: Makefile.installimage,v 1.9 2021/09/25 08:54:29 maya Exp $
#
# Common Makefile to create a bootable installation image for USB flash etc.
#
@@ -33,6 +33,9 @@
KERN_SET?= kern-GENERIC
SETS?= modules base etc
+.if ${MKGPUFIRMWARE:Uno} != "no"
+SETS+= gpufw
+.endif
FSTAB_IN?= ${NETBSDSRCDIR}/distrib/common/bootimage/fstab.install.in
diff -r 8998c1857c91 -r 90add310cde8 distrib/i386/cdroms/Makefile.cdrom
--- a/distrib/i386/cdroms/Makefile.cdrom Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/i386/cdroms/Makefile.cdrom Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.41 2017/02/10 16:43:59 christos Exp $
+# $NetBSD: Makefile.cdrom,v 1.42 2021/09/25 08:54:29 maya Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@
CDINSTKERNEL= ../../instkernel
CDKERNELS= netbsd-GENERIC.gz netbsd
CDRELEASE_NOISOS= true
-CD_SETS= base etc
+CD_SETS= base etc gpufw
.if ${MKKMOD} != "no"
CD_SETS+= modules
.endif
diff -r 8998c1857c91 -r 90add310cde8 distrib/notes/amd64/contents
--- a/distrib/notes/amd64/contents Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/notes/amd64/contents Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: contents,v 1.12 2020/08/07 00:43:47 snj Exp $
+.\" $NetBSD: contents,v 1.13 2021/09/25 08:54:29 maya Exp $
.\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -155,6 +155,9 @@
.It Sy games
This set includes the games and their manual pages.
.
+.It Sy gpufw
+This set includes firmware for graphical drivers.
+.
.\" Kernel set(s)
.
.It Sy kern-GENERIC
diff -r 8998c1857c91 -r 90add310cde8 distrib/notes/evbarm/contents
--- a/distrib/notes/evbarm/contents Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/notes/evbarm/contents Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: contents,v 1.14 2020/09/15 07:15:21 nia Exp $
+.\" $NetBSD: contents,v 1.15 2021/09/25 08:54:29 maya Exp $
.\"
.\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -170,6 +170,9 @@
.It Sy games
This set includes the games and their manual pages.
.
+.It Sy gpufw
+This set includes firmware for graphical drivers.
+.
.\" Kernel set(s)
.
.It Sy kern-GENERIC
diff -r 8998c1857c91 -r 90add310cde8 distrib/notes/i386/contents
--- a/distrib/notes/i386/contents Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/notes/i386/contents Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: contents,v 1.34 2020/08/07 00:43:49 snj Exp $
+.\" $NetBSD: contents,v 1.35 2021/09/25 08:54:30 maya Exp $
.\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -186,6 +186,9 @@
.It Sy games
This set includes the games and their manual pages.
.
+.It Sy gpufw
+This set includes firmware for graphical drivers.
+.
.\" MD kernel set(s) -------------------------------------------------
.
.It Sy kern-GENERIC
diff -r 8998c1857c91 -r 90add310cde8 distrib/sets/README
--- a/distrib/sets/README Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/sets/README Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: README,v 1.15 2020/05/18 21:19:34 jmcneill Exp $
+# $NetBSD: README,v 1.16 2021/09/25 08:54:30 maya Exp $
the scripts should be run from the directory where they reside.
@@ -54,6 +54,8 @@
games: the games and their man pages.
+ gpufw: heavy firmware files used by graphical drivers.
+
man: all of the man pages for the system, except those
listed elsewhere (e.g. in comp, games, misc, text).
Includes machine-dependent man pages for this CPU.
diff -r 8998c1857c91 -r 90add310cde8 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Sat Sep 25 08:23:31 2021 +0000
+++ b/distrib/sets/lists/base/mi Sat Sep 25 08:54:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1283 2021/09/17 14:09:00 kre Exp $
+# $NetBSD: mi,v 1.1284 2021/09/25 08:54:30 maya Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -267,12 +267,7 @@
./libdata/firmware/if_wpi/iwlwifi-3945.ucode base-firmware-root firmware
./libdata/firmware/nouveau base-firmware-usr
./libdata/firmware/nouveau/nvidia base-firmware-usr
-./libdata/firmware/nouveau/nvidia/LICENCE.nvidia base-firmware-usr nouveaufirmware
./libdata/firmware/nouveau/nvidia/gm206 base-firmware-usr
-./libdata/firmware/nouveau/nvidia/gm206/fecs_data.bin base-firmware-usr nouveaufirmware
-./libdata/firmware/nouveau/nvidia/gm206/fecs_inst.bin base-firmware-usr nouveaufirmware
-./libdata/firmware/nouveau/nvidia/gm206/gpccs_data.bin base-firmware-usr nouveaufirmware
-./libdata/firmware/nouveau/nvidia/gm206/gpccs_inst.bin base-firmware-usr nouveaufirmware
./libdata/firmware/nvidia base-firmware-root
./libdata/firmware/nvidia/tegra124 base-firmware-root
./libdata/firmware/nvidia/tegra124/LICENCE.nvidia base-firmware-root tegrafirmware
@@ -291,164 +286,6 @@
./libdata/firmware/qat/qat_d15xx.bin base-firmware-root firmware
./libdata/firmware/qat/qat_d15xx_mmp.bin base-firmware-root firmware
./libdata/firmware/radeon base-firmware-usr
-./libdata/firmware/radeon/ARUBA_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/ARUBA_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/ARUBA_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BARTS_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BARTS_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BARTS_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BARTS_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_mc2.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_mec.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_sdma.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_uvd.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BONAIRE_vce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/BTC_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAICOS_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAICOS_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAICOS_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAICOS_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAYMAN_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAYMAN_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAYMAN_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAYMAN_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CAYMAN_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CEDAR_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CEDAR_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CEDAR_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CEDAR_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CYPRESS_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CYPRESS_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CYPRESS_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CYPRESS_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/CYPRESS_uvd.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_mc2.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAINAN_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_mc2.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_mec.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_sdma.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/HAWAII_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/JUNIPER_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/JUNIPER_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/JUNIPER_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/JUNIPER_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_mec.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KABINI_sdma.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_mec.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/KAVERI_sdma.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_mec.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/MULLINS_sdma.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_mc2.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/OLAND_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PALM_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PALM_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_ce.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_mc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_mc2.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/PITCAIRN_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R100_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R200_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R300_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R420_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R520_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R600_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R600_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R600_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R600_uvd.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/R700_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/REDWOOD_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/REDWOOD_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/REDWOOD_rlc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/REDWOOD_smc.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RS600_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RS690_cp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RS780_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RS780_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RS780_uvd.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RV610_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RV610_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RV620_me.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RV620_pfp.bin base-firmware-usr radeonfirmware
-./libdata/firmware/radeon/RV630_me.bin base-firmware-usr radeonfirmware
Home |
Main Index |
Thread Index |
Old Index