diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2023-02-09 08:39:35 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-02-09 08:39:35 +0100 |
commit | 26b2debf16d5dc47810d77403a400059b3e6b812 (patch) | |
tree | d24f317d81d5c2191b0bda7a3141eed47d4b4bc5 | |
parent | da256dc8f810d9b4860ca198796ae61e44d5f5b1 (diff) |
add genimage files for x86_64 generic profile
-rw-r--r-- | adk/extlinux/extlinux.conf | 0 | ||||
-rw-r--r-- | target/x86_64/generic-x86_64/genimage-dual.cfg | 36 | ||||
-rw-r--r-- | target/x86_64/generic-x86_64/genimage-efi-dual.cfg | 37 | ||||
-rw-r--r-- | target/x86_64/generic-x86_64/genimage-efi.cfg | 30 | ||||
-rw-r--r-- | target/x86_64/generic-x86_64/genimage.cfg | 30 |
5 files changed, 133 insertions, 0 deletions
diff --git a/adk/extlinux/extlinux.conf b/adk/extlinux/extlinux.conf new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/adk/extlinux/extlinux.conf 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" + } + +} |