All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01
@ 2024-03-19 12:23 Javad Rahimipetroudi via buildroot
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS Javad Rahimipetroudi via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Javad Rahimipetroudi via buildroot @ 2024-03-19 12:23 UTC (permalink / raw
  To: buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
---
Changes v3 -> v4:
  - Improve commit message
  - Modify commit title
Changes v2 -> v3:
  - ATF upgrade moved to another commit (suggested by Peter)

Changes v1 -> v2:
  - Uboot version fixed to 2024.01
  - Unnecessary variable removed from ATF additional build args

---
 configs/avenger96_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
index 536899583c..82702bcfc7 100644
--- a/configs/avenger96_defconfig
+++ b/configs/avenger96_defconfig
@@ -41,7 +41,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
 # BR2_TARGET_UBOOT_FORMAT_BIN is not set
 BR2_TARGET_UBOOT_FORMAT_DTB=y
-- 
2.44.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS
  2024-03-19 12:23 [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Javad Rahimipetroudi via buildroot
@ 2024-03-19 12:23 ` Javad Rahimipetroudi via buildroot
  2024-03-24 17:04   ` Arnout Vandecappelle via buildroot
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16 Javad Rahimipetroudi via buildroot
  2024-03-24 17:03 ` [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Arnout Vandecappelle via buildroot
  2 siblings, 1 reply; 6+ messages in thread
From: Javad Rahimipetroudi via buildroot @ 2024-03-19 12:23 UTC (permalink / raw
  To: buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi

This patch upgrades Kernel version to 6.6.22 LTS on avenger96 board.
Beside that, In accordance with the kernel 6.5rc1 commit
724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories")
the device tree path also has been modified to point the device tree in
the proper location.

As another change, due to commit 3108eb2e8aa7
("mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS"), the order of SD card and
eMMC probing has swapped. The SD card is now mmcblk0 instead of
mmcblk1. Thus, the default root append (mmcblk1p4) in 'extlinux.conf'
file in the overlay directory of the board is changed, otherwise the
rootfs was not possible to be detected.

Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
---
Changes v3 -> v4:
  - Upgrade Linux version (suggested by Arnout)
  - Modify commit message (suggested by Arnout)
  - Modift commit title
Changes v2 -> v3:
  - Update the commit to document the reason of changes (suggested by
    Peter)
Changes v1 -> v2:
  - Remove uboot changes from Linux patch to Uboot (suggested by Peter)
  - Fix the kernel header version for the toolchain.(suggested by Peter)

---
 board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf | 2 +-
 configs/avenger96_defconfig                               | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
index 5d506b3dae..7d6d7f8a44 100644
--- a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
+++ b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
@@ -1,4 +1,4 @@
 label stm32mp157c-dk2-buildroot
   kernel /boot/zImage
   devicetree /boot/stm32mp157a-dhcor-avenger96.dtb
-  append root=/dev/mmcblk1p4 rootwait
+  append root=/dev/mmcblk0p4 rootwait
diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
index 82702bcfc7..218955fc02 100644
--- a/configs/avenger96_defconfig
+++ b/configs/avenger96_defconfig
@@ -3,7 +3,7 @@ BR2_arm=y
 BR2_cortex_a7=y
 
 # Linux headers same as kernel, a 5.8 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
 
 # System configuration
 BR2_GLOBAL_PATCH_DIR="board/arrow/avenger96/patches"
@@ -13,10 +13,10 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-im
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.22"
 BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dhcor-avenger96"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="st/stm32mp157a-dhcor-avenger96"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 
-- 
2.44.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16
  2024-03-19 12:23 [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Javad Rahimipetroudi via buildroot
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS Javad Rahimipetroudi via buildroot
@ 2024-03-19 12:23 ` Javad Rahimipetroudi via buildroot
  2024-03-24 17:06   ` Arnout Vandecappelle via buildroot
  2024-03-24 17:03 ` [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Arnout Vandecappelle via buildroot
  2 siblings, 1 reply; 6+ messages in thread
From: Javad Rahimipetroudi via buildroot @ 2024-03-19 12:23 UTC (permalink / raw
  To: buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi

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@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

---
 ...ger96.dts-enable-hash-device-to-unbr.patch | 51 -------------------
 configs/avenger96_defconfig                   |  5 +-
 2 files changed, 2 insertions(+), 54 deletions(-)
 delete mode 100644 board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch

diff --git a/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch b/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch
deleted file mode 100644
index 8cec0af3b1..0000000000
--- a/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 336dc301e02d64507447f82020ce7a349797bef3 Mon Sep 17 00:00:00 2001
-From: Peter Korsgaard <peter@korsgaard.com>
-Date: Sun, 5 Nov 2023 14:59:16 +0100
-Subject: [PATCH] stm32mp157a-avenger96.dts: enable hash device to unbreak boot
- issue
-
-The avenger96 board was forgotten when authentication support was added with
-commit 4bdb1a7a6a1325343 (stm32mp1: add authentication support for
-stm32image), causing a panic when stm32mp_init_auth() is called, so fix it
-similar to how it was done for the STM32MP157C-ED1 board with:
-
-commit b37b52ef8bc05bfd8dcca992d4ba84cd7c5d23bb
-Author: Yann Gautier <yann.gautier@st.com>
-Date:   Tue Oct 13 18:05:06 2020 +0200
-
-    fdts: add missing hash node in STM32MP157C-ED1 board DT
-
-    Without this node, the board fails to boot and panics in the function
-    stm32mp_init_auth().
-
-    Change-Id: Ia54924410dac2a8c94dd6e45d7e93977fe7d87e2
-    Signed-off-by: Yann Gautier <yann.gautier@st.com>
-
-Upstream: N/A - Upstream reworked authentication to skip it for MP157A
- variant since v2.7, see "feat(st): disable authentication based on
- part_number"
- (https://github.com/ARM-software/arm-trusted-firmware/commit/49abdfd8cececb91a4bc7e7b29a30c09dce461c7)
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- fdts/stm32mp157a-avenger96.dts | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/fdts/stm32mp157a-avenger96.dts b/fdts/stm32mp157a-avenger96.dts
-index b967736e4..76edecb83 100644
---- a/fdts/stm32mp157a-avenger96.dts
-+++ b/fdts/stm32mp157a-avenger96.dts
-@@ -271,6 +271,10 @@
- 	};
- };
- 
-+&hash1 {
-+	status = "okay";
-+};
-+
- &rng1 {
- 	status = "okay";
- };
--- 
-2.39.2
-
diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
index 218955fc02..f73b654dc8 100644
--- a/configs/avenger96_defconfig
+++ b/configs/avenger96_defconfig
@@ -6,7 +6,6 @@ BR2_cortex_a7=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
 
 # System configuration
-BR2_GLOBAL_PATCH_DIR="board/arrow/avenger96/patches"
 BR2_ROOTFS_OVERLAY="board/arrow/avenger96/overlay/"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
 
@@ -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"
 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
-- 
2.44.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01
  2024-03-19 12:23 [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Javad Rahimipetroudi via buildroot
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS Javad Rahimipetroudi via buildroot
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16 Javad Rahimipetroudi via buildroot
@ 2024-03-24 17:03 ` Arnout Vandecappelle via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-03-24 17:03 UTC (permalink / raw
  To: Javad Rahimipetroudi, buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi



On 19/03/2024 13:23, Javad Rahimipetroudi wrote:
> Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>

  Please note that your From: adress is @essensium.com while your signoff is 
@mind.be. I think that you need to set the sendemail.from config to fix that.

  Applied to master with that fixed, thanks.

  Regards,
  Arnout

> ---
> Changes v3 -> v4:
>    - Improve commit message
>    - Modify commit title
> Changes v2 -> v3:
>    - ATF upgrade moved to another commit (suggested by Peter)
> 
> Changes v1 -> v2:
>    - Uboot version fixed to 2024.01
>    - Unnecessary variable removed from ATF additional build args
> 
> ---
>   configs/avenger96_defconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
> index 536899583c..82702bcfc7 100644
> --- a/configs/avenger96_defconfig
> +++ b/configs/avenger96_defconfig
> @@ -41,7 +41,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
>   BR2_TARGET_UBOOT=y
>   BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>   BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
>   BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
>   # BR2_TARGET_UBOOT_FORMAT_BIN is not set
>   BR2_TARGET_UBOOT_FORMAT_DTB=y
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS Javad Rahimipetroudi via buildroot
@ 2024-03-24 17:04   ` Arnout Vandecappelle via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-03-24 17:04 UTC (permalink / raw
  To: Javad Rahimipetroudi, buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi



On 19/03/2024 13:23, Javad Rahimipetroudi wrote:
> This patch upgrades Kernel version to 6.6.22 LTS on avenger96 board.
> Beside that, In accordance with the kernel 6.5rc1 commit
> 724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories")
> the device tree path also has been modified to point the device tree in
> the proper location.
> 
> As another change, due to commit 3108eb2e8aa7
> ("mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS"), the order of SD card and
> eMMC probing has swapped. The SD card is now mmcblk0 instead of
> mmcblk1. Thus, the default root append (mmcblk1p4) in 'extlinux.conf'
> file in the overlay directory of the board is changed, otherwise the
> rootfs was not possible to be detected.
> 
> Signed-off-by: Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
> Changes v3 -> v4:
>    - Upgrade Linux version (suggested by Arnout)
>    - Modify commit message (suggested by Arnout)
>    - Modift commit title
> Changes v2 -> v3:
>    - Update the commit to document the reason of changes (suggested by
>      Peter)
> Changes v1 -> v2:
>    - Remove uboot changes from Linux patch to Uboot (suggested by Peter)
>    - Fix the kernel header version for the toolchain.(suggested by Peter)
> 
> ---
>   board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf | 2 +-
>   configs/avenger96_defconfig                               | 6 +++---
>   2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
> index 5d506b3dae..7d6d7f8a44 100644
> --- a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
> +++ b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
> @@ -1,4 +1,4 @@
>   label stm32mp157c-dk2-buildroot
>     kernel /boot/zImage
>     devicetree /boot/stm32mp157a-dhcor-avenger96.dtb
> -  append root=/dev/mmcblk1p4 rootwait
> +  append root=/dev/mmcblk0p4 rootwait
> diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
> index 82702bcfc7..218955fc02 100644
> --- a/configs/avenger96_defconfig
> +++ b/configs/avenger96_defconfig
> @@ -3,7 +3,7 @@ BR2_arm=y
>   BR2_cortex_a7=y
>   
>   # Linux headers same as kernel, a 5.8 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
>   
>   # System configuration
>   BR2_GLOBAL_PATCH_DIR="board/arrow/avenger96/patches"
> @@ -13,10 +13,10 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-im
>   # Kernel
>   BR2_LINUX_KERNEL=y
>   BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.22"
>   BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
>   BR2_LINUX_KERNEL_DTS_SUPPORT=y
> -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dhcor-avenger96"
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="st/stm32mp157a-dhcor-avenger96"
>   BR2_LINUX_KERNEL_INSTALL_TARGET=y
>   BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
>   
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16
  2024-03-19 12:23 ` [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16 Javad Rahimipetroudi via buildroot
@ 2024-03-24 17:06   ` Arnout Vandecappelle via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-03-24 17:06 UTC (permalink / raw
  To: Javad Rahimipetroudi, buildroot; +Cc: Marleen Vos, Javad Rahimipetroudi



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@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-24 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-19 12:23 [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Javad Rahimipetroudi via buildroot
2024-03-19 12:23 ` [Buildroot] [PATCH v4 2/3] configs/avenger96_defconfig: bump Linux version to 6.6.22 LTS Javad Rahimipetroudi via buildroot
2024-03-24 17:04   ` Arnout Vandecappelle via buildroot
2024-03-19 12:23 ` [Buildroot] [PATCH v4 3/3] configs/avenger96_defconfig: bump ATF version to lts-v2.8.16 Javad Rahimipetroudi via buildroot
2024-03-24 17:06   ` Arnout Vandecappelle via buildroot
2024-03-24 17:03 ` [Buildroot] [PATCH v4 1/3] configs/avenger96_defconfig: bump U-Boot version to 2024.01 Arnout Vandecappelle 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.