From 26b2debf16d5dc47810d77403a400059b3e6b812 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 9 Feb 2023 08:39:35 +0100 Subject: add genimage files for x86_64 generic profile --- adk/extlinux/extlinux.conf | 0 target/x86_64/generic-x86_64/genimage-dual.cfg | 36 +++++++++++++++++++++ target/x86_64/generic-x86_64/genimage-efi-dual.cfg | 37 ++++++++++++++++++++++ target/x86_64/generic-x86_64/genimage-efi.cfg | 30 ++++++++++++++++++ target/x86_64/generic-x86_64/genimage.cfg | 30 ++++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 adk/extlinux/extlinux.conf create mode 100644 target/x86_64/generic-x86_64/genimage-dual.cfg create mode 100644 target/x86_64/generic-x86_64/genimage-efi-dual.cfg create mode 100644 target/x86_64/generic-x86_64/genimage-efi.cfg create mode 100644 target/x86_64/generic-x86_64/genimage.cfg diff --git a/adk/extlinux/extlinux.conf b/adk/extlinux/extlinux.conf new file mode 100644 index 000000000..e69de29bb diff --git a/target/x86_64/generic-x86_64/genimage-dual.cfg b/target/x86_64/generic-x86_64/genimage-dual.cfg new file mode 100644 index 000000000..647a2bcb5 --- /dev/null +++ b/target/x86_64/generic-x86_64/genimage-dual.cfg @@ -0,0 +1,36 @@ +image disk.img { + + hdimage { + } + + partition boot { + in-partition-table = "no" + image = "boot.img" + offset = 0 + size = 512 + } + + partition grub { + in-partition-table = "no" + image = "grub.img" + offset = 512 + } + + partition root1 { + partition-type = 0x83 + image = "rootfs.ext" + size = 64M + } + + partition root2 { + partition-type = 0x83 + image = "rootfs.ext" + size = 64M + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } + +} diff --git a/target/x86_64/generic-x86_64/genimage-efi-dual.cfg b/target/x86_64/generic-x86_64/genimage-efi-dual.cfg new file mode 100644 index 000000000..7c82a0bcb --- /dev/null +++ b/target/x86_64/generic-x86_64/genimage-efi-dual.cfg @@ -0,0 +1,37 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + } + size = 32M +} + +image disk.img { + + hdimage { + } + + partition boot { + partition-type = 0xEF + image = "efi-part.vfat" + } + + partition root1 { + partition-type = 0x83 + image = "rootfs.ext" + size = 128M + } + + partition root2 { + partition-type = 0x83 + image = "rootfs.ext" + size = 128M + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } + +} diff --git a/target/x86_64/generic-x86_64/genimage-efi.cfg b/target/x86_64/generic-x86_64/genimage-efi.cfg new file mode 100644 index 000000000..a59d75e47 --- /dev/null +++ b/target/x86_64/generic-x86_64/genimage-efi.cfg @@ -0,0 +1,30 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + } + size = 32M +} + +image disk.img { + + hdimage { + } + + partition boot { + partition-type = 0xEF + image = "efi-part.vfat" + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext" + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } + +} diff --git a/target/x86_64/generic-x86_64/genimage.cfg b/target/x86_64/generic-x86_64/genimage.cfg new file mode 100644 index 000000000..d86f7ffd7 --- /dev/null +++ b/target/x86_64/generic-x86_64/genimage.cfg @@ -0,0 +1,30 @@ +image disk.img { + + hdimage { + } + + partition boot { + in-partition-table = "no" + image = "boot.img" + offset = 0 + size = 512 + } + + partition grub { + in-partition-table = "no" + image = "grub.img" + offset = 512 + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext" + size = 64M + } + + partition cfgfs { + partition-type = 0x88 + image = "cfgfs.img" + } + +} -- cgit v1.2.3