summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-01-19 09:38:15 -0300
committerGitHub <noreply@github.com>2022-01-19 09:38:15 -0300
commit1041425ee15140674d3fd721c6c85c5f59f5728b (patch)
treefb59cbc08ded6dd9a69de0662f87c6e77a4d1f35
parentf7f1da7c95325feb96e1cb0f7bc205261374b818 (diff)
parent7663f4d74f05cee771e28ac043d8c2fd35fe1d69 (diff)
downloadmeta-freescale-1041425ee15140674d3fd721c6c85c5f59f5728b.tar.gz
Merge pull request #952 from zandrey/imx8mq-mainline-bsp-support
[imx8mq-evk]: Add Mainline BSP support
-rw-r--r--conf/machine/imx8mq-evk.conf34
1 files changed, 30 insertions, 4 deletions
diff --git a/conf/machine/imx8mq-evk.conf b/conf/machine/imx8mq-evk.conf
index cea44ed1..cb63dceb 100644
--- a/conf/machine/imx8mq-evk.conf
+++ b/conf/machine/imx8mq-evk.conf
@@ -4,15 +4,18 @@
4#@DESCRIPTION: Machine configuration for NXP i.MX 8M Quad Evaluation Kit 4#@DESCRIPTION: Machine configuration for NXP i.MX 8M Quad Evaluation Kit
5#@MAINTAINER: Jun Zhu <junzhu@nxp.com> 5#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
6 6
7MACHINEOVERRIDES =. "mx8:mx8m:mx8mq:" 7MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mq:"
8 8
9require conf/machine/include/imx-base.inc 9require conf/machine/include/imx-base.inc
10require conf/machine/include/arm/armv8a/tune-cortexa53.inc 10require conf/machine/include/arm/armv8a/tune-cortexa53.inc
11 11
12IMX_DEFAULT_BSP = "nxp" 12# Mainline BSP defaults to "generic" cortexa53 configuration,
13# adjust it here to include crypto extension which enables
14# inline NEON and FPU code generation
15DEFAULTTUNE:use-mainline-bsp = "cortexa53-crypto"
13 16
14MACHINE_FEATURES += "pci wifi bluetooth optee bcm43455 bcm4356" 17MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356"
15MACHINE_FEATURES:append:use-nxp-bsp = " bcm4359" 18MACHINE_FEATURES:append:use-nxp-bsp = " optee bcm4359"
16 19
17MACHINE_SOCARCH_FILTER:append:mx8mq = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" 20MACHINE_SOCARCH_FILTER:append:mx8mq = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
18 21
@@ -64,11 +67,34 @@ UBOOT_DTB_NAME = "imx8mq-evk.dtb"
64 67
65# Set ATF platform name 68# Set ATF platform name
66ATF_PLATFORM = "imx8mq" 69ATF_PLATFORM = "imx8mq"
70ATF_LOAD_ADDR = "0x910000"
71
72# Extra firmware package name, that is required to build boot container for fslc bsp
73IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
67 74
68# Set imx-mkimage boot target 75# Set imx-mkimage boot target
69IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi flash_dp_evk" 76IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi flash_dp_evk"
70IMX_BOOT_SOC_TARGET = "iMX8M" 77IMX_BOOT_SOC_TARGET = "iMX8M"
71 78
79# Add support for Syslinux to mainline BSP.
80# U-Boot has the Distro Boot mode enabled by default, which
81# require that either Syslinux to be enabled, or a boot script
82# to be used to define the boot process.
83# We opt-in for Syslinux, since it is designated as a preferred
84# distro boot mode according to the U-Boot documentation.
85UBOOT_EXTLINUX:use-mainline-bsp = "1"
86UBOOT_EXTLINUX_LABELS:use-mainline-bsp = "default"
87UBOOT_EXTLINUX_DEFAULT_LABEL:use-mainline-bsp = "i.MX8M Quad EVK"
88
89UBOOT_EXTLINUX_MENU_DESCRIPTION:default:use-mainline-bsp = "i.MX8M Quad EVK"
90UBOOT_EXTLINUX_FDT:default:use-mainline-bsp = "../imx8mq-evk.dtb"
91UBOOT_EXTLINUX_CONSOLE:default:use-mainline-bsp = "console=${console}"
92UBOOT_EXTLINUX_ROOT:default:use-mainline-bsp ??= "root=/dev/mmcblk1p2"
93
94# Add extlinux.conf to the lis of files, which are deployed onto the
95# boot partition
96IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
97
72LOADADDR = "" 98LOADADDR = ""
73UBOOT_SUFFIX = "bin" 99UBOOT_SUFFIX = "bin"
74UBOOT_MAKE_TARGET = "" 100UBOOT_MAKE_TARGET = ""