Refactor for broader card support and multi PLM writes

This commit is contained in:
Zagitta committed 2026-10-23 22:02:58 +02:00
1 parent c274e74981
commit fc83321585
45 files changed
+2446 -915

No files matched your search

+5 -2
View File
@@ -14,8 +14,9 @@ PKG ?= gpu-unlock
MODULE_FILES := $(filter-out %.mod.c,$(sort $(wildcard kernel/gpu_unlock/*.[ch]))) \
kernel/gpu_unlock/Kbuild kernel/gpu_unlock/Makefile kernel/gpu_unlock/dkms.conf
FIRMWARE_FILES := booter_load_ga102.bin gsp_ga10x.bin gsp_boot_ga102.bin \
gsp_boot_desc_ga102.bin v67-ga102-$(NV).bin
FIRMWARE_FILES := booter_load_ga100.bin falcon_loader.bin gsp_ga10x.bin gsp_tu10x.bin \
gsp_boot_ga102.bin gsp_boot_desc_ga102.bin \
gsp_boot_ga100.bin gsp_boot_desc_ga100.bin
LICENSES := licenses/GPL-2.0.txt licenses/CMP40HX-MIT.txt licenses/NVIDIA-MIT.txt
NV_SOURCE := NVIDIA-kernel-module-source-$(NV)
NV_UTILS := nvidia-utils-$(NV)-1-x86_64_v3.pkg.tar.zst
@@ -67,6 +68,8 @@ install-dkms:
grep -q 'MODULE_VERSION("$(VERSION)")' kernel/gpu_unlock/main.c
install -Dm644 -t $(DESTDIR)$(DKMSDIR) $(MODULE_FILES)
install -Dm644 README.md $(DESTDIR)/usr/share/doc/gpu-unlock/README.md
install -Dm644 -t $(DESTDIR)/usr/share/doc/gpu-unlock/docs \
docs/STAGE1.md docs/STAGE1-TAIL-REPLAY.json docs/CMP-PORT-PLAN.md
# The generators check every file against its pinned SHA-256 before writing it.
install-firmware: