f01b0b1a3d
- Bump kernel to version 5.11.16. We remove the hardcoded ttyAMA0 and rely on the firmware to discover our console. This enables serial console on systems, which do not have an Arm pl011 UART. We switch to GPT disklabel and discover our root filesystem using its PARTLABEL. This enables booting from more media, such as HDD, SD card or USB. We update the readme, which hinted that ACPI was mandatory. This is not strictly the case as we can also boot with a dtb and/or a U-Boot based firmware, with no ACPI. While at it, mention EBBR, SystemReady and explain how to build and use a U-Boot-based qemu firmware. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
38 lines
960 B
Plaintext
38 lines
960 B
Plaintext
# Architecture
|
|
BR2_aarch64=y
|
|
|
|
# Toolchain, required for eudev and grub
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
|
|
# System
|
|
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
|
|
|
## Required tools to create bootable media
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
|
|
# Bootloader
|
|
BR2_TARGET_GRUB2=y
|
|
BR2_TARGET_GRUB2_ARM64_EFI=y
|
|
|
|
# Filesystem / image
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aarch64-efi/post-image.sh support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/aarch64-efi/genimage-efi.cfg"
|
|
|
|
# Linux headers same as kernel, a 5.11 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.16"
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
# Host tools for genimage
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|