mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-23 15:41:33 +00:00
This patch adds a new type IH_OS_TEE. This new OS type will be used for chain-loading to Linux via a TEE. With this patch in-place you can generate a bootable OPTEE image like this: mkimage -A arm -T kernel -O tee -C none -d tee.bin uTee.optee where "tee.bin" is the input binary prefixed with an OPTEE header and uTee.optee is the output prefixed with a u-boot wrapper header. This image type "-T kernel -O tee" is differentiated from the existing IH_TYPE_TEE "-T tee" in that the IH_TYPE is installed by u-boot (flow control returns to u-boot) whereas for the new IH_OS_TEE control passes to the OPTEE firmware and the firmware chainloads onto Linux. Andrew Davis gave the following ASCII diagram: IH_OS_TEE: (mkimage -T kernel -O tee) Non-Secure Secure BootROM | ------------- | v SPL | v U-Boot ------> <----- OP-TEE | V Linux IH_TYPE_TEE: (mkimage -T tee) Non-Secure Secure BootROM | ------------- | v SPL -------> <----- OP-TEE | v U-Boot | V Linux Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Suggested-by: Andrew F. Davis <afd@ti.com> Cc: Harinarayan Bhatta <harinarayan@ti.com> Cc: Andrew F. Davis <afd@ti.com> Cc: Tom Rini <trini@konsulko.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Peng Fan <peng.fan@nxp.com> Link: http://mrvan.github.io/optee-imx6ul |
||
---|---|---|
.. | ||
binman | ||
buildman | ||
dtoc | ||
easylogo | ||
env | ||
gdb | ||
kermit | ||
libfdt | ||
logos | ||
omap | ||
patman | ||
scripts | ||
.gitignore | ||
aisimage.c | ||
aisimage.h | ||
atmel_pmecc_params.c | ||
atmelimage.c | ||
bmp_logo.c | ||
default_image.c | ||
dumpimage.c | ||
dumpimage.h | ||
envcrc.c | ||
fdt_host.h | ||
fdtgrep.c | ||
file2include.c | ||
fit_check_sign.c | ||
fit_common.c | ||
fit_common.h | ||
fit_image.c | ||
fit_info.c | ||
gen_eth_addr.c | ||
gen_ethaddr_crc.c | ||
genboardscfg.py | ||
getline.c | ||
getline.h | ||
gpheader.h | ||
gpimage-common.c | ||
gpimage.c | ||
ifdtool.c | ||
ifdtool.h | ||
image-host.c | ||
imagetool.c | ||
imagetool.h | ||
img2brec.sh | ||
img2srec.c | ||
imximage.c | ||
jtagconsole | ||
kwbimage.c | ||
kwbimage.h | ||
kwboot.c | ||
lpc32xximage.c | ||
Makefile | ||
microcode-tool | ||
microcode-tool.py | ||
mingw_support.c | ||
mingw_support.h | ||
mips-relocs.c | ||
mkenvimage.c | ||
mkexynosspl.c | ||
mkimage.c | ||
mkimage.h | ||
mksunxiboot.c | ||
moveconfig.py | ||
mrvl_uart.sh | ||
mxsboot.c | ||
mxsimage.c | ||
mxsimage.h | ||
ncb.c | ||
netconsole | ||
omapimage.c | ||
omapimage.h | ||
os_support.c | ||
os_support.h | ||
pbl_crc32.c | ||
pbl_crc32.h | ||
pblimage.c | ||
pblimage.h | ||
prelink-riscv.c | ||
prelink-riscv.inc | ||
proftool.c | ||
relocate-rela.c | ||
rkcommon.c | ||
rkcommon.h | ||
rkimage.c | ||
rkmux.py | ||
rksd.c | ||
rkspi.c | ||
socfpgaimage.c | ||
stm32image.c | ||
sunxi-spl-image-builder.c | ||
ublimage.c | ||
ublimage.h | ||
ubsha1.c | ||
vybridimage.c | ||
xway-swap-bytes.c | ||
zynqimage.c | ||
zynqmpimage.c |