varigit / meta-variscite-bsp-imx

BSP layer for Variscite SOMs using NXP i.MX SoCs. Contains hardware-specific metadata and configurations.
https://variwiki.com
Other
6 stars 17 forks source link

variscite: Enable optee machine feature on iMX8 based machines #13

Open kraj opened 1 year ago

kraj commented 1 year ago

This picks up correct optee implementation which otherwise is randomly picked from meta-arm in a multi-BSP setup

Signed-off-by: Khem Raj raj.khem@gmail.com

nsdrude commented 7 months ago

@kraj for now, as I understand, it is not possible to enable optee globally because we have SOMs with different ram sizes, and optee-os hardcodes the ram size to match the NXP EVK.

We have a build time workaround for this, see: https://variwiki.com/index.php?title=IMX8_OPTEE&release=mx8mp-yocto-mickledore-6.1.36_2.1.0-v1.2

TEE_CFG_DDR_SIZE must be aligned with with the memory size assembled on the SOM.