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
> 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
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
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))
> 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 @@
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
> 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
7 matches
Mail list logo