[Buildroot] [PATCH next] configs/aarch64_efi: bump kernel version

D. Olsson hi at senzilla.io
Thu Nov 25 12:28:16 UTC 2021


Hi Vincent,

> On 25 Nov 2021, at 11:25, Vincent Stehlé <vincent.stehle at arm.com> wrote:
> 
> Bump Linux kernel version to 5.15.4.
> 
> We enlarge the boot partition to follow the kernel image size increase and
> update the instructions to run on qemu with a U-Boot based firmware.

I understand that you might have tested this with U-Boot firmware. But the updated instructions doesn't make any references to U-Boot, so your description is a little bit confusing. Maybe simplify the commit message?

> board/aarch64-efi/genimage-efi.cfg | 2 +-
> board/aarch64-efi/readme.txt       | 2 +-
> configs/aarch64_efi_defconfig      | 6 +++---
> 3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/board/aarch64-efi/genimage-efi.cfg b/board/aarch64-efi/genimage-efi.cfg
> index 8ec1f10fd82..13d69e5e425 100644
> --- a/board/aarch64-efi/genimage-efi.cfg
> +++ b/board/aarch64-efi/genimage-efi.cfg
> @@ -8,7 +8,7 @@ image efi-part.vfat {
>        }
>    }
> 
> -    size = 32M
> +    size = 64M
> }
> 
> image disk.img {
> diff --git a/board/aarch64-efi/readme.txt b/board/aarch64-efi/readme.txt
> index 164993eea49..0e7ea0b5dd7 100644
> --- a/board/aarch64-efi/readme.txt
> +++ b/board/aarch64-efi/readme.txt
> @@ -45,7 +45,7 @@ the instructions in [3], with qemu_arm64_defconfig.
> 
> This should give you a nor_flash.bin, which you can use with qemu as an
> alternative to QEMU_EFI.fd. You will also need to change the machine
> -specification to "-M virt,secure" on qemu command line, to enable TrustZone
> +specification to "-M virt,secure=on" on qemu command line, to enable TrustZone
> support, and you will need to increase the memory with "-m 1024".
> 
> [1]: https://github.com/ARM-software/ebbr
> diff --git a/configs/aarch64_efi_defconfig b/configs/aarch64_efi_defconfig
> index 6cb8d1fac21..1bd06c51f37 100644
> --- a/configs/aarch64_efi_defconfig
> +++ b/configs/aarch64_efi_defconfig
> @@ -22,13 +22,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
> 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
> +# Linux headers same as kernel, a 5.15 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
> 
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.16"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.4"
> BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> 
> -- 
> 2.33.0

However, the code changes look good.

Reviewed-by: Dick Olsson <hi at senzilla.io>


More information about the buildroot mailing list