Add a defconfig to build an AArch64 disk image with a U-Boot based firmware implementing the subset of UEFI defined by EBBR[1], as well as a Linux OS booting with UEFI, to run on the IOT-GATE-iMX8 from Compulab. The generated firmware binary can also be used to install or run another OS supporting the EBBR specification. This configuration is based on the work of Paul Liu[2] and is not related with the official BSP from Compulab. This has been tested on actual hardware. While at it, add this defconfig to myself in DEVELOPERS. [1] https://github.com/ARM-software/ebbr [2] https://git.linaro.org/plugins/gitiles/people/paul.liu/systemready/build-scripts Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Ying-Chun Liu (Paul Liu) <paul.liu@linaro.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
46 lines
702 B
INI
46 lines
702 B
INI
image efi-part.vfat {
|
|
vfat {
|
|
file EFI {
|
|
image = "efi-part/EFI"
|
|
}
|
|
|
|
file Image {
|
|
image = "Image"
|
|
}
|
|
}
|
|
|
|
size = 64M
|
|
}
|
|
|
|
image disk.img {
|
|
hdimage {
|
|
partition-table-type = "gpt"
|
|
}
|
|
|
|
# When in eMMC user data, this protects U-Boot environment
|
|
partition env {
|
|
partition-type-uuid = u-boot-env
|
|
offset = 17K
|
|
size = 16K
|
|
}
|
|
|
|
# This allows to boot from recovery SD card
|
|
partition firmware {
|
|
image = "flash.bin"
|
|
# Linux reserved
|
|
partition-type-uuid = 8DA63339-0007-60C0-C436-083AC8230908
|
|
offset = 33K
|
|
}
|
|
|
|
partition boot {
|
|
image = "efi-part.vfat"
|
|
partition-type-uuid = esp
|
|
bootable = true
|
|
}
|
|
|
|
partition root {
|
|
partition-type-uuid = root-arm64
|
|
image = "rootfs.ext2"
|
|
}
|
|
}
|