Index | Thread | Search

From:
Hans-Jörg Höxer <hshoexer@genua.de>
Subject:
Re: [EXT] Re: AMD SEV firmware for psp(4)
To:
<ports@openbsd.org>
Date:
Mon, 28 Oct 2024 13:31:19 +0100

Download raw body.

Thread
Hi,

On Fri, Oct 25, 2024 at 10:28:21AM -0600, Theo de Raadt wrote:
> 
> Please propose a pattern.  Test it in RAMDISK and GENERIC.MP, there are
> probably two seperate patterns.  Show it to afresh1 and me.  Thanks
> 

With GENERIC.MP the pattern below seems to work (but of course no tgz
available yet on firmware.openbsd.org). psp(4) is not in RAMDISK.

-----------------------------------------------------------------------
commit 505c802105c534757005d10b59ca553967e4e1fe
Author: Hans-Joerg Hoexer <hshoexer@genua.de>
Date:   Mon Oct 28 13:07:50 2024 +0100

    fw_update: add pattern for AMD SEV firmware used with psp(4)

diff --git a/usr.sbin/fw_update/patterns.c b/usr.sbin/fw_update/patterns.c
index 868a2308b15..295e00df232 100644
--- a/usr.sbin/fw_update/patterns.c
+++ b/usr.sbin/fw_update/patterns.c
@@ -94,6 +94,7 @@ main(void)
 	print_devices("amdgpu", amdgpu_devices, nitems(amdgpu_devices));
 	printf("%s\n", "amdgpu ^vga*vendor \"ATI\", unknown product"); 
 	printf("%s\n", "amdgpu ^vendor \"ATI\", unknown product*class display");
+	printf("%s\n", "amdsev ^psp");
 	printf("%s\n", "apple-boot ^cpu0*Apple");
 	printf("%s\n", "arm64-qcom-dtb ^qcgpio0");
 	printf("%s\n", "athn");