summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/imx-base.inc31
-rw-r--r--conf/machine/include/imx8mm-evk.inc3
-rw-r--r--conf/machine/include/imx8mn-evk.inc3
-rw-r--r--conf/machine/include/imx8mp-evk.inc3
4 files changed, 21 insertions, 19 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index e24e14e1..2962c9e9 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -113,6 +113,15 @@ UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1"
113# Default TF-A provider to NXP downstream fork 113# Default TF-A provider to NXP downstream fork
114IMX_DEFAULT_ATF_PROVIDER ??= "imx-atf" 114IMX_DEFAULT_ATF_PROVIDER ??= "imx-atf"
115 115
116# Allow setting the UART used during the boot by ATF.
117
118# FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART
119# base address in source code.
120SOC_ATF_BOOT_UART_BASE = ""
121
122SOC_ATF_BOOT_UART_BASE:mx8m-generic-bsp = "0x30890000"
123ATF_BOOT_UART_BASE ?= "${SOC_ATF_BOOT_UART_BASE}"
124
116PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 125PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
117XSERVER_DRIVER = "xf86-video-fbdev" 126XSERVER_DRIVER = "xf86-video-fbdev"
118XSERVER_DRIVER:vf-generic-bsp = "xf86-video-modesetting" 127XSERVER_DRIVER:vf-generic-bsp = "xf86-video-modesetting"
@@ -343,6 +352,12 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \
343 imx-test->virtual/imxvpu \ 352 imx-test->virtual/imxvpu \
344" 353"
345 354
355# Firmware used for boot.
356IMX_EXTRA_FIRMWARE ?= ""
357IMX_EXTRA_FIRMWARE:mx8-generic-bsp = "firmware-imx-8 imx-sc-firmware imx-seco"
358IMX_EXTRA_FIRMWARE:mx8m-generic-bsp = "firmware-imx-8m"
359IMX_EXTRA_FIRMWARE:mx8x-generic-bsp = "imx-sc-firmware imx-seco"
360
346# Firmware 361# Firmware
347MACHINE_FIRMWARE ?= "" 362MACHINE_FIRMWARE ?= ""
348MACHINE_FIRMWARE:append:mx27-generic-bsp = " firmware-imx-vpu-imx27" 363MACHINE_FIRMWARE:append:mx27-generic-bsp = " firmware-imx-vpu-imx27"
@@ -503,22 +518,18 @@ WKS_FILE_DEPENDS ?= " \
503 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ 518 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
504" 519"
505 520
506WKS_FILE_DEPENDS:append:mx8-nxp-bsp = " imx-boot"
507WKS_FILE_DEPENDS:append:mx8m-nxp-bsp = " imx-boot"
508
509# We need to restrict the append so we don't add this for other i.MX SoC's. 521# We need to restrict the append so we don't add this for other i.MX SoC's.
510# Derivatives that are not yet adopted the usage of boot container provided 522# Derivatives that are not yet adopted the usage of boot container provided
511# by U-Boot build are still targeted to use 'imx-boot' package provided by 523# by U-Boot build are still targeted to use 'imx-boot' package provided by
512# NXP. Moving those derivatives to mainline BSP would require to define an 524# NXP.
525#
526# Moving those derivatives to mainline BSP would require to define an
513# 'imx-boot-container' override, and test if the U-Boot built 'flash.bin' 527# 'imx-boot-container' override, and test if the U-Boot built 'flash.bin'
514# binary is used a replacement. 528# binary is used a replacement.
515# Note, that the results binary name of the boot container is set to 'imx-boot' 529#
530# NOTE: the results binary name of the boot container is set to 'imx-boot'
516# for both NXP and Mainline BSP. 531# for both NXP and Mainline BSP.
517# For Mainline BSP: the 'flash.bin' boot container is renamed during the 532WKS_FILE_DEPENDS:append:imx-generic-bsp:aarch64 = " \
518# deployment task extesion execution defined in imx-boot-container class.
519# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile
520# task.
521WKS_FILE_DEPENDS:append:imx-mainline-bsp:aarch64 = " \
522 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \ 533 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
523" 534"
524 535
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
index 41f7bad4..6d317f11 100644
--- a/conf/machine/include/imx8mm-evk.inc
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -37,9 +37,6 @@ SPL_BINARY = "spl/u-boot-spl.bin"
37 37
38ATF_PLATFORM = "imx8mm" 38ATF_PLATFORM = "imx8mm"
39 39
40# Extra firmware package name, that is required to build boot container for fslc bsp
41IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
42
43IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" 40IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}"
44 41
45IMX_BOOT_SOC_TARGET = "iMX8MM" 42IMX_BOOT_SOC_TARGET = "iMX8MM"
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc
index 5a5b447f..2f2c02f9 100644
--- a/conf/machine/include/imx8mn-evk.inc
+++ b/conf/machine/include/imx8mn-evk.inc
@@ -42,9 +42,6 @@ SPL_BINARY = "spl/u-boot-spl.bin"
42 42
43ATF_PLATFORM = "imx8mn" 43ATF_PLATFORM = "imx8mn"
44 44
45# Extra firmware package name, that is required to build boot container for fslc bsp
46IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
47
48IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" 45IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}"
49 46
50IMX_BOOT_SOC_TARGET = "iMX8MN" 47IMX_BOOT_SOC_TARGET = "iMX8MN"
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc
index 3e98d3c1..d93557d2 100644
--- a/conf/machine/include/imx8mp-evk.inc
+++ b/conf/machine/include/imx8mp-evk.inc
@@ -37,9 +37,6 @@ SPL_BINARY = "spl/u-boot-spl.bin"
37 37
38ATF_PLATFORM = "imx8mp" 38ATF_PLATFORM = "imx8mp"
39 39
40# Extra firmware package name, that is required to build boot container for fslc bsp
41IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
42
43IMXBOOT_TARGETS = \ 40IMXBOOT_TARGETS = \
44 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', \ 41 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', \
45 '${IMXBOOT_TARGETS_BASENAME}', d)}" 42 '${IMXBOOT_TARGETS_BASENAME}', d)}"