[File] [PATCH] Magic file for IBM POWER Secure Boot Container

Joel Stanley joel at jms.id.au
Wed Jan 18 09:30:06 UTC 2023


This is a firmware container used by POWER servers. It is publicly
documented in the OpenPower repository on Github:

 https://github.com/open-power/skiboot/blob/master/libstb/container.h

---
 magic/Magdir/firmware | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/magic/Magdir/firmware b/magic/Magdir/firmware
index cdb1377798c3..e5f72540c090 100644
--- a/magic/Magdir/firmware
+++ b/magic/Magdir/firmware
@@ -31,3 +31,15 @@
 >75             string                  label_HPE-HPB-BMC-ILO5-4096
 >>880           string                  HPIMAGE\x00     HPE iLO5 firmware update image,
 >>944           string                  x               version %s
+
+# IBM POWER Secure Boot Container
+# from https://github.com/open-power/skiboot/blob/master/libstb/container.h
+0	belong	0x17082011	POWER Secure Boot Container,
+>4	beshort	x		version %u
+>6	bequad	x		container size %llu
+# These are always zero
+# >14	bequad	x		target HRMOR %llx
+# >22	bequad  x		stack pointer %llx
+>4096	ustring \xFD7zXZ\x00    XZ compressed
+0	belong	0x1bad1bad	POWER boot firmware
+> 256	belong	0x48002030	(PHYP entry point)
-- 
2.39.0



More information about the File mailing list