From: Leo Liang <ycliang@andestech.com>
To: Yu-Chien Peter Lin <peter.lin@sifive.com>
Cc: <trini@konsulko.com>, <xypron.glpk@gmx.de>,
<seashell11234455@gmail.com>, <dan.carpenter@linaro.org>,
<mchitale@ventanamicro.com>, <ben.dooks@codethink.co.uk>,
<u-boot@lists.denx.de>
Subject: Re: [RFC PATCH 2/2] riscv: dts: binman.dtsi: Include OP-TEE OS image
Date: Mon, 3 Feb 2025 11:59:46 +0800 [thread overview]
Message-ID: <Z6A_MufA_iK62XKq@swlinux02> (raw)
In-Reply-To: <20250111015527.35528-3-peter.lin@sifive.com>
On Sat, Jan 11, 2025 at 09:55:27AM +0800, Yu-Chien Peter Lin wrote:
> The following diagram illustrates the boot flow for OP-TEE OS
> initialization on RISC-V.
>
> (1)-----------+
> | U-Boot SPL |
> +------------+
> |
> v
> (2)-------------------------------------------------------------+
> | OpenSBI (fw_dynamic.bin) |
> | (4)------------------------+ |
> | | optee dispatcher driver | |
> +-----------------+-------^---------|-------+------------------+
> M-mode | | |
> ---------+--[trusted domain]---+----.----+--[untrusted domain]-------
> S-mode | (coldboot domain) | | |
> v | | v
> (3)---------------------------+ |(5)----------------------------+
> | OP-TEE OS (tee.bin) | | | U-Boot (u-boot-nodtb.bin) |
> +----------------------------+ | +-----------------------------+
> | |
> | v
> |(6)----------------------------+
> | | Linux |
> | +-----------------------------+
>
> This patch enables the inclusion of the OP-TEE binary within the
> U-Boot ITB, allowing it to be loaded to a platform defined address
> by U-Boot SPL.
>
> Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
> ---
> arch/riscv/dts/binman.dtsi | 26 ++++++++++++++++++++++++--
> 1 file changed, 24 insertions(+), 2 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
prev parent reply other threads:[~2025-02-03 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-11 1:55 [RFC PATCH 0/2] Integrate OP-TEE into the RISC-V boot flow Yu-Chien Peter Lin
2025-01-11 1:55 ` [RFC PATCH 1/2] riscv: Add CONFIG_SPL_OPTEE_LOAD_ADDR Yu-Chien Peter Lin
2025-02-03 3:58 ` Leo Liang
2025-01-11 1:55 ` [RFC PATCH 2/2] riscv: dts: binman.dtsi: Include OP-TEE OS image Yu-Chien Peter Lin
2025-02-03 3:59 ` Leo Liang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z6A_MufA_iK62XKq@swlinux02 \
--to=ycliang@andestech.com \
--cc=ben.dooks@codethink.co.uk \
--cc=dan.carpenter@linaro.org \
--cc=mchitale@ventanamicro.com \
--cc=peter.lin@sifive.com \
--cc=seashell11234455@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox