[Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16

Arnout Vandecappelle arnout at mind.be
Sun Mar 24 17:06:18 UTC 2024



On 19/03/2024 13:23, Javad Rahimipetroudi wrote:
> This patch upgrades the ATF version to lts-v2.8.16. Please note that
> due to DTS chages from commit 51e223058fe70b311542178f1865514745fa7874
> ("feat(stm32mp15-fdts): add Avenger96 board with STM32MP157A DHCOR SoM")
> The ATF additional build variable also modified to use the new DTS file.
> 
> Furthermore, 'E=0' flag also removed from ATF additional build
> variable. As it was added by
> commit deb8d71c9285eb60bc3d28e8abcf7208f78980a7 to avoid TFA build
> fail because of '-Werror' flag. However, from version v2.6 or later,
> it is not required anymore.
> 
> The ATF patch
> "board/arrow/avenger96/patches/arm-trusted-firmware/
> 0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch" also
> has been removed. As it was not required due to using Dhcore DTS
> file for the ATF build.
> 
> Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi at mind.be>
> ---
> Changes v1 -> v2:
>    - Upgrade ATF version to lts-2.8.16 (suggested by Arnout)
>    - Remove ATF patch (suggested by Peter)
>    - Improve commit document
>    - Modify commit title
> 

[snip]
> @@ -29,13 +28,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
>   # Bootloaders
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
> -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.6"
> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="lts-v2.8.16"

  I changed this from custom version to

BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_8_VERSION=y

Note that that implies that it was downgraded to lts-v2.8.13, because that is 
the version we currently have. So it would be nice if you could do an update of 
the arm-trusted-firmware LTS version.

  Applied to master, thanks.

  Regards,
  Arnout

>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin"
> -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-avenger96.dtb E=0 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb"
> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dhcor-avenger96.dtb BL33_CFG=$(BINARIES_DIR)/u-boot.dtb"
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32"
>   BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
>   BR2_TARGET_UBOOT=y



More information about the buildroot mailing list