configs/aarch64_efi: bump kernel version
PATCH 1/1 configs/aarch64_efi: bump kernel version
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.
---
Hi,
This was (lightly) tested on qemu with both edk2 and U-Boot[1] firmware, as well as on ROCKPro64 with U-Boot firmware[2].
Best regards,
Vincent.
[1]: https://github.com/glikely/u-boot-tfa-build
[2]: https://gitlab.arm.com/systemready/firmware-build/rk3399-manifest/-/tree/rockpro64-21.09
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(-)
board/aarch64-efi/genimage-efi.cfg +1 -1
@@ -8,7 +8,7 @@ image efi-part.vfat { } } - size = 32M + size = 64M } image disk.img {
board/aarch64-efi/readme.txt +1 -1
@@ -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
configs/aarch64_efi_defconfig +3 -3
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Vincent,
Quoted 6 lines · Vincent Stehlé
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?
Quoted 49 lines
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(-)board/aarch64-efi/genimage-efi.cfg +1
-1@@ -8,7 +8,7 @@ image efi-part.vfat { } } - size = 32M + size = 64M } image disk.img {board/aarch64-efi/readme.txt +0
-0@@ -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
board/aarch64-efi/readme.txt +1
-1-specification to "-M virt,secure" on qemu command line, to enable TrustZone +specification to "-M virt,secure=on" on qemu command line, to enable TrustZonesupport, and you will need to increase the memory with "-m 1024".
[1]: https://github.com/ARM-software/ebbr
configs/aarch64_efi_defconfig +0
-0@@ -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"configs/aarch64_efi_defconfig +2
-2-# 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=yconfigs/aarch64_efi_defconfig +1
-1-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.16" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.4"
Quoted 5 lines
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=ySignature · 1 line
2.33.0
However, the code changes look good.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
On Thu, Nov 25, 2021 at 01:28:16PM +0100, D. Olsson wrote:
..
Quoted 1 line
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?
Hi Dick,
Thanks for your review; I will simplify the commit message.
Best regards,
Vincent.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 configs/aarch64_efi: bump kernel version
In reply to Vincent StehléBump Linux kernel version to 5.15.4.
We enlarge the boot partition to follow the kernel image size increase and update the documentation.
---
Changes since v1:
- Update 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(-)
board/aarch64-efi/genimage-efi.cfg +1 -1
@@ -8,7 +8,7 @@ image efi-part.vfat { } } - size = 32M + size = 64M } image disk.img {
board/aarch64-efi/readme.txt +1 -1
@@ -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
configs/aarch64_efi_defconfig +3 -3
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 8 lines · Vincent Stehlé
Bump Linux kernel version to 5.15.4.
We enlarge the boot partition to follow the kernel image size increase and update the documentation.
Signed-off-by Vincent Stehlé <[email protected]>Reviewed-by Dick Olsson <[email protected]>Cc Erico Nunes <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 48 lines
---
Changes since v1:
- Update commit messageboard/aarch64-efi/genimage-efi.cfg | 2 +- board/aarch64-efi/readme.txt | 2 +- configs/aarch64_efi_defconfig | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)board/aarch64-efi/genimage-efi.cfg +1
-1@@ -8,7 +8,7 @@ image efi-part.vfat { } } - size = 32M + size = 64M } image disk.img {board/aarch64-efi/readme.txt +1
-1@@ -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/ebbrconfigs/aarch64_efi_defconfig +1
-2@@ -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
configs/aarch64_efi_defconfig BR2_TARGET_ROOTFS_EXT2_SIZE="200M" · line 34
Quoted 10 lines
configs/aarch64_efi_defconfig +2
-1+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
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot