* [Buildroot] [PATCH] configs/rockpro64: bump Linux kernel, U-Boot and TF-A
@ 2024-10-14 18:05 Vincent Stehlé
2024-10-22 20:56 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehlé @ 2024-10-14 18:05 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, Vincent Stehlé, Jagan Teki, Suniel Mahesh
- Bump Linux kernel to v6.10.14 and add the dependency on host python3.
- Bump U-Boot to v2024.10 and add the dependency on GnuTLS and
util-linux (for uuid).
- Bump TF-A to v2.11.
- Turn on hashes verification and add hashes for the Linux kernel and
U-Boot.
- Fix shellcheck warnings in the post-build script.
- Remove the related exceptions in .checkpackageignore.
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Suniel Mahesh <sunil@amarulasolutions.com>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
.checkpackageignore | 2 --
| 1 +
board/pine64/rockpro64/patches/linux/linux.hash | 2 ++
board/pine64/rockpro64/patches/uboot/uboot.hash | 2 ++
board/pine64/rockpro64/post-build.sh | 4 ++--
configs/rockpro64_defconfig | 13 +++++++++----
6 files changed, 16 insertions(+), 8 deletions(-)
create mode 120000 board/pine64/rockpro64/patches/linux-headers/linux-headers.hash
create mode 100644 board/pine64/rockpro64/patches/linux/linux.hash
create mode 100644 board/pine64/rockpro64/patches/uboot/uboot.hash
diff --git a/.checkpackageignore b/.checkpackageignore
index 207d72fd20..7b0fa654e2 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -64,7 +64,6 @@ board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-sp
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch lib_patch.Upstream
board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch lib_patch.Upstream
board/pine64/rock64/post-build.sh Shellcheck
-board/pine64/rockpro64/post-build.sh Shellcheck
board/qemu/aarch64-sbsa/assemble-flash-images Shellcheck
board/qemu/x86/post-build.sh Shellcheck
board/qemu/x86_64/post-build.sh Shellcheck
@@ -228,7 +227,6 @@ configs/riotboard_defconfig lib_defconfig.ForceCheckHash
configs/roc_pc_rk3399_defconfig lib_defconfig.ForceCheckHash
configs/rock64_defconfig lib_defconfig.ForceCheckHash
configs/rock_pi_n8_defconfig lib_defconfig.ForceCheckHash
-configs/rockpro64_defconfig lib_defconfig.ForceCheckHash
configs/roseapplepi_defconfig lib_defconfig.ForceCheckHash
configs/s6lx9_microboard_defconfig lib_defconfig.ForceCheckHash
configs/sipeed_lichee_rv_defconfig lib_defconfig.ForceCheckHash
--git a/board/pine64/rockpro64/patches/linux-headers/linux-headers.hash b/board/pine64/rockpro64/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/pine64/rockpro64/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/pine64/rockpro64/patches/linux/linux.hash b/board/pine64/rockpro64/patches/linux/linux.hash
new file mode 100644
index 0000000000..396c18dd5c
--- /dev/null
+++ b/board/pine64/rockpro64/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256 55e5bcbc68d66776fc46896291f0a24844beb57817345a854d65e3d055fa423e linux-6.10.14.tar.xz
diff --git a/board/pine64/rockpro64/patches/uboot/uboot.hash b/board/pine64/rockpro64/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..904fa56c02
--- /dev/null
+++ b/board/pine64/rockpro64/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
diff --git a/board/pine64/rockpro64/post-build.sh b/board/pine64/rockpro64/post-build.sh
index ba29375c05..e947745488 100755
--- a/board/pine64/rockpro64/post-build.sh
+++ b/board/pine64/rockpro64/post-build.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-BOARD_DIR="$(dirname $0)"
+BOARD_DIR=$(dirname "$0")
-install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
+install -m 0644 -D "$BOARD_DIR/extlinux.conf" "$BINARIES_DIR/extlinux/extlinux.conf"
diff --git a/configs/rockpro64_defconfig b/configs/rockpro64_defconfig
index d70fd83c03..d6c217e946 100644
--- a/configs/rockpro64_defconfig
+++ b/configs/rockpro64_defconfig
@@ -1,6 +1,8 @@
BR2_aarch64=y
BR2_cortex_a72_a53=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10=y
+BR2_GLOBAL_PATCH_DIR="board/pine64/rockpro64/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_TARGET_GENERIC_HOSTNAME="rockpro64"
BR2_TARGET_GENERIC_ISSUE="Welcome to ROCKPRO64"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/rockpro64/post-build.sh"
@@ -8,30 +10,33 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/rockpro64/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.14"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/pine64/rockpro64/linux.fragment"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9.0"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.11"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES=""
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rockpro64-rk3399"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
+BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] configs/rockpro64: bump Linux kernel, U-Boot and TF-A
2024-10-14 18:05 [Buildroot] [PATCH] configs/rockpro64: bump Linux kernel, U-Boot and TF-A Vincent Stehlé
@ 2024-10-22 20:56 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-22 20:56 UTC (permalink / raw)
To: Vincent Stehlé; +Cc: buildroot, Giulio Benetti, Jagan Teki, Suniel Mahesh
On Mon, 14 Oct 2024 20:05:07 +0200
Vincent Stehlé <vincent.stehle@arm.com> wrote:
> - Bump Linux kernel to v6.10.14 and add the dependency on host python3.
> - Bump U-Boot to v2024.10 and add the dependency on GnuTLS and
> util-linux (for uuid).
> - Bump TF-A to v2.11.
> - Turn on hashes verification and add hashes for the Linux kernel and
> U-Boot.
> - Fix shellcheck warnings in the post-build script.
> - Remove the related exceptions in .checkpackageignore.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Suniel Mahesh <sunil@amarulasolutions.com>
> Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> .checkpackageignore | 2 --
> .../patches/linux-headers/linux-headers.hash | 1 +
> board/pine64/rockpro64/patches/linux/linux.hash | 2 ++
> board/pine64/rockpro64/patches/uboot/uboot.hash | 2 ++
> board/pine64/rockpro64/post-build.sh | 4 ++--
> configs/rockpro64_defconfig | 13 +++++++++----
> 6 files changed, 16 insertions(+), 8 deletions(-)
> create mode 120000 board/pine64/rockpro64/patches/linux-headers/linux-headers.hash
> create mode 100644 board/pine64/rockpro64/patches/linux/linux.hash
> create mode 100644 board/pine64/rockpro64/patches/uboot/uboot.hash
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-22 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14 18:05 [Buildroot] [PATCH] configs/rockpro64: bump Linux kernel, U-Boot and TF-A Vincent Stehlé
2024-10-22 20:56 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.