OK for the firmware.
On 2024 Oct 25 (Fri) at 15:54:41 +0200 (+0200), Hans-Jörg Höxer wrote: :Hi, : :this diff builds a ports package for the AMD SEV firmware. It will be :used by psp(4). See diffs on tech@. : :Take care, :HJ. : :--------------------------------------------------------------------------- :commit 1127736b2fd63475157c17a2f92d00b7921f8610 :Author: Hans-Joerg Hoexer <hshoe...@genua.de> :Date: Wed Oct 23 17:26:55 2024 +0200 : : Provide AMD SEV firmware : : Will be used by psp(4). : :diff --git a/sysutils/firmware/Makefile b/sysutils/firmware/Makefile :index 8ce5fd541a9..247127e1cae 100644 :--- a/sysutils/firmware/Makefile :+++ b/sysutils/firmware/Makefile :@@ -15,6 +15,7 @@ : SUBDIR += acx : SUBDIR += amd : SUBDIR += amdgpu :+ SUBIDR += amdsev : SUBDIR += apple-boot : SUBDIR += arm64-qcom-dtb : SUBDIR += athn :diff --git a/sysutils/firmware/amdsev/Makefile b/sysutils/firmware/amdsev/Makefile :new file mode 100644 :index 00000000000..addbd31db25 :--- /dev/null :+++ b/sysutils/firmware/amdsev/Makefile :@@ -0,0 +1,18 @@ :+COMMENT= AMD SEV firmware binaries :+FW_DRIVER= amdsev :+FW_VER= 20241017 :+DISTNAME= linux-firmware-${FW_VER} :+EXTRACT_SUFX= .tar.xz :+EXTRACT_FILES= ${DISTNAME}/{LICENSE.\*,amd} :+ :+MAINTAINER= hshoe...@genua.de :+ :+HOMEPAGE= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amd :+SITES= https://cdn.kernel.org/pub/linux/kernel/firmware/ :+ :+do-install: :+ ${INSTALL_DATA_DIR} ${PREFIX}/firmware/amdsev :+ ${INSTALL_DATA} ${WRKSRC}/amd/amd_sev*.sbin ${PREFIX}/firmware/amdsev/ :+ ${INSTALL_DATA} ${WRKSRC}/LICENSE.amd-sev ${PREFIX}/firmware/amd-sev-license :+ :+.include <bsd.port.mk> :diff --git a/sysutils/firmware/amdsev/distinfo b/sysutils/firmware/amdsev/distinfo :new file mode 100644 :index 00000000000..cc8fe3fd33b :--- /dev/null :+++ b/sysutils/firmware/amdsev/distinfo :@@ -0,0 +1,2 @@ :+SHA256 (firmware/linux-firmware-20241017.tar.xz) = omw471qDJy8rmM6L+MoYZahSo97qSc5ajdgEuRQ1EnM= :+SIZE (firmware/linux-firmware-20241017.tar.xz) = 397400292 :diff --git a/sysutils/firmware/amdsev/pkg/DESCR b/sysutils/firmware/amdsev/pkg/DESCR :new file mode 100644 :index 00000000000..9dfbb53c2a2 :--- /dev/null :+++ b/sysutils/firmware/amdsev/pkg/DESCR :@@ -0,0 +1 @@ :+AMD SEV firmware binaries. :diff --git a/sysutils/firmware/amdsev/pkg/PLIST b/sysutils/firmware/amdsev/pkg/PLIST :new file mode 100644 :index 00000000000..3aedc204b8a :--- /dev/null :+++ b/sysutils/firmware/amdsev/pkg/PLIST :@@ -0,0 +1,5 @@ :+firmware/amd-sev-license :+firmware/amdsev/amd_sev_fam17h_model0xh.sbin :+firmware/amdsev/amd_sev_fam17h_model3xh.sbin :+firmware/amdsev/amd_sev_fam19h_model0xh.sbin :+firmware/amdsev/amd_sev_fam19h_model1xh.sbin -- You can bring any calculator you like to the midterm, as long as it doesn't dim the lights when you turn it on. -- Hepler, Systems Design 182