update bsp binaries for TI SoCs
v2 cover update bsp binaries for TI SoCs
Hello everyone!
My apologies to everyone I just spammed with the first v2. I dropped the mailing list (still setting up my b4 configs) :/
This series updates all the boot binaries (U-Boot, OP-TEE, TF-A, and Linux) to their latest versions to pull in all bug fixes and new features additions in these projects.
This also includes a patch I send out a while ago just to keep things organized.
https://lore.kernel.org/buildroot/[email protected]/
and finally some proof I didn't completely break something ;)
https://paste.sr.ht/~bryanb/b666adef7da412de76efb5e4a68e68e0651f7928
Thanks for reviewing
~Bryan
---
Changes in v2:
- most emails never made it to the mailing list
- updated commit messages to be more explicit about versions picked
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Bryan Brattlof (11):
boot/optee-os: bump to release v4.2.0
boot/uboot: bump to version v2024.04 boot/ti-k3-r5-loader: bump to version v2024.04 boot/ti-k3-boot-firmware: bump to version 09.02.00.009 configs/ti_am62x_sk_defconfig: update TFA to v2.10 configs/ti_am64x_sk_defconfig: update TFA to v2.10 configs/ti_am62x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am64x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8 configs/ti_am64x_sk_defconfig: update kernel to v6.8.8
DEVELOPERS: add myself to TI's packages and reference boards
DEVELOPERS | 7 +++++++ .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am62x-sk/patches/linux/linux.hash | 2 +- .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am64x-sk/patches/linux/linux.hash | 2 +- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.hash | 2 +- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.mk | 4 +--- boot/ti-k3-r5-loader/Config.in | 4 ++-- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 1 + boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- configs/ti_am62x_sk_defconfig | 9 ++++----- configs/ti_am64x_sk_defconfig | 9 ++++----- 16 files changed, 33 insertions(+), 29 deletions(-)
---
base-commit: 929bffbf4bf8fcb91bda446777f907f32c782656
change-id: 20240430-optee-update-b9c1bc4e9f29
Best regards,
Signature · 6 lines
Bryan Brattlof <[email protected]> _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 1/11 boot/optee-os: bump to release v4.2.0
Bump OP-TEE to the latest tagged release
--- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
boot/optee-os/Config.in +2 -2
@@ -18,7 +18,7 @@ choice Select the version of OP-TEE OS you want to use config BR2_TARGET_OPTEE_OS_LATEST - bool "4.0.0" + bool "4.2.0" depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY help
@@ -70,7 +70,7 @@ endif config BR2_TARGET_OPTEE_OS_VERSION string - default "4.0.0" if BR2_TARGET_OPTEE_OS_LATEST + default "4.2.0" if BR2_TARGET_OPTEE_OS_LATEST default "custom" if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
boot/optee-os/optee-os.hash +2 -2
@@ -1,4 +1,4 @@ -# From https://github.com/OP-TEE/optee_os/archive/4.0.0/optee-os-4.0.0.tar.gz -sha256 2c2c9525b36c96dfad6216520721b8e9663e6cacc61d0108a0c8bffc0ea175f1 optee-os-4.0.0.tar.gz +# From https://github.com/OP-TEE/optee_os/archive/4.2.0/optee-os-4.2.0.tar.gz +sha256 ce70f0d177001bf4855cd6cd6396f515af6126e4bba9b12c716a437a5cb40c7b optee-os-4.2.0.tar.gz # Locally computed sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 2/11 boot/uboot: bump to version v2024.04
In reply to Bryan Brattlof via buildrootUpdate to the latest tagged release of U-Boot
--- boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
boot/uboot/Config.in +3 -3
@@ -41,7 +41,7 @@ choice Select the specific U-Boot version you want to use config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2024.01" + bool "2024.04" config BR2_TARGET_UBOOT_CUSTOM_VERSION bool "Custom version"
@@ -85,7 +85,7 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2024.01" if BR2_TARGET_UBOOT_LATEST_VERSION + default "2024.04" if BR2_TARGET_UBOOT_LATEST_VERSION default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
@@ -291,7 +291,7 @@ config BR2_TARGET_UBOOT_USE_BINMAN help Use binman tool for generation and signing of boot images. - https://docs.u-boot.org/en/v2024.01/develop/package/binman.html + https://docs.u-boot.org/en/v2024.04/develop/package/binman.html menu "U-Boot binary format"
boot/uboot/uboot.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed: -sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 02/11] boot/uboot: bump to version v2024.04
Hi Bryan,
Quoted 13 lines · Bryan Brattlof via buildroot
Update to the latest tagged release of U-Boot
Signed-off-by Bryan Brattlof <[email protected]>--- boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)boot/uboot/Config.in +0
-0
boot/uboot/Config.in choice · line 44
Quoted 5 lines
boot/uboot/Config.in +1
-1@@ -41,7 +41,7 @@ choice Select the specific U-Boot version you want to use config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2024.01" + bool "2024.04"
Similar to your other patch ("boot/optee-os: bump to release v4.2.0") changing the global default will affect other platforms so there's some risk for breakage I suppose. Why not keeping those specific changes to the AM62/AM64 platforms?
--
Andreas Dannenberg
Texas Instruments Inc
Quoted 38 lines
boot/uboot/Config.in +2
-2config BR2_TARGET_UBOOT_CUSTOM_VERSION bool "Custom version"@@ -85,7 +85,7 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2024.01" if BR2_TARGET_UBOOT_LATEST_VERSION + default "2024.04" if BR2_TARGET_UBOOT_LATEST_VERSION default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL@@ -291,7 +291,7 @@ config BR2_TARGET_UBOOT_USE_BINMAN help Use binman tool for generation and signing of boot images. - https://docs.u-boot.org/en/v2024.01/develop/package/binman.html + https://docs.u-boot.org/en/v2024.04/develop/package/binman.html menu "U-Boot binary format"boot/uboot/uboot.hash +1
-1@@ -1,3 +1,3 @@ # Locally computed: -sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txtSignature · 7 lines
-- 2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 02/11] boot/uboot: bump to version v2024.04
On May 6, 2024 thus sayeth Andreas Dannenberg via buildroot:
Quoted 18 lines
Hi Bryan,
Quoted 15 lines · Bryan Brattlof via buildroot
Update to the latest tagged release of U-Boot
Signed-off-by Bryan Brattlof <[email protected]>--- boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)boot/uboot/Config.in +0
-0@@ -41,7 +41,7 @@ choice Select the specific U-Boot version you want to use
Quoted 9 lines
boot/uboot/Config.in choice · line 44
Quoted 3 lines
boot/uboot/Config.in +1
-1config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2024.01" + bool "2024.04"Similar to your other patch ("boot/optee-os: bump to release v4.2.0") changing the global default will affect other platforms so there's some risk for breakage I suppose. Why not keeping those specific changes to the AM62/AM64 platforms?
Ha yeah I went back and forth with this. OP-TEE could use an update but there isn't a mechanism to cleanly select a version like we have with U-Boot or Linux (or I just wasn't smart enough to figure it out)
Though you are correct, having a way to specify which version a board wants to use would be more helpful the upgrading everyone. I'll see what I can come up with for OP-TEE so we can select versions for each board.
~Bryan
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 02/11] boot/uboot: bump to version v2024.04
In reply to Andreas Dannenberg via buildrootHello Andreas,
Quoted 4 lines · On Mon, 6 May 2024 03:53:15 -0500 Andreas Dannenberg via buildroot…
Similar to your other patch ("boot/optee-os: bump to release v4.2.0") changing the global default will affect other platforms so there's some risk for breakage I suppose. Why not keeping those specific changes to the AM62/AM64 platforms?
What Bryan did is totally fine and in line with how we handle things in Buildroot. For packages that are close the hardware (OP-TEE, TF-A, U-Boot, Linux), Buildroot offers:
- Using a "latest" version, which is regularly updated to the latest upstream version, which means that if you change Buildroot version, this version changes, like for any other package.
- Using a "custom" version, which is provided as an URL to a custom tarball, a tag/commit in a Git repo, etc. In this case, the version is explicitly specified in the user's .config file, and doesn't change when Buildroot is updated.
So, what Bryan did is update the "latest" version, and this is perfectly correct.
All our defconfigs use a "custom" version for all of Linux, U-Boot, OP-TEE, TF-A, specifically to ensure that despite the update in Buildroot, our defconfig keep on using the versions that were tested by the developer who submitted the defconfig.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 02/11] boot/uboot: bump to version v2024.04
Hi Thomas,
Quoted 23 lines · Thomas Petazzoni
Hello Andreas,
Quoted 4 lines · On Mon, 6 May 2024 03:53:15 -0500 Andreas Dannenberg via buildroot…
Similar to your other patch ("boot/optee-os: bump to release v4.2.0") changing the global default will affect other platforms so there's some risk for breakage I suppose. Why not keeping those specific changes to the AM62/AM64 platforms?
What Bryan did is totally fine and in line with how we handle things in Buildroot. For packages that are close the hardware (OP-TEE, TF-A, U-Boot, Linux), Buildroot offers:
- Using a "latest" version, which is regularly updated to the latest upstream version, which means that if you change Buildroot version, this version changes, like for any other package.
- Using a "custom" version, which is provided as an URL to a custom tarball, a tag/commit in a Git repo, etc. In this case, the version is explicitly specified in the user's .config file, and doesn't change when Buildroot is updated.
Quoted 7 lines
So, what Bryan did is update the "latest" version, and this is perfectly correct.
All our defconfigs use a "custom" version for all of Linux, U-Boot, OP-TEE, TF-A, specifically to ensure that despite the update in Buildroot, our defconfig keep on using the versions that were tested by the developer who submitted the defconfig.
Ah, that's the piece I wasn't fully aware of, that all of the defconfigs use a "custom" version, very much limiting the impact of the change here. Thanks for clarifying!
Regards,
Andreas
Quoted 7 lines
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 3/11 boot/ti-k3-r5-loader: bump to version v2024.04
In reply to Bryan Brattlof via buildrootThe ti-k3-r5-loader is just U-Boot with a different defconfig compiled for the 32b MCU cores needed for TI's K3 generation of SoCs. Update to match the U-Boot version
--- boot/ti-k3-r5-loader/Config.in | 4 ++-- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 1 + 3 files changed, 4 insertions(+), 3 deletions(-)
boot/ti-k3-r5-loader/Config.in +2 -2
@@ -18,7 +18,7 @@ choice here as it is used to build the main U-Boot package. config BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION - bool "2024.01" + bool "2024.04" config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION bool "Custom version"
@@ -62,7 +62,7 @@ endif config BR2_TARGET_TI_K3_R5_LOADER_VERSION string - default "2024.01" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION + default "2024.04" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE \ if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION default "custom" if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
boot/ti-k3-r5-loader/ti-k3-r5-loader.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed: -sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +1 -0
@@ -5,6 +5,7 @@ ################################################################################ TI_K3_R5_LOADER_VERSION = $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_VERSION)) +TI_K3_R5_LOADER_DL_DIR = $(UBOOT_DL_DIR) ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL),y) # Handle custom U-Boot tarballs as specified by the configuration
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 03/11] boot/ti-k3-r5-loader: bump to version v2024.04
Quoted 2 lines · On Thu, 2 May 2024 11:26:53 -0500 Bryan Brattlof via buildroot…
TI_K3_R5_LOADER_VERSION= $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_VERSION))
+TI_K3_R5_LOADER_DL_DIR = $(UBOOT_DL_DIR)
This is an unrelated change, so I dropped it from the commit when applying.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 03/11] boot/ti-k3-r5-loader: bump to version v2024.04
On May 6, 2024 thus sayeth Thomas Petazzoni via buildroot:
Quoted 9 lines
Quoted 2 lines · On Thu, 2 May 2024 11:26:53 -0500 Bryan Brattlof via buildroot…
TI_K3_R5_LOADER_VERSION= $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_VERSION))
+TI_K3_R5_LOADER_DL_DIR = $(UBOOT_DL_DIR)This is an unrelated change, so I dropped it from the commit when applying.
Oops thank you. This was an errant fixup from a little experiment trying to tie together the ti-k3-r5-loaders and uboot.
Thanks for catching it.
~Bryan
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 4/11 boot/ti-k3-boot-firmware: bump to version 09.02.00.009
In reply to Bryan Brattlof via buildrootThe 09.02.00.009 release of ti-linux-firmware has the latest updates to TI's TIFS, DM and DMSC firmware needed for the K3 generation of processors. Update to pull in these latest updates.
--- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.hash | 2 +- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.mk | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
boot/ti-k3-boot-firmware/ti-k3-boot-firmware.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated sha256 ab20ffbe7bba7e94be246b3417d33a914b3f07c16c47ef5a7f7602349a666a61 LICENSE.ti -sha256 6032a258ce731d987576115f5de44c677a6b0cf8bddcd61a9a2852928bdfff92 ti-linux-firmware-08.06.00.006.tar.xz +sha256 ae888a0a22f8c5b8fe841236d6e40bb2f821d9a4161dab6924fd989e1467ef0e ti-linux-firmware-09.02.00.009.tar.xz
boot/ti-k3-boot-firmware/ti-k3-boot-firmware.mk +1 -3
@@ -4,9 +4,7 @@ # ################################################################################ -# The hash 340194800a581baf976360386dfc7b5acab8d948 defined in the -# Makefile of ti-k3-image-gen corresponds to the tag 08.06.00.006. -TI_K3_BOOT_FIRMWARE_VERSION = 08.06.00.006 +TI_K3_BOOT_FIRMWARE_VERSION = 09.02.00.009 TI_K3_BOOT_FIRMWARE_SITE = https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/snapshot TI_K3_BOOT_FIRMWARE_SOURCE = ti-linux-firmware-$(TI_K3_BOOT_FIRMWARE_VERSION).tar.xz TI_K3_BOOT_FIRMWARE_INSTALL_IMAGES = YES
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 5/11 configs/ti_am62x_sk_defconfig: update TFA to v2.10
In reply to Bryan Brattlof via buildrootUpdate the TFA firmware to the latest LTS tag for v2.10 release of arm-trusted-firmware
--- .../ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- configs/ti_am62x_sk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed: -sha256 327c65b1bc231608a7a808b068b00c1a22310e9fc86158813cd10a9711d5725e arm-trusted-firmware-v2.7.tar.gz +sha256 ba215404fe9db26e5f2cef3fdce17b7c8ed344a2a1d592dd01a5f1c5e72cfdbd arm-trusted-firmware-lts-v2.10.4.tar.gz
configs/ti_am62x_sk_defconfig +1 -1
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_SIZE="256M" BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="lts-v2.10.4" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 05/11] configs/ti_am62x_sk_defconfig: update TFA to v2.10
Quoted 8 lines · On Thu, 2 May 2024 11:26:55 -0500 Bryan Brattlof via buildroot…
Update the TFA firmware to the latest LTS tag for v2.10 release of arm-trusted-firmware
Signed-off-by Bryan Brattlof <[email protected]>--- .../ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- configs/ti_am62x_sk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
The update of TF-A/U-Boot/Linux in one defconfig could be done in one single commit, so you could have done:
configs/ti_am62x_sk: update Linux, U-Boot, TF-A
configs/ti_am64x_sk: update Linux, U-Boot, TF-A
This is generally considered a good enough split.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 05/11] configs/ti_am62x_sk_defconfig: update TFA to v2.10
On May 6, 2024 thus sayeth Thomas Petazzoni via buildroot:
Quoted 12 lines
Quoted 8 lines · On Thu, 2 May 2024 11:26:55 -0500 Bryan Brattlof via buildroot…
Update the TFA firmware to the latest LTS tag for v2.10 release of arm-trusted-firmware
Signed-off-by Bryan Brattlof <[email protected]>--- .../ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- configs/ti_am62x_sk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 8 lines
The update of TF-A/U-Boot/Linux in one defconfig could be done in one single commit, so you could have done:
configs/ti_am62x_sk: update Linux, U-Boot, TF-A
configs/ti_am64x_sk: update Linux, U-Boot, TF-AThis is generally considered a good enough split.
Ah that's a good balance. Thank you
~Bryan
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 6/11 configs/ti_am64x_sk_defconfig: update TFA to v2.10
In reply to Bryan Brattlof via buildrootUpdate the TFA firmware to the latest LTS tag for v2.10 release of arm-trusted-firmware
--- .../ti/am64x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- configs/ti_am64x_sk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/ti/am64x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed: -sha256 327c65b1bc231608a7a808b068b00c1a22310e9fc86158813cd10a9711d5725e arm-trusted-firmware-v2.7.tar.gz +sha256 ba215404fe9db26e5f2cef3fdce17b7c8ed344a2a1d592dd01a5f1c5e72cfdbd arm-trusted-firmware-lts-v2.10.4.tar.gz
configs/ti_am64x_sk_defconfig +1 -1
@@ -19,7 +19,7 @@ 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.7" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="lts-v2.10.4" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 7/11 configs/ti_am62x_sk_defconfig: update U-Boot to v2024.04
In reply to Bryan Brattlof via buildrootBump to the latest release from U-Boot
--- configs/ti_am62x_sk_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
configs/ti_am62x_sk_defconfig +2 -2
@@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.01" +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.04" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 8/11 configs/ti_am64x_sk_defconfig: update U-Boot to v2024.04
In reply to Bryan Brattlof via buildrootBump to the latest release from U-Boot
--- configs/ti_am64x_sk_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
configs/ti_am64x_sk_defconfig +2 -2
@@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.01" +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.04" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 9/11 configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8
In reply to Bryan Brattlof via buildrootUpdate to the latest kernel to pull in the latest bug fixes and features for TI's SoCs and reference boards
--- board/ti/am62x-sk/patches/linux/linux.hash | 2 +- configs/ti_am62x_sk_defconfig | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
board/ti/am62x-sk/patches/linux/linux.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 4e43d8c5fba14f7c82597838011648056487b7550fd83276ad534559e8499b1d linux-6.6.18.tar.xz +sha256 1c4cdcb9d560fad1fb95db2cb8afbedc922f9ead848371fe40363b13f9f631ba linux-6.8.8.tar.xz
configs/ti_am62x_sk_defconfig +1 -2
@@ -1,5 +1,4 @@ BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_GLOBAL_PATCH_DIR="board/ti/am62x-sk/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/common/am6xx/post-build.sh"
@@ -8,7 +7,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.8" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH RESEND v2 09/11] configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8
configs/ti_am62x_sk_defconfig line 2
Quoted 7 lines · On Thu, 2 May 2024 11:26:59 -0500 Bryan Brattlof via buildroot…
configs/ti_am62x_sk_defconfig +0
-1@@ -1,5 +1,4 @@ BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
This should have stayed there, but become:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y
and ditto for the am64x_sk patch, of course.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 10/11 configs/ti_am64x_sk_defconfig: update kernel to v6.8.8
In reply to Bryan Brattlof via buildrootUpdate to the latest kernel to pull in the latest bug fixes and features for TI's SoCs and reference boards
--- board/ti/am64x-sk/patches/linux/linux.hash | 2 +- configs/ti_am64x_sk_defconfig | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
board/ti/am64x-sk/patches/linux/linux.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 4e43d8c5fba14f7c82597838011648056487b7550fd83276ad534559e8499b1d linux-6.6.18.tar.xz +sha256 1c4cdcb9d560fad1fb95db2cb8afbedc922f9ead848371fe40363b13f9f631ba linux-6.8.8.tar.xz
configs/ti_am64x_sk_defconfig +1 -2
@@ -1,5 +1,4 @@ BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_GLOBAL_PATCH_DIR="board/ti/am64x-sk/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/common/am6xx/post-build.sh"
@@ -8,7 +7,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.8" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am642-sk"
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v2 11/11 DEVELOPERS: add myself to TI's packages and reference boards
In reply to Bryan Brattlof via buildrootAdd myself to the DEVELOPERS files to help review patches related to TI's reference boards.
--- DEVELOPERS | 7 +++++++ 1 file changed, 7 insertions(+)
DEVELOPERS +7 -0
@@ -548,6 +548,13 @@ F: package/vmtouch/ N: Brock Williams <[email protected]> F: package/pdmenu/ +N: Bryan Brattlof <[email protected]> +F: board/ti/ +F: boot/ti-k3-boot-firmware/ +F: boot/ti-k3-r5-loader/ +F: configs/ti_am62x_sk_defconfig +F: configs/ti_am64x_sk_defconfig + N: Carlo Caione <[email protected]> F: package/jailhouse/ F: package/sunxi-boards/
Signature · 6 lines
2.43.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Bryan,
Quoted 9 lines · Bryan Brattlof
Hello everyone!
My apologies to everyone I just spammed with the first v2. I dropped the mailing list (still setting up my b4 configs) :/
This series updates all the boot binaries (U-Boot, OP-TEE, TF-A, and Linux) to their latest versions to pull in all bug fixes and new features additions in these projects.
Quoted 8 lines
This also includes a patch I send out a while ago just to keep things organized.
https://lore.kernel.org/buildroot/[email protected]/
and finally some proof I didn't completely break something ;)
https://paste.sr.ht/~bryanb/b666adef7da412de76efb5e4a68e68e0651f7928
I tested the series applied on top of today's HEAD commit...
66ebbebdb4 ("package/stress-ng: fix uclibc-ng build")
...and was able to boot successfully on both SK-AM62B and SK-AM64B EVMs (for record, both are HS-FS production-silicon EVMs). U-Boot, Kernel, ATF, OP-TEE, and TIFS/DM FW versions are all as advertised. I also tested networking to make sure it works. Boot logs look clean, except the TISCK clock related issues that are also visible in the log you shared...
<snip>
[ 2.673148] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=40, clk=9, ret=-19 [ 2.683736] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=18, ret=-19 [ 2.694116] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=17, ret=-19 [ 2.704494] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=16, ret=-19
<snip>
As per earlier discussion I know it needs a patch [1] that's not yet available in the Kernel tree we are using. But I think it would be nice if we could add this a patch, this would help to clean up the boot logs qute a bit. A lot of "failed" messages will be concerning to users.
For the series:
[1] https://github.com/torvalds/linux/commit/ad3ac13c6ec318b43e769cc9ffde67528e58e555
Quoted 42 lines
Thanks for reviewing
~BryanSigned-off-by Bryan Brattlof <[email protected]>---
Changes in v2:
- most emails never made it to the mailing list
- updated commit messages to be more explicit about versions picked
- Link to v1: https://lore.kernel.org/r/[email protected]---
Bryan Brattlof (11):
boot/optee-os: bump to release v4.2.0
boot/uboot: bump to version v2024.04 boot/ti-k3-r5-loader: bump to version v2024.04 boot/ti-k3-boot-firmware: bump to version 09.02.00.009 configs/ti_am62x_sk_defconfig: update TFA to v2.10 configs/ti_am64x_sk_defconfig: update TFA to v2.10 configs/ti_am62x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am64x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8 configs/ti_am64x_sk_defconfig: update kernel to v6.8.8
DEVELOPERS: add myself to TI's packages and reference boardsDEVELOPERS | 7 +++++++ .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am62x-sk/patches/linux/linux.hash | 2 +- .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am64x-sk/patches/linux/linux.hash | 2 +- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.hash | 2 +- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.mk | 4 +--- boot/ti-k3-r5-loader/Config.in | 4 ++-- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 1 + boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- configs/ti_am62x_sk_defconfig | 9 ++++----- configs/ti_am64x_sk_defconfig | 9 ++++----- 16 files changed, 33 insertions(+), 29 deletions(-)
Quoted 8 lines
---
base-commit:929bffbf4bf8fcb91bda446777f907f32c782656
change-id: 20240430-optee-update-b9c1bc4e9f29Best regards,
Signature · 1 line
Bryan Brattlof <[email protected]>
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Andreas!
On May 6, 2024 thus sayeth Andreas Dannenberg via buildroot:
Quoted 44 lines
Hi Bryan,
Quoted 9 lines · Bryan Brattlof
Hello everyone!
My apologies to everyone I just spammed with the first v2. I dropped the mailing list (still setting up my b4 configs) :/
This series updates all the boot binaries (U-Boot, OP-TEE, TF-A, and Linux) to their latest versions to pull in all bug fixes and new features additions in these projects.
Quoted 8 lines
This also includes a patch I send out a while ago just to keep things organized.
https://lore.kernel.org/buildroot/[email protected]/
and finally some proof I didn't completely break something ;)
https://paste.sr.ht/~bryanb/b666adef7da412de76efb5e4a68e68e0651f7928
I tested the series applied on top of today's HEAD commit...
66ebbebdb4("package/stress-ng: fix uclibc-ng build")...and was able to boot successfully on both SK-AM62B and SK-AM64B EVMs (for record, both are HS-FS production-silicon EVMs). U-Boot, Kernel, ATF, OP-TEE, and TIFS/DM FW versions are all as advertised. I also tested networking to make sure it works. Boot logs look clean, except the TISCK clock related issues that are also visible in the log you shared...
<snip>
[ 2.673148] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=40, clk=9, ret=-19 [ 2.683736] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=18, ret=-19 [ 2.694116] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=17, ret=-19 [ 2.704494] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=39, clk=16, ret=-19<snip>
As per earlier discussion I know it needs a patch [1] that's not yet available in the Kernel tree we are using. But I think it would be nice if we could add this a patch, this would help to clean up the boot logs qute a bit. A lot of "failed" messages will be concerning to users.
Quoted 6 lines
For the series:
Tested-by Andreas Dannenberg <[email protected]>[1] https://github.com/torvalds/linux/commit/ad3ac13c6ec318b43e769cc9ffde67528e58e555
That's not a bad idea! All K3 will need this patch so it makes sense to backport this into our board/ patches. I'll add that in in v2.
~Bryan
Quoted 46 lines
Quoted 46 lines
Thanks for reviewing
~BryanSigned-off-by Bryan Brattlof <[email protected]>---
Changes in v2:
- most emails never made it to the mailing list
- updated commit messages to be more explicit about versions picked
- Link to v1: https://lore.kernel.org/r/[email protected]---
Bryan Brattlof (11):
boot/optee-os: bump to release v4.2.0
boot/uboot: bump to version v2024.04 boot/ti-k3-r5-loader: bump to version v2024.04 boot/ti-k3-boot-firmware: bump to version 09.02.00.009 configs/ti_am62x_sk_defconfig: update TFA to v2.10 configs/ti_am64x_sk_defconfig: update TFA to v2.10 configs/ti_am62x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am64x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8 configs/ti_am64x_sk_defconfig: update kernel to v6.8.8
DEVELOPERS: add myself to TI's packages and reference boardsDEVELOPERS | 7 +++++++ .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am62x-sk/patches/linux/linux.hash | 2 +- .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- board/ti/am64x-sk/patches/linux/linux.hash | 2 +- boot/optee-os/Config.in | 4 ++-- boot/optee-os/optee-os.hash | 4 ++-- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.hash | 2 +- boot/ti-k3-boot-firmware/ti-k3-boot-firmware.mk | 4 +--- boot/ti-k3-r5-loader/Config.in | 4 ++-- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 1 + boot/uboot/Config.in | 6 +++--- boot/uboot/uboot.hash | 2 +- configs/ti_am62x_sk_defconfig | 9 ++++----- configs/ti_am64x_sk_defconfig | 9 ++++----- 16 files changed, 33 insertions(+), 29 deletions(-)---
base-commit:929bffbf4bf8fcb91bda446777f907f32c782656
change-id: 20240430-optee-update-b9c1bc4e9f29
Quoted 8 lines
Quoted 4 lines
Best regards,
Signature · 1 line
Bryan Brattlof <[email protected]>_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Bryan,
Quoted 4 lines · On Thu, 2 May 2024 11:26:50 -0500 Bryan Brattlof via buildroot…
Bryan Brattlof (11):
boot/optee-os: bump to release v4.2.0 boot/uboot: bump to version v2024.04 boot/ti-k3-r5-loader: bump to version v2024.04
Quoted 8 lines
boot/ti-k3-boot-firmware: bump to version 09.02.00.009 configs/ti_am62x_sk_defconfig: update TFA to v2.10 configs/ti_am64x_sk_defconfig: update TFA to v2.10 configs/ti_am62x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am64x_sk_defconfig: update U-Boot to v2024.04 configs/ti_am62x_sk_defconfig: bump kernel to v6.8.8 configs/ti_am64x_sk_defconfig: update kernel to v6.8.8
DEVELOPERS: add myself to TI's packages and reference boards
Thanks, entire series applied! I'll reply individually to a few of the patches with a few remarks/comments (not much).
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot