summaryrefslogtreecommitdiff
path: root/target/x86_64/qemu-x86_64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-09 11:34:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-09 11:34:07 +0100
commita255f372e4f04283bd7dd9b12582ee4b4a268f84 (patch)
tree20a4b9e16efff8a2ec546a7681c1f3b627719a17 /target/x86_64/qemu-x86_64
parent9bed88c31fb09489ef8b0728208ed3b4e17fc5cc (diff)
qemu-x86_64: use gpt for efi boot, cfgfs needs to be fixed
Diffstat (limited to 'target/x86_64/qemu-x86_64')
-rw-r--r--target/x86_64/qemu-x86_64/genimage-efi.cfg15
1 files changed, 8 insertions, 7 deletions
diff --git a/target/x86_64/qemu-x86_64/genimage-efi.cfg b/target/x86_64/qemu-x86_64/genimage-efi.cfg
index a59d75e47..a2bfd0b7a 100644
--- a/target/x86_64/qemu-x86_64/genimage-efi.cfg
+++ b/target/x86_64/qemu-x86_64/genimage-efi.cfg
@@ -3,6 +3,9 @@ image efi-part.vfat {
file EFI {
image = "efi-part/EFI"
}
+ file kernel {
+ image = "kernel"
+ }
}
size = 32M
}
@@ -10,21 +13,19 @@ image efi-part.vfat {
image disk.img {
hdimage {
+ partition-table-type = "gpt"
}
partition boot {
- partition-type = 0xEF
image = "efi-part.vfat"
+ partition-type-uuid = U
+ offset = 32K
+ bootable = true
}
partition root {
- partition-type = 0x83
+ partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a
image = "rootfs.ext"
}
- partition cfgfs {
- partition-type = 0x88
- image = "cfgfs.img"
- }
-
}