linux: initial version for 6.8 ecne (no udebs)
This commit is contained in:
parent
9999b7f971
commit
6a7c84ba02
342 changed files with 2220 additions and 18456 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,8 @@
|
|||
Based on https://libreplanet.org/wiki/Group:Hardware/research/gpu/radeon
|
||||
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/btc_dpm.c source/drivers/gpu/drm/radeon/btc_dpm.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/btc_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/btc_dpm.c 2023-02-13 15:50:41.218608376 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/btc_dpm.c b/drivers/gpu/drm/radeon/btc_dpm.c
|
||||
--- a/drivers/gpu/drm/radeon/btc_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/btc_dpm.c 2023-02-13 15:50:41.218608376 -0500
|
||||
@@ -2437,7 +2437,6 @@
|
||||
ret = rv770_upload_firmware(rdev);
|
||||
if (ret) {
|
||||
|
|
@ -11,9 +11,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/btc_dpm.c source/drivers/gpu/drm/rad
|
|||
}
|
||||
ret = cypress_get_table_locations(rdev);
|
||||
if (ret) {
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/ci_dpm.c source/drivers/gpu/drm/radeon/ci_dpm.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/ci_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/ci_dpm.c 2023-02-13 15:53:38.591724496 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
|
||||
--- a/drivers/gpu/drm/radeon/ci_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/ci_dpm.c 2023-02-13 15:53:38.591724496 -0500
|
||||
@@ -5157,7 +5157,6 @@
|
||||
ret = ci_upload_firmware(rdev);
|
||||
if (ret) {
|
||||
|
|
@ -22,9 +22,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/ci_dpm.c source/drivers/gpu/drm/rade
|
|||
}
|
||||
ret = ci_process_firmware_header(rdev);
|
||||
if (ret) {
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/cik.c source/drivers/gpu/drm/radeon/cik.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/cik.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ source/drivers/gpu/drm/radeon/cik.c 2023-02-13 15:47:37.149601121 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
|
||||
--- a/drivers/gpu/drm/radeon/cik.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ b/drivers/gpu/drm/radeon/cik.c 2023-02-13 15:47:37.149601121 -0500
|
||||
@@ -8285,7 +8285,6 @@
|
||||
r = ci_mc_load_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -57,9 +57,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/cik.c source/drivers/gpu/drm/radeon/
|
|||
}
|
||||
|
||||
return 0;
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/cypress_dpm.c source/drivers/gpu/drm/radeon/cypress_dpm.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/cypress_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/cypress_dpm.c 2023-02-13 15:50:25.130869935 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/cypress_dpm.c b/drivers/gpu/drm/radeon/cypress_dpm.c
|
||||
--- a/drivers/gpu/drm/radeon/cypress_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/cypress_dpm.c 2023-02-13 15:50:25.130869935 -0500
|
||||
@@ -1862,7 +1862,6 @@
|
||||
ret = rv770_upload_firmware(rdev);
|
||||
if (ret) {
|
||||
|
|
@ -68,9 +68,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/cypress_dpm.c source/drivers/gpu/drm
|
|||
}
|
||||
|
||||
ret = cypress_get_table_locations(rdev);
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/evergreen.c source/drivers/gpu/drm/radeon/evergreen.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/evergreen.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/evergreen.c 2023-02-13 15:47:50.457384749 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
|
||||
--- a/drivers/gpu/drm/radeon/evergreen.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/evergreen.c 2023-02-13 15:47:50.457384749 -0500
|
||||
@@ -5018,7 +5018,6 @@
|
||||
r = ni_mc_load_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -103,9 +103,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/evergreen.c source/drivers/gpu/drm/r
|
|||
}
|
||||
}
|
||||
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/ni.c source/drivers/gpu/drm/radeon/ni.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/ni.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/ni.c 2023-02-13 15:46:45.402442454 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
|
||||
--- a/drivers/gpu/drm/radeon/ni.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/ni.c 2023-02-13 15:46:45.402442454 -0500
|
||||
@@ -2163,7 +2163,6 @@
|
||||
r = ni_mc_load_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -138,9 +138,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/ni.c source/drivers/gpu/drm/radeon/n
|
|||
}
|
||||
|
||||
return 0;
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/r100.c source/drivers/gpu/drm/radeon/r100.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/r100.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ source/drivers/gpu/drm/radeon/r100.c 2023-02-13 15:49:15.548001277 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
|
||||
--- a/drivers/gpu/drm/radeon/r100.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ b/drivers/gpu/drm/radeon/r100.c 2023-02-13 15:49:15.548001277 -0500
|
||||
@@ -1134,7 +1134,6 @@
|
||||
r = r100_cp_init_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -149,9 +149,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/r100.c source/drivers/gpu/drm/radeon
|
|||
}
|
||||
}
|
||||
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/r600.c source/drivers/gpu/drm/radeon/r600.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/r600.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ source/drivers/gpu/drm/radeon/r600.c 2023-02-13 15:46:07.291062125 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
|
||||
--- a/drivers/gpu/drm/radeon/r600.c 2023-02-13 15:21:35.174999782 -0500
|
||||
+++ b/drivers/gpu/drm/radeon/r600.c 2023-02-13 15:46:07.291062125 -0500
|
||||
@@ -3299,7 +3299,6 @@
|
||||
r = r600_init_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -160,9 +160,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/r600.c source/drivers/gpu/drm/radeon
|
|||
}
|
||||
}
|
||||
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/rv770.c source/drivers/gpu/drm/radeon/rv770.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/rv770.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/rv770.c 2023-02-13 15:26:54.385808292 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
|
||||
--- a/drivers/gpu/drm/radeon/rv770.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/rv770.c 2023-02-13 15:26:54.385808292 -0500
|
||||
@@ -1966,7 +1966,6 @@
|
||||
r = r600_init_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -171,9 +171,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/rv770.c source/drivers/gpu/drm/radeo
|
|||
}
|
||||
}
|
||||
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/rv770_dpm.c source/drivers/gpu/drm/radeon/rv770_dpm.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/rv770_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/rv770_dpm.c 2023-02-13 15:50:13.591057564 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/rv770_dpm.c b/drivers/gpu/drm/radeon/rv770_dpm.c
|
||||
--- a/drivers/gpu/drm/radeon/rv770_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/rv770_dpm.c 2023-02-13 15:50:13.591057564 -0500
|
||||
@@ -1948,12 +1948,10 @@
|
||||
ret = rv770_upload_firmware(rdev);
|
||||
if (ret) {
|
||||
|
|
@ -187,9 +187,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/rv770_dpm.c source/drivers/gpu/drm/r
|
|||
}
|
||||
|
||||
rv770_program_response_times(rdev);
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/si.c source/drivers/gpu/drm/radeon/si.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/si.c 2023-02-13 15:21:35.178999717 -0500
|
||||
+++ source/drivers/gpu/drm/radeon/si.c 2023-02-13 15:47:00.042204445 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
|
||||
--- a/drivers/gpu/drm/radeon/si.c 2023-02-13 15:21:35.178999717 -0500
|
||||
+++ b/drivers/gpu/drm/radeon/si.c 2023-02-13 15:47:00.042204445 -0500
|
||||
@@ -6619,7 +6619,6 @@
|
||||
r = si_mc_load_microcode(rdev);
|
||||
if (r) {
|
||||
|
|
@ -214,9 +214,9 @@ diff -ru source.orig/drivers/gpu/drm/radeon/si.c source/drivers/gpu/drm/radeon/s
|
|||
}
|
||||
|
||||
return 0;
|
||||
diff -ru source.orig/drivers/gpu/drm/radeon/si_dpm.c source/drivers/gpu/drm/radeon/si_dpm.c
|
||||
--- source.orig/drivers/gpu/drm/radeon/si_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ source/drivers/gpu/drm/radeon/si_dpm.c 2023-02-13 15:53:00.844338238 -0500
|
||||
diff -ru a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
|
||||
--- a/drivers/gpu/drm/radeon/si_dpm.c 2021-10-31 16:53:10.000000000 -0400
|
||||
+++ b/drivers/gpu/drm/radeon/si_dpm.c 2023-02-13 15:53:00.844338238 -0500
|
||||
@@ -6366,7 +6366,6 @@
|
||||
ret = si_upload_firmware(rdev);
|
||||
if (ret) {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,8 @@
|
|||
diff --git a/debian/rules b/debian/rules
|
||||
index 0f238b32..d96c732e 100755
|
||||
index 661286bd..e828a0ac 100755
|
||||
--- a/debian/rules
|
||||
+++ b/debian/rules
|
||||
@@ -122,12 +122,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
|
||||
@@ -128,12 +128,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
|
||||
dh_testroot
|
||||
dh_clean
|
||||
|
||||
|
|
@ -15,47 +15,49 @@ index 0f238b32..d96c732e 100755
|
|||
rm -rf $(DEBIAN)/abi
|
||||
rm -rf $(builddir)
|
||||
rm -f $(stampdir)/stamp-*
|
||||
rm -rf $(DEBIAN)/linux-*
|
||||
rm -rf debian/linux-*/
|
||||
|
||||
+ # This gets rid of the d-i packages in control
|
||||
+ cp -f $(DEBIAN)/control.stub $(DROOT)/control
|
||||
cp $(DEBIAN)/changelog debian/changelog
|
||||
|
||||
# Install the copyright information.
|
||||
@@ -184,7 +191,6 @@
|
||||
$(DROOT)/scripts/control-create \
|
||||
$(control_files) \
|
||||
debian/canonical-revoked-certs.pem \
|
||||
- $(DROOT)/control.d/flavour-module.stub \
|
||||
$(DEBIAN)/changelog \
|
||||
$(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
|
||||
for i in $(control_files); do \
|
||||
@@ -210,7 +216,13 @@
|
||||
#removed at 6.5.0-27.28~22.04.1
|
||||
#@@ -184,7 +191,6 @@ $(DEBIAN)/control.stub: \
|
||||
# $(DROOT)/scripts/control-create \
|
||||
# $(control_files) \
|
||||
# debian/canonical-revoked-certs.pem \
|
||||
#- $(DROOT)/control.d/flavour-module.stub \
|
||||
# $(DEBIAN)/changelog \
|
||||
# $(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
|
||||
# for i in $(control_files); do \
|
||||
@@ -211,7 +217,14 @@ $(DEBIAN)/control.stub: \
|
||||
|
||||
.PHONY: debian/control
|
||||
debian/control: $(DEBIAN)/control.stub
|
||||
+ echo "# placebo control.stub for kernel-wedge flow change" >debian/control.stub
|
||||
cp $(DEBIAN)/control.stub debian/control
|
||||
+ # append udeb packages
|
||||
+ export KW_DEFCONFIG_DIR=$(DEBIAN)/d-i && \
|
||||
+ export KW_CONFIG_DIR=$(DEBIAN)/d-i && \
|
||||
+ LANG=C kernel-wedge gen-control $(release)-$(abinum) | \
|
||||
+ grep-dctrl -FArchitecture $(arch) \
|
||||
+ grep-dctrl -FArchitecture $(arch) \
|
||||
+ >>$(CURDIR)/debian/control
|
||||
|
||||
debian/canonical-certs.pem: $(wildcard $(DROOT)/certs/*-all.pem) $(wildcard $(DROOT)/certs/*-$(arch).pem) $(wildcard $(DEBIAN)/certs/*-all.pem) $(wildcard $(DEBIAN)/certs/*-$(arch).pem)
|
||||
for cert in $(sort $(notdir $^)); \
|
||||
--- a/debian/rules.d/2-binary-arch.mk 2023-02-10 11:40:38.000000000 -0600
|
||||
+++ b/debian/rules.d/2-binary-arch.mk 2023-02-10 11:57:00.107737218 -0600
|
||||
@@ -178,12 +178,14 @@
|
||||
$(pkgdir)/boot/config-$(abi_release)-$*
|
||||
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
|
||||
index b89c61c..ef1ef03 100644
|
||||
--- a/debian/rules.d/2-binary-arch.mk
|
||||
+++ b/debian/rules.d/2-binary-arch.mk
|
||||
@@ -178,10 +178,14 @@ endif
|
||||
install -m600 $(builddir)/build-$*/System.map \
|
||||
$(pkgdir)/boot/System.map-$(abi_release)-$*
|
||||
-
|
||||
|
||||
-ifeq ($(do_dtbs),true)
|
||||
- $(build_cd) $(kmake) $(build_O) $(conc_level) dtbs_install \
|
||||
- INSTALL_DTBS_PATH=$(pkgdir)/lib/firmware/$(abi_release)-$*/device-tree
|
||||
-endif
|
||||
-
|
||||
+ if [ "$(filter true,$(do_dtbs))" ]; then \
|
||||
+ $(build_cd) $(kmake) $(build_O) $(conc_level) dtbs_install \
|
||||
+ INSTALL_DTBS_PATH=$(pkgdir)/lib/firmware/$(abi_release)-$*/device-tree; \
|
||||
|
|
@ -64,6 +66,6 @@ index 0f238b32..d96c732e 100755
|
|||
+ echo "$$dtb_file ?" >> $(DEBIAN)/d-i/firmware/$(arch)/kernel-image; \
|
||||
+ done; \
|
||||
+ fi
|
||||
|
||||
ifeq ($(no_dumpfile),)
|
||||
makedumpfile -g $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* \
|
||||
-x $(builddir)/build-$*/vmlinux
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ amd64 - generic - - -
|
|||
i386 - generic - - -
|
||||
|
||||
armhf - generic - - -
|
||||
armhf - generic-lpae - - -
|
||||
#armhf - generic-lpae - - -
|
||||
|
||||
arm64 - generic - - -
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue