* [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot
@ 2021-09-14 12:14 Patrick Delaunay
2021-09-15 8:37 ` Patrice CHOTARD
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Patrick Delaunay @ 2021-09-14 12:14 UTC (permalink / raw)
To: u-boot
Cc: Alexandru Gagniuc, Patrick Delaunay, Patrice Chotard,
Simon Glass, Tom Rini, U-Boot STM32
Continue to use the "ssbl" name for GPT partition of secondary boot
stage = U-Boot for basic boot with SPL to avoid to disturb existing user.
The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A
BL2 requirement; it the default configuration for STMicroelectronics
boards.
Fixes: b73e8bf453f8 ("arm: stm32mp: add defconfig for trusted boot with FIP")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 +++-
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
index 0101962ea5..15a04ae927 100644
--- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
@@ -21,11 +21,13 @@
st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
config {
u-boot,mmc-env-partition = "ssbl";
};
+#endif
+#ifdef CONFIG_STM32MP15x_STM32IMAGE
/* only needed for boot with TF-A, witout FIP support */
firmware {
optee {
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index 32777384c6..408abaf52f 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -20,11 +20,13 @@
st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
config {
u-boot,mmc-env-partition = "ssbl";
};
+#endif
+#ifdef CONFIG_STM32MP15x_STM32IMAGE
/* only needed for boot with TF-A, witout FIP support */
firmware {
optee {
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot
2021-09-14 12:14 [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot Patrick Delaunay
@ 2021-09-15 8:37 ` Patrice CHOTARD
2021-09-21 7:28 ` Patrick DELAUNAY
2021-09-29 14:41 ` Alex G.
2 siblings, 0 replies; 4+ messages in thread
From: Patrice CHOTARD @ 2021-09-15 8:37 UTC (permalink / raw)
To: Patrick Delaunay, u-boot
Cc: Alexandru Gagniuc, Simon Glass, Tom Rini, U-Boot STM32
HI Patrick
On 9/14/21 2:14 PM, Patrick Delaunay wrote:
> Continue to use the "ssbl" name for GPT partition of secondary boot
> stage = U-Boot for basic boot with SPL to avoid to disturb existing user.
>
> The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A
> BL2 requirement; it the default configuration for STMicroelectronics
> boards.
>
> Fixes: b73e8bf453f8 ("arm: stm32mp: add defconfig for trusted boot with FIP")
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
> arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 +++-
> arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 4 +++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> index 0101962ea5..15a04ae927 100644
> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> @@ -21,11 +21,13 @@
> st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
> };
>
> -#ifdef CONFIG_STM32MP15x_STM32IMAGE
> +#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
> config {
> u-boot,mmc-env-partition = "ssbl";
> };
> +#endif
>
> +#ifdef CONFIG_STM32MP15x_STM32IMAGE
> /* only needed for boot with TF-A, witout FIP support */
> firmware {
> optee {
> diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
> index 32777384c6..408abaf52f 100644
> --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
> @@ -20,11 +20,13 @@
> st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
> };
>
> -#ifdef CONFIG_STM32MP15x_STM32IMAGE
> +#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
> config {
> u-boot,mmc-env-partition = "ssbl";
> };
> +#endif
>
> +#ifdef CONFIG_STM32MP15x_STM32IMAGE
> /* only needed for boot with TF-A, witout FIP support */
> firmware {
> optee {
>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Thanks
Patrice
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot
2021-09-14 12:14 [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot Patrick Delaunay
2021-09-15 8:37 ` Patrice CHOTARD
@ 2021-09-21 7:28 ` Patrick DELAUNAY
2021-09-29 14:41 ` Alex G.
2 siblings, 0 replies; 4+ messages in thread
From: Patrick DELAUNAY @ 2021-09-21 7:28 UTC (permalink / raw)
To: u-boot
Cc: Alexandru Gagniuc, Patrice Chotard, Simon Glass, Tom Rini, U-Boot STM32
Hi,
On 9/14/21 2:14 PM, Patrick Delaunay wrote:
> Continue to use the "ssbl" name for GPT partition of secondary boot
> stage = U-Boot for basic boot with SPL to avoid to disturb existing user.
>
> The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A
> BL2 requirement; it the default configuration for STMicroelectronics
> boards.
>
> Fixes: b73e8bf453f8 ("arm: stm32mp: add defconfig for trusted boot with FIP")
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
> arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 +++-
> arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 4 +++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot
2021-09-14 12:14 [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot Patrick Delaunay
2021-09-15 8:37 ` Patrice CHOTARD
2021-09-21 7:28 ` Patrick DELAUNAY
@ 2021-09-29 14:41 ` Alex G.
2 siblings, 0 replies; 4+ messages in thread
From: Alex G. @ 2021-09-29 14:41 UTC (permalink / raw)
To: Patrick Delaunay, u-boot
Cc: Patrice Chotard, Simon Glass, Tom Rini, U-Boot STM32
On 9/14/21 7:14 AM, Patrick Delaunay wrote:
> Continue to use the "ssbl" name for GPT partition of secondary boot
> stage = U-Boot for basic boot with SPL to avoid to disturb existing user.
>
> The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A
> BL2 requirement; it the default configuration for STMicroelectronics
> boards.
>
> Fixes: b73e8bf453f8 ("arm: stm32mp: add defconfig for trusted boot with FIP")
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Tested-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-29 14:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 12:14 [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot Patrick Delaunay
2021-09-15 8:37 ` Patrice CHOTARD
2021-09-21 7:28 ` Patrick DELAUNAY
2021-09-29 14:41 ` Alex G.
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.