* [PATCH] arm: dts: k3-binman: Make optee optional as requirement
@ 2024-02-25 17:38 Michael Trimarchi
2024-02-26 3:17 ` Neha Malcom Francis
0 siblings, 1 reply; 3+ messages in thread
From: Michael Trimarchi @ 2024-02-25 17:38 UTC (permalink / raw)
To: Tom Rini, u-boot
Cc: Nishanth Menon, Simon Glass, Neha Malcom Francis,
Manorit Chawdhry, linux-amarula, Michael Trimarchi
Boards can use the ti_spl_template but avoid to define a tee
node to be loaded. This is true form board with 512Mb or less
memory. We can limit this in configuation removing the tee
node
configurations {
default = "conf-0";
conf-0 {
description = "k3-am62_ccm_m3";
firmware = "atf";
loadables = "dm", "spl";
fdt = "fdt-0";
};
};
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
arch/arm/dts/k3-binman.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
index 758c8bf6ea..5ef5af315a 100644
--- a/arch/arm/dts/k3-binman.dtsi
+++ b/arch/arm/dts/k3-binman.dtsi
@@ -293,6 +293,7 @@
keyfile = "custMpk.pem";
};
tee: tee-os {
+ optional;
};
};
@@ -360,6 +361,7 @@
entry = <0x9e800000>;
tee-os {
filename = "tee-raw.bin";
+ optional;
};
};
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm: dts: k3-binman: Make optee optional as requirement
2024-02-25 17:38 [PATCH] arm: dts: k3-binman: Make optee optional as requirement Michael Trimarchi
@ 2024-02-26 3:17 ` Neha Malcom Francis
2024-02-26 6:59 ` Michael Nazzareno Trimarchi
0 siblings, 1 reply; 3+ messages in thread
From: Neha Malcom Francis @ 2024-02-26 3:17 UTC (permalink / raw)
To: Michael Trimarchi, Tom Rini, u-boot, Raghavendra, Vignesh
Cc: Nishanth Menon, Simon Glass, Manorit Chawdhry, linux-amarula
Hi Michael
+ Vignesh
On 25/02/24 23:08, Michael Trimarchi wrote:
> Boards can use the ti_spl_template but avoid to define a tee
> node to be loaded. This is true form board with 512Mb or less
s/form board/for boards? I am guessing that is what was meant. I am not really
understanding the commit message... does <512MB memory always mean no using
OPTEE? (AM62 SIP would be an exception) The commit message is putting out a
misleading reason why we don't need OPTEE in some cases, I don't think memory is
the primary reason.
> memory. We can limit this in configuation removing the tee
s/configuation/configuration
> node
>
> configurations {
> default = "conf-0";
>
> conf-0 {
> description = "k3-am62_ccm_m3";
> firmware = "atf";
> loadables = "dm", "spl";
> fdt = "fdt-0";
> };
> };
>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> ---
> arch/arm/dts/k3-binman.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
> index 758c8bf6ea..5ef5af315a 100644
> --- a/arch/arm/dts/k3-binman.dtsi
> +++ b/arch/arm/dts/k3-binman.dtsi
> @@ -293,6 +293,7 @@
> keyfile = "custMpk.pem";
> };
> tee: tee-os {
> + optional;
> };
> };
>
> @@ -360,6 +361,7 @@
> entry = <0x9e800000>;
> tee-os {
> filename = "tee-raw.bin";
> + optional;
> };
> };
>
The patch excluding the commit message LGTM.
--
Thanking You
Neha Malcom Francis
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm: dts: k3-binman: Make optee optional as requirement
2024-02-26 3:17 ` Neha Malcom Francis
@ 2024-02-26 6:59 ` Michael Nazzareno Trimarchi
0 siblings, 0 replies; 3+ messages in thread
From: Michael Nazzareno Trimarchi @ 2024-02-26 6:59 UTC (permalink / raw)
To: Neha Malcom Francis
Cc: Tom Rini, u-boot, Raghavendra, Vignesh, Nishanth Menon,
Simon Glass, Manorit Chawdhry, linux-amarula
Hi
On Mon, Feb 26, 2024 at 4:17 AM Neha Malcom Francis <n-francis@ti.com> wrote:
>
> Hi Michael
>
> + Vignesh
>
> On 25/02/24 23:08, Michael Trimarchi wrote:
> > Boards can use the ti_spl_template but avoid to define a tee
> > node to be loaded. This is true form board with 512Mb or less
>
> s/form board/for boards? I am guessing that is what was meant. I am not really
> understanding the commit message... does <512MB memory always mean no using
> OPTEE? (AM62 SIP would be an exception) The commit message is putting out a
> misleading reason why we don't need OPTEE in some cases, I don't think memory is
> the primary reason.
>
I will adjust commit message. In general when you have module with 256
Mb of memory you
try to arrange the available memory to put the essential components.
Anyway having still not
submitted board I found out that is convenient to use the template but
in the same time remove
from my configuration what is not mandatory and let binman to warning
and not to fail
Michael
> > memory. We can limit this in configuation removing the tee
>
> s/configuation/configuration
>
> > node
> >
> > configurations {
> > default = "conf-0";
> >
> > conf-0 {
> > description = "k3-am62_ccm_m3";
> > firmware = "atf";
> > loadables = "dm", "spl";
> > fdt = "fdt-0";
> > };
> > };
> >
> > Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> > ---
> > arch/arm/dts/k3-binman.dtsi | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
> > index 758c8bf6ea..5ef5af315a 100644
> > --- a/arch/arm/dts/k3-binman.dtsi
> > +++ b/arch/arm/dts/k3-binman.dtsi
> > @@ -293,6 +293,7 @@
> > keyfile = "custMpk.pem";
> > };
> > tee: tee-os {
> > + optional;
> > };
> > };
> >
> > @@ -360,6 +361,7 @@
> > entry = <0x9e800000>;
> > tee-os {
> > filename = "tee-raw.bin";
> > + optional;
> > };
> > };
> >
>
> The patch excluding the commit message LGTM.
>
> --
> Thanking You
> Neha Malcom Francis
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael@amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info@amarulasolutions.com
www.amarulasolutions.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-26 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25 17:38 [PATCH] arm: dts: k3-binman: Make optee optional as requirement Michael Trimarchi
2024-02-26 3:17 ` Neha Malcom Francis
2024-02-26 6:59 ` Michael Nazzareno Trimarchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox