configs/freescale_imx93evk: Add OP-TEE OS support
Add OP-TEE OS Support. NXP BSP lf-6.12.3-1.0.0 version. The i.MX93 Boot Container requires a raw TEE binary without a TEE header. Update the imx9-bootloader-prepare.sh script and Config.in accordingly to ensure compatibility with this requirement. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> [Julien: remove empty line in hash file to fix check-package error] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
83b3dc9815
commit
c45735988e
@@ -20,7 +20,7 @@ main ()
|
||||
"${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \
|
||||
-ap "${BINARIES_DIR}/bl31.bin" a55 ${ATF_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-hash.bin" a55 0x80200000 \
|
||||
-ap "${BINARIES_DIR}/tee.bin" a55 0x96000000 \
|
||||
-ap "${BINARIES_DIR}/tee-raw.bin" a55 0x96000000 \
|
||||
-out "${BINARIES_DIR}/u-boot-atf-container.img"
|
||||
else
|
||||
"${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \
|
||||
|
||||
2
board/freescale/imx93evk/patches/optee-os/optee-os.hash
Normal file
2
board/freescale/imx93evk/patches/optee-os/optee-os.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 4b685080a094cb0f0489b8114ae8b73c37ec13eda9f5618c8b6311ff1f472f57 imx-optee-os-lf-6.12.3-1.0.0.tar.gz
|
||||
@@ -167,7 +167,7 @@ config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_CORE_IMAGES
|
||||
string "Binary boot images"
|
||||
default "tee.bin tee-*_v2.bin"
|
||||
default "tee.bin tee-raw.bin tee-*_v2.bin"
|
||||
help
|
||||
Names of generated image files that are installed in the
|
||||
output images/ directory.
|
||||
|
||||
@@ -25,6 +25,13 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.12.3-1.0.0)/imx-atf-lf-6.12.3-1.0.0.tar.gz"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx93"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
|
||||
BR2_TARGET_OPTEE_OS=y
|
||||
BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL=y
|
||||
BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-optee-os,lf-6.12.3-1.0.0)/imx-optee-os-lf-6.12.3-1.0.0.tar.gz"
|
||||
BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY=y
|
||||
BR2_TARGET_OPTEE_OS_PLATFORM="imx"
|
||||
BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR="mx93evk"
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
||||
|
||||
Reference in New Issue
Block a user