diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-01-19 09:38:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 09:38:15 -0300 |
commit | 1041425ee15140674d3fd721c6c85c5f59f5728b (patch) | |
tree | fb59cbc08ded6dd9a69de0662f87c6e77a4d1f35 | |
parent | f7f1da7c95325feb96e1cb0f7bc205261374b818 (diff) | |
parent | 7663f4d74f05cee771e28ac043d8c2fd35fe1d69 (diff) | |
download | meta-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.conf | 34 |
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 | ||
7 | MACHINEOVERRIDES =. "mx8:mx8m:mx8mq:" | 7 | MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mq:" |
8 | 8 | ||
9 | require conf/machine/include/imx-base.inc | 9 | require conf/machine/include/imx-base.inc |
10 | require conf/machine/include/arm/armv8a/tune-cortexa53.inc | 10 | require conf/machine/include/arm/armv8a/tune-cortexa53.inc |
11 | 11 | ||
12 | IMX_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 | ||
15 | DEFAULTTUNE:use-mainline-bsp = "cortexa53-crypto" | ||
13 | 16 | ||
14 | MACHINE_FEATURES += "pci wifi bluetooth optee bcm43455 bcm4356" | 17 | MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356" |
15 | MACHINE_FEATURES:append:use-nxp-bsp = " bcm4359" | 18 | MACHINE_FEATURES:append:use-nxp-bsp = " optee bcm4359" |
16 | 19 | ||
17 | MACHINE_SOCARCH_FILTER:append:mx8mq = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" | 20 | MACHINE_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 |
66 | ATF_PLATFORM = "imx8mq" | 69 | ATF_PLATFORM = "imx8mq" |
70 | ATF_LOAD_ADDR = "0x910000" | ||
71 | |||
72 | # Extra firmware package name, that is required to build boot container for fslc bsp | ||
73 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | ||
67 | 74 | ||
68 | # Set imx-mkimage boot target | 75 | # Set imx-mkimage boot target |
69 | IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi flash_dp_evk" | 76 | IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi flash_dp_evk" |
70 | IMX_BOOT_SOC_TARGET = "iMX8M" | 77 | IMX_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. | ||
85 | UBOOT_EXTLINUX:use-mainline-bsp = "1" | ||
86 | UBOOT_EXTLINUX_LABELS:use-mainline-bsp = "default" | ||
87 | UBOOT_EXTLINUX_DEFAULT_LABEL:use-mainline-bsp = "i.MX8M Quad EVK" | ||
88 | |||
89 | UBOOT_EXTLINUX_MENU_DESCRIPTION:default:use-mainline-bsp = "i.MX8M Quad EVK" | ||
90 | UBOOT_EXTLINUX_FDT:default:use-mainline-bsp = "../imx8mq-evk.dtb" | ||
91 | UBOOT_EXTLINUX_CONSOLE:default:use-mainline-bsp = "console=${console}" | ||
92 | UBOOT_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 | ||
96 | IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" | ||
97 | |||
72 | LOADADDR = "" | 98 | LOADADDR = "" |
73 | UBOOT_SUFFIX = "bin" | 99 | UBOOT_SUFFIX = "bin" |
74 | UBOOT_MAKE_TARGET = "" | 100 | UBOOT_MAKE_TARGET = "" |