[RFC PATCH 2/2] riscv: dts: binman.dtsi: Include OP-TEE OS image
Leo Liang
ycliang at andestech.com
Mon Feb 3 04:59:46 CET 2025
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 at sifive.com>
> ---
> arch/riscv/dts/binman.dtsi | 26 ++++++++++++++++++++++++--
> 1 file changed, 24 insertions(+), 2 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list