summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 7e5437d3..459b98d4 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -266,6 +266,11 @@ PREFERRED_VERSION_libdrm_mx6 ?= "2.4.91.imx"
266PREFERRED_VERSION_libdrm_mx7 ?= "2.4.91.imx" 266PREFERRED_VERSION_libdrm_mx7 ?= "2.4.91.imx"
267PREFERRED_VERSION_libdrm_mx8 ?= "2.4.91.imx" 267PREFERRED_VERSION_libdrm_mx8 ?= "2.4.91.imx"
268 268
269# Use i.MX optee Version
270PREFERRED_VERSION_optee-os_mx8 ?= "3.2.0.imx"
271PREFERRED_VERSION_optee-client_mx8 ?= "3.2.0.imx"
272PREFERRED_VERSION_optee-test_mx8 ?= "3.2.0.imx"
273
269# Handle default kernel 274# Handle default kernel
270IMX_DEFAULT_KERNEL = "linux-imx" 275IMX_DEFAULT_KERNEL = "linux-imx"
271IMX_DEFAULT_KERNEL_mxs = "linux-fslc" 276IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
@@ -287,19 +292,29 @@ SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.gz"
287# Do not update fstab file when using wic images 292# Do not update fstab file when using wic images
288WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" 293WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
289 294
295OPTEE_BOOT_IMAGE = "uTee"
296OPTEE_BOOT_IMAGE_aarch64 = ""
297
298SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4"
299
290IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" 300IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
291 301
292IMAGE_BOOT_FILES ?= " \ 302IMAGE_BOOT_FILES ?= " \
293 ${KERNEL_IMAGETYPE} \ 303 ${KERNEL_IMAGETYPE} \
294 ${@make_dtb_boot_files(d)} \ 304 ${@make_dtb_boot_files(d)} \
305 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_BOOT_IMAGE}', '', d)} \
295" 306"
296 307
297### wic default support 308### wic default support
309OPTEE_WKS_FILE_DEPENDS = "optee-os"
310OPTEE_WKS_FILE_DEPENDS_aarch64 = ""
311
298WKS_FILE_DEPENDS ?= " \ 312WKS_FILE_DEPENDS ?= " \
299 virtual/bootloader \ 313 virtual/bootloader \
300 \ 314 \
301 e2fsprogs-native \ 315 e2fsprogs-native \
302 bmap-tools-native \ 316 bmap-tools-native \
317 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
303" 318"
304 319
305WKS_FILE_DEPENDS_mx8 += "imx-boot" 320WKS_FILE_DEPENDS_mx8 += "imx-boot"