summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2023-10-10 22:16:00 +0200
committerRoland Hieber <rhi@pengutronix.de>2023-10-10 22:19:12 +0200
commita0c7ddd2c1469ff93e744e1e2b39bc1aafe692cc (patch)
treee21b353afdae37307839ad594a737b01d84bb22b
parentd58d87f16fae9e2c644f6e1ffc283d837b0a2ee4 (diff)
downloadgenimage-a0c7ddd2c1469ff93e744e1e2b39bc1aafe692cc.tar.gz
genimage-a0c7ddd2c1469ff93e744e1e2b39bc1aafe692cc.tar.xz
image-hd: add GUIDs for big-endian MIPS architecture
These were added to the Discoverable Partitions Specification in <https://github.com/uapi-group/specifications/pull/86>. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r--README.rst2
-rw-r--r--image-hd.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index b7440aa..d908ff5 100644
--- a/README.rst
+++ b/README.rst
@@ -147,7 +147,7 @@ Partition options:
Furthermore, for ``{arch}`` being one of ``alpha``,
``arc``, ``arm``, ``arm64``, ``ia64``, ``loongarch64``,
- ``mips-le``, ``mips64-le``, ``parisc``, ``ppc``,
+ ``mips``, ``mips64``, ``mips-le``, ``mips64-le``, ``parisc``, ``ppc``,
``ppc64``, ``ppc64-le``, ``riscv32``, ``riscv64``,
``s390``, ``s390x``, ``tilegx``, ``x86``, ``x86-64``,
the following shortcuts from the `Discoverable
diff --git a/image-hd.c b/image-hd.c
index cbce500..4ea55b6 100644
--- a/image-hd.c
+++ b/image-hd.c
@@ -287,6 +287,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "root-arm64" , "b921b045-1df0-41c3-af44-4c6f280d3fae" },
{ "root-ia64" , "993d8d3d-f80e-4225-855a-9daf8ed7ea97" },
{ "root-loongarch64" , "77055800-792c-4f94-b39a-98c91b762bb6" },
+ { "root-mips" , "e9434544-6e2c-47cc-bae2-12d6deafb44c" },
+ { "root-mips64" , "d113af76-80ef-41b4-bdb6-0cff4d3d4a25" },
{ "root-mips-le" , "37c58c8a-d913-4156-a25f-48b1b64e07f0" },
{ "root-mips64-le" , "700bda43-7a34-4507-b179-eeb93d7a7ca3" },
{ "root-parisc" , "1aacdb3b-5444-4138-bd9e-e5c2239b2346" },
@@ -306,6 +308,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "usr-arm64" , "b0e01050-ee5f-4390-949a-9101b17104e9" },
{ "usr-ia64" , "4301d2a6-4e3b-4b2a-bb94-9e0b2c4225ea" },
{ "usr-loongarch64" , "e611c702-575c-4cbe-9a46-434fa0bf7e3f" },
+ { "usr-mips" , "773b2abc-2a99-4398-8bf5-03baac40d02b" },
+ { "usr-mips64" , "57e13958-7331-4365-8e6e-35eeee17c61b" },
{ "usr-mips-le" , "0f4868e9-9952-4706-979f-3ed3a473e947" },
{ "usr-mips64-le" , "c97c1f32-ba06-40b4-9f22-236061b08aa8" },
{ "usr-parisc" , "dc4a4480-6917-4262-a4ec-db9384949f25" },
@@ -325,6 +329,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "root-arm64-verity" , "df3300ce-d69f-4c92-978c-9bfb0f38d820" },
{ "root-ia64-verity" , "86ed10d5-b607-45bb-8957-d350f23d0571" },
{ "root-loongarch64-verity" , "f3393b22-e9af-4613-a948-9d3bfbd0c535" },
+ { "root-mips-verity" , "7a430799-f711-4c7e-8e5b-1d685bd48607" },
+ { "root-mips64-verity" , "579536f8-6a33-4055-a95a-df2d5e2c42a8" },
{ "root-mips-le-verity" , "d7d150d2-2a04-4a33-8f12-16651205ff7b" },
{ "root-mips64-le-verity" , "16b417f8-3e06-4f57-8dd2-9b5232f41aa6" },
{ "root-parisc-verity" , "d212a430-fbc5-49f9-a983-a7feef2b8d0e" },
@@ -344,6 +350,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "usr-arm64-verity" , "6e11a4e7-fbca-4ded-b9e9-e1a512bb664e" },
{ "usr-ia64-verity" , "6a491e03-3be7-4545-8e38-83320e0ea880" },
{ "usr-loongarch64-verity" , "f46b2c26-59ae-48f0-9106-c50ed47f673d" },
+ { "usr-mips-verity" , "6e5a1bc8-d223-49b7-bca8-37a5fcceb996" },
+ { "usr-mips64-verity" , "81cf9d90-7458-4df4-8dcf-c8a3a404f09b" },
{ "usr-mips-le-verity" , "46b98d8d-b55c-4e8f-aab3-37fca7f80752" },
{ "usr-mips64-le-verity" , "3c3d61fe-b5f3-414d-bb71-8739a694a4ef" },
{ "usr-parisc-verity" , "5843d618-ec37-48d7-9f12-cea8e08768b2" },
@@ -363,6 +371,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "root-arm64-verity-sig" , "6db69de6-29f4-4758-a7a5-962190f00ce3" },
{ "root-ia64-verity-sig" , "e98b36ee-32ba-4882-9b12-0ce14655f46a" },
{ "root-loongarch64-verity-sig" , "5afb67eb-ecc8-4f85-ae8e-ac1e7c50e7d0" },
+ { "root-mips-verity-sig" , "bba210a2-9c5d-45ee-9e87-ff2ccbd002d0" },
+ { "root-mips64-verity-sig" , "43ce94d4-0f3d-4999-8250-b9deafd98e6e" },
{ "root-mips-le-verity-sig" , "c919cc1f-4456-4eff-918c-f75e94525ca5" },
{ "root-mips64-le-verity-sig" , "904e58ef-5c65-4a31-9c57-6af5fc7c5de7" },
{ "root-parisc-verity-sig" , "15de6170-65d3-431c-916e-b0dcd8393f25" },
@@ -382,6 +392,8 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "usr-arm64-verity-sig" , "c23ce4ff-44bd-4b00-b2d4-b41b3419e02a" },
{ "usr-ia64-verity-sig" , "8de58bc2-2a43-460d-b14e-a76e4a17b47f" },
{ "usr-loongarch64-verity-sig" , "b024f315-d330-444c-8461-44bbde524e99" },
+ { "usr-mips-verity-sig" , "97ae158d-f216-497b-8057-f7f905770f54" },
+ { "usr-mips64-verity-sig" , "05816ce2-dd40-4ac6-a61d-37d32dc1ba7d" },
{ "usr-mips-le-verity-sig" , "3e23ca0b-a4bc-4b4e-8087-5ab6a26aa8a9" },
{ "usr-mips64-le-verity-sig" , "f2c2c7ee-adcc-4351-b5c6-ee9816b66e16" },
{ "usr-parisc-verity-sig" , "450dd7d1-3224-45ec-9cf2-a43a346d71ee" },