meta-imx/meta-cockpit
Tom Hochstein ab1bf86d8b optee-os: Fix tee build for cockpit [LF-8867]
The build is creating the same tee.bin for a72 and a53. The problem is
that the base recipe sets PLATFORM=imx-mx8qmmek, so both builds are
generating for this PLATFORM. Override PLATFORM instead of
PLATFORM_FLAVOR to fix this.

The deploy folder file tee.bin is linked to the poorly named
tee.mx8qmmek.bin. Fix this by overriding OPTEEMACHINE with the platform
for the a72.

Also replace objcopy with a simply copy of tee-raw.bin.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-26 15:58:52 +02:00
..
conf meta-cockpit: Add mickledore to LAYERSERIES_COMPAT 2023-04-26 07:43:26 -07:00
recipes-bsp eCockpit: imx-boot: Fix ATF selection for OP-TEE case [LF-6037] 2023-03-16 21:17:28 -05:00
recipes-kernel/linux meta-imx: Convert to new override syntax 2021-10-20 15:01:20 -05:00
recipes-security/optee-os optee-os: Fix tee build for cockpit [LF-8867] 2023-05-26 15:58:52 +02:00
README Cockpit Readme: Add uboot_config setting information 2021-08-03 11:24:38 -05:00

To add the Digital Cockpit to the Linux Yocto Project build, follow the commands below

  • Setup the machine

$ MACHINE=imx8qmmek-cockpit-mek DISTRO=fsl-imx-xwayland . ./imx-setup-release.sh -b build-cockpit

  • Hook in the meta-cockpit layer $ hook_in_layer meta-imx/meta-cockpit

Before building add the following line to the local.conf UBOOT_CONFIG = "a72 a53"

When using the new machine configuration imx8qmmek-cockpit-mek this will automation include the chnages for the kernel, arm trusted firmware, imx-boot, system controller firmware and optee into any image that is built.

For more details on integration follow the i.MX Digital Cockpit User's Guide as a reference.