configs/roc_pc_rk3399: Bump Linux, U-Boot, TF-A
v3 cover configs/roc_pc_rk3399: Bump Linux, U-Boot, TF-A
v3 -> v2:
- Revert to use Glibc.
v2 -> v1:
- Enable checking hashes and add relevant hash files.
- Move from Glibc to uClibc.
Roberto Medina (1):
configs/roc_pc_rk3399: Bump Linux, U-Boot, TF-A
.../arm-trusted-firmware/arm-trusted-firmware.hash | 2 ++ .../patches/linux-headers/linux-headers.hash | 1 + board/firefly/roc-rk3399-pc/patches/linux/linux.hash | 2 ++ board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash | 2 ++ configs/roc_pc_rk3399_defconfig | 10 ++++++---- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 board/firefly/roc-rk3399-pc/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash create mode 100644 board/firefly/roc-rk3399-pc/patches/linux/linux.hash create mode 100644 board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash
Signature · 6 lines
2.47.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 1/1 configs/roc_pc_rk3399: Bump Linux, U-Boot, TF-A
- Bump Linux to 6.6.56 (LTS).
- Bump U-Boot to 2024.07, so it contains commit ebb0ad4eef0a ("arch: arm:
mach-rockchip: Kconfig: Enable BOOTSTD_FULL for RK3399 and RK3588").
- Bump TF-A to 2.11.
- Enable hash checking: BR2_DOWNLOAD_FORCE_CHECK_HASHES.
- Add relevant hashes in the patches folder for the board.
--- .../arm-trusted-firmware/arm-trusted-firmware.hash | 2 ++ .../patches/linux-headers/linux-headers.hash | 1 + board/firefly/roc-rk3399-pc/patches/linux/linux.hash | 2 ++ board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash | 2 ++ configs/roc_pc_rk3399_defconfig | 10 ++++++---- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 board/firefly/roc-rk3399-pc/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash create mode 100644 board/firefly/roc-rk3399-pc/patches/linux/linux.hash create mode 100644 board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash
board/firefly/roc-rk3399-pc/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash new file +1 -0
@@ -0,0 +1 @@ +../linux/linux.hash
board/firefly/roc-rk3399-pc/patches/linux/linux.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95 linux-6.6.56.tar.xz
board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
configs/roc_pc_rk3399_defconfig +6 -4
@@ -1,6 +1,8 @@ BR2_aarch64=y BR2_cortex_a72_a53=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y +BR2_GLOBAL_PATCH_DIR="board/firefly/roc-rk3399-pc/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="roc-rk3399-pc" BR2_TARGET_GENERIC_ISSUE="Welcome to ROC-RK3399-PC!" BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/roc-rk3399-pc/post-build.sh"
@@ -8,7 +10,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/firefly/roc-rk3399-pc/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.61" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.56" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-roc-pc"
@@ -21,14 +23,14 @@ BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O 64bit" BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.9" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="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.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="roc-pc-rk3399" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
Signature · 6 lines
2.47.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedHi Roberto,
Quoted 9 lines · Roberto Medina
- Bump Linux to 6.6.56 (LTS).
- Bump U-Boot to 2024.07, so it contains commitebb0ad4eef0a("arch:
arm:
mach-rockchip:Kconfig: EnableBOOTSTD_FULLfor RK3399 and RK3588").
- Bump TF-A to 2.11.
- Enable hash checking:BR2_DOWNLOAD_FORCE_CHECK_HASHES.
- Add relevant hashes in the patches folder for the board.Signed-off-by Roberto Medina <[email protected]>
Applied to next, thanks.
Side note: I updated .checkpackageignore, due to a "make check-package" error.
Also, another comment, see below.
Quoted 83 lines
--- .../arm-trusted-firmware/arm-trusted-firmware.hash | 2 ++ .../patches/linux-headers/linux-headers.hash | 1 + board/firefly/roc-rk3399-pc/patches/linux/linux.hash | 2 ++ board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash | 2 ++ configs/roc_pc_rk3399_defconfig | 10 ++++++---- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 board/firefly/roc-rk3399-pc/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash create mode 100644 board/firefly/roc-rk3399-pc/patches/linux/linux.hash create mode 100644board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash
(quoted diff) +0
-0b/board/firefly/roc-rk3399-pc/patches/arm-trusted-firmware/arm-trusted-firmware.hash
(quoted diff) +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256
c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22arm-trusted-firmware-v2.11-git4.tar.gz(quoted diff) +0
-0b/board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash
board/firefly/roc-rk3399-pc/patches/linux-headers/linux-headers.hash new file +1
-0@@ -0,0 +1 @@ +../linux/linux.hashboard/firefly/roc-rk3399-pc/patches/linux/linux.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256
f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95linux-6.6.56.tar.xzboard/firefly/roc-rk3399-pc/patches/uboot/uboot.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256
f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8fu-boot-2024.07.tar.bz2configs/roc_pc_rk3399_defconfig +3
-1@@ -1,6 +1,8 @@ BR2_aarch64=y BR2_cortex_a72_a53=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y +BR2_GLOBAL_PATCH_DIR="board/firefly/roc-rk3399-pc/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="roc-rk3399-pc" BR2_TARGET_GENERIC_ISSUE="Welcome to ROC-RK3399-PC!"BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/roc-rk3399-pc/post-build.sh"
configs/roc_pc_rk3399_defconfig +0
-0@@ -8,7 +10,7 @@BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c
board/firefly/roc-rk3399-pc/genimage.cfg"
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=yconfigs/roc_pc_rk3399_defconfig +1
-1-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.61" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.56" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-roc-pc"@@ -21,14 +23,14 @@ BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O 64bit" BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
Quoted 1 line
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
The default TF-A repo url was updated in commit:
https://gitlab.com/buildroot.org/buildroot/-/commit/e1aacc3049e03bd788fc58b9233bf5a93f2613a1
So those _CUSTOM_GIT and _CUSTOM_REPO_URL configs are no longer needed.
configs/roc_pc_rk3399_defconfig BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O 64bit" · line 26
Quoted 2 lines
configs/roc_pc_rk3399_defconfig +1
-1-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.9" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.11"
Also this _CUSTOM_REPO_VERSION can be replaced with _CUSTOM_VERSION=y _CUSTOM_VERSION_VALUE="...".
Could you do those change in a future update please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Julien,
Sorry for the late reply.
Quoted 4 lines · Julien Olivain
Applied to next, thanks.
Side note: I updated .checkpackageignore, due to a "make check-package" error.
Thanks for the fixes!
Quoted 1 line
Could you do those change in a future update please?
Sorry for the naive question, but are you expecting a v4 for this bump to reach master?
Thanks,
Roberto
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Roberto,
Quoted 7 lines · Roberto Medina
Hi Julien,
Sorry for the late reply.
Quoted 2 lines · Julien Olivain
Applied to next, thanks.
Quoted 8 lines
Quoted 2 lines
Side note: I updated .checkpackageignore, due to a "make check-package" error.
Thanks for the fixes!
Quoted 1 line
Could you do those change in a future update please?
Sorry for the naive question, but are you expecting a v4 for this bump to reach master?
No, I am not expecting a v4. Your patch is already in the next branch, in:
https://gitlab.com/buildroot.org/buildroot/-/commit/f59f69e0e01e2ece4c2e57cc0c371e017c36fe29
It will be merged into master just after version 2024.11 is tagged.
I was just suggesting you use the "utils/docker-run make check-package" command before you send your future contributions. See:
https://buildroot.org/downloads/manual/manual.html#_preparing_a_patch_series
It will catch errors earlier and make your future patches accepted faster.
Quoted 2 lines
Thanks,
Roberto
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot