configs/freescale_imx93evk_defconfig: Add OP-TEE OS support
PATCH v2 1/1 configs/freescale_imx93evk_defconfig: Add OP-TEE OS support
From: Breno Lima <[email protected]>
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.
---
Changes in v2:
- Updated title
- Added OP-TEE OS Hash
--- board/freescale/common/imx/imx9-bootloader-prepare.sh | 2 +- board/freescale/imx93evk/patches/optee-os/optee-os.hash | 3 +++ boot/optee-os/Config.in | 2 +- configs/freescale_imx93evk_defconfig | 7 +++++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 board/freescale/imx93evk/patches/optee-os/optee-os.hash
board/freescale/common/imx/imx9-bootloader-prepare.sh +1 -1
@@ -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 \
board/freescale/imx93evk/patches/optee-os/optee-os.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 4b685080a094cb0f0489b8114ae8b73c37ec13eda9f5618c8b6311ff1f472f57 imx-optee-os-lf-6.12.3-1.0.0.tar.gz +
boot/optee-os/Config.in +1 -1
@@ -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.
configs/freescale_imx93evk_defconfig +7 -0
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain via buildroot
AppliedQuoted 10 lines · Breno Lima
From: Breno Lima <[email protected]>
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.shscript and Config.in accordingly to ensure compatibility with this requirement.Signed-off-by Fabio Estevam <[email protected]>Signed-off-by Breno Lima <[email protected]>
Applied to next, thanks.
For info, I carried over the "Reviewed-by: Sébastien Szymanski <[email protected]>" from the v1, since there is no other changes apart the hash file.
I also fixed a check-package error by removing the empty new line in the hash file.
See:
https://gitlab.com/buildroot.org/buildroot/-/commit/c45735988ef19aa7085bc89a5e9e2327248ab3e5
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot