Re: [PATCH] imx8m: soc: cope with existing optee node

2025-05-13 Thread Rasmus Villemoes
On Mon, Mar 10 2025, Vincent Stehlé wrote: > On i.MX8M SoCs, the /firmware/optee Devicetree node is created just before > booting the OS when OP-TEE is found running. If the node already exists, > this results in an error, which prevents the OS to boot: > > Could not create optee node. > ERRO

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-15 Thread Peng Fan
> Subject: Re: [PATCH] imx8m: soc: cope with existing optee node > > On Wed, Mar 12, 2025 at 12:10 PM Peng Fan > wrote: > > > Partially right. > > But The issue here is to handle the case that the node is created by > > optee os and uboot should bypass creating

Re: [PATCH] imx8m: soc: cope with existing optee node

2025-03-13 Thread Vincent Stehlé
On Wed, Mar 12, 2025 at 11:12:35AM -0300, Fabio Estevam wrote: > Hi Vincent, > > On Mon, Mar 10, 2025 at 9:36 AM Vincent Stehlé wrote: > > > --- a/arch/arm/mach-imx/imx8m/soc.c > > +++ b/arch/arm/mach-imx/imx8m/soc.c > > @@ -1270,8 +1270,9 @@ static int ft_add_optee_node(void *fdt, struct > > b

Re: [PATCH] imx8m: soc: cope with existing optee node

2025-03-12 Thread Fabio Estevam
On Wed, Mar 12, 2025 at 12:10 PM Peng Fan wrote: > Partially right. > But The issue here is to handle the case that the node > is created by optee os and uboot should bypass creating it again. Yes, ths patch is correct. My question is if we also need to pass if (!IS_ENABLED(CONFIG_OPTEE))

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-12 Thread Peng Fan
> Subject: Re: [PATCH] imx8m: soc: cope with existing optee node > > Hi Vincent, > > On Mon, Mar 10, 2025 at 9:36 AM Vincent Stehlé > wrote: > > > --- a/arch/arm/mach-imx/imx8m/soc.c > > +++ b/arch/arm/mach-imx/imx8m/soc.c > > @@ -1270,8 +1270,9 @@

Re: [PATCH] imx8m: soc: cope with existing optee node

2025-03-12 Thread Fabio Estevam
Hi Vincent, On Mon, Mar 10, 2025 at 9:36 AM Vincent Stehlé wrote: > --- a/arch/arm/mach-imx/imx8m/soc.c > +++ b/arch/arm/mach-imx/imx8m/soc.c > @@ -1270,8 +1270,9 @@ static int ft_add_optee_node(void *fdt, struct bd_info > *bd) > } > } > > + /* Locate the optee nod

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-11 Thread Peng Fan
> Subject: [PATCH] imx8m: soc: cope with existing optee node > > On i.MX8M SoCs, the /firmware/optee Devicetree node is created just > before booting the OS when OP-TEE is found running. If the node > already exists, this results in an error, which prevents the OS to boot: > > Could not create