summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2020-09-06 17:03:29 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-09-29 16:56:20 -0300
commit19b67c2beec9c458da53ed1db0ba85fa7de60e14 (patch)
tree0bfc04f3524edffbecfa20e0f240fc5887213a93 /conf
parent91a3a45f14eda2e2c0a79e7c9c69736cdc94fe5e (diff)
downloadmeta-freescale-19b67c2beec9c458da53ed1db0ba85fa7de60e14.tar.gz
imx8mpevk.conf: add machine definition for i.MX8M Plus Soc
Add machine definition file based in NXP release 5.4.24-2.1.0 Modify imx-base.inc machine file to add defines required to bring new machine definition into the base. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx8mpevk.conf66
-rw-r--r--conf/machine/include/imx-base.inc23
2 files changed, 82 insertions, 7 deletions
diff --git a/conf/machine/imx8mpevk.conf b/conf/machine/imx8mpevk.conf
new file mode 100644
index 00000000..d1376649
--- /dev/null
+++ b/conf/machine/imx8mpevk.conf
@@ -0,0 +1,66 @@
1#@TYPE: Machine
2#@NAME: NXP i.MX8MP Evaluation Kit and i.MX8MP Evaluation Kit
3#@SOC: i.MX8MP
4#@DESCRIPTION: Machine configuration for NXP i.MX8MP EVK
5#@MAINTAINER: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
6
7MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:"
8
9require conf/machine/include/imx-base.inc
10require conf/machine/include/tune-cortexa53.inc
11
12IMX_DEFAULT_BSP = "nxp"
13
14MACHINE_FEATURES += " pci wifi bluetooth optee mrvl8997"
15
16KERNEL_DEVICETREE = " \
17 freescale/imx8mp-ab2.dtb \
18 freescale/imx8mp-evk-basler.dtb \
19 freescale/imx8mp-evk.dtb \
20 freescale/imx8mp-evk-dsp.dtb \
21 freescale/imx8mp-evk-flexcan2.dtb \
22 freescale/imx8mp-evk-inmate.dtb \
23 freescale/imx8mp-evk-jdi-wuxga-lvds-panel.dtb \
24 freescale/imx8mp-evk-it6263-lvds-dual-channel.dtb \
25 freescale/imx8mp-evk-ov2775.dtb \
26 freescale/imx8mp-evk-rm67191.dtb \
27 freescale/imx8mp-evk-root.dtb \
28 freescale/imx8mp-evk-rpmsg.dtb \
29 freescale/imx8mp-evk-sof-wm8960.dtb \
30"
31
32UBOOT_CONFIG ??= "sd"
33UBOOT_CONFIG[sd] = "imx8mp_evk_defconfig,sdcard"
34UBOOT_CONFIG[fspi] = "imx8mp_evk_defconfig"
35UBOOT_CONFIG[ecc] = "imx8mp_evk_inline_ecc_defconfig"
36UBOOT_CONFIG[mfgtool] = "imx8mp_evk_defconfig"
37SPL_BINARY = "spl/u-boot-spl.bin"
38
39# Set DDR FIRMWARE
40DDR_FIRMWARE_NAME = " \
41 lpddr4_pmu_train_1d_dmem_201904.bin \
42 lpddr4_pmu_train_1d_imem_201904.bin \
43 lpddr4_pmu_train_2d_dmem_201904.bin \
44 lpddr4_pmu_train_2d_imem_201904.bin \
45"
46
47# Set u-boot DTB
48UBOOT_DTB_NAME = "imx8mp-evk.dtb"
49
50# Set imx-mkimage boot target
51IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"
52
53# Set Serial console
54SERIAL_CONSOLES = "115200;ttymxc1"
55
56IMAGE_BOOTLOADER = "imx-boot"
57
58LOADADDR = ""
59UBOOT_SUFFIX = "bin"
60UBOOT_MAKE_TARGET = ""
61IMX_BOOT_SEEK = "32"
62
63OPTEE_BIN_EXT = "8mp"
64
65# Add additional firmware
66MACHINE_FIRMWARE_append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 4d01bae6..83e49969 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -53,6 +53,7 @@ UBOOT_ENTRYPOINT_mx7 = "0x80008000"
53UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" 53UBOOT_ENTRYPOINT_mx7ulp = "0x60008000"
54UBOOT_ENTRYPOINT_mx8mm = "0x40480000" 54UBOOT_ENTRYPOINT_mx8mm = "0x40480000"
55UBOOT_ENTRYPOINT_mx8mn = "0x40480000" 55UBOOT_ENTRYPOINT_mx8mn = "0x40480000"
56UBOOT_ENTRYPOINT_mx8mp = "0x40480000"
56UBOOT_ENTRYPOINT_mx8mq = "0x40480000" 57UBOOT_ENTRYPOINT_mx8mq = "0x40480000"
57UBOOT_ENTRYPOINT_vf = "0x80008000" 58UBOOT_ENTRYPOINT_vf = "0x80008000"
58 59
@@ -84,6 +85,7 @@ DEFAULTTUNE_vf ?= "cortexa5thf-neon"
84 85
85DEFAULTTUNE_mx8mm ?= "cortexa53-crypto" 86DEFAULTTUNE_mx8mm ?= "cortexa53-crypto"
86DEFAULTTUNE_mx8mn ?= "cortexa53-crypto" 87DEFAULTTUNE_mx8mn ?= "cortexa53-crypto"
88DEFAULTTUNE_mx8mp ?= "cortexa53-crypto"
87DEFAULTTUNE_mx8mq ?= "cortexa53-crypto" 89DEFAULTTUNE_mx8mq ?= "cortexa53-crypto"
88DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" 90DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto"
89DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" 91DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto"
@@ -103,6 +105,7 @@ MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
103MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 105MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
104MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 106MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
105MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" 107MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d"
108MACHINEOVERRIDES_EXTENDER_mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
106MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" 109MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d"
107MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 110MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
108 111
@@ -126,6 +129,7 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
126 mx8qm \ 129 mx8qm \
127 mx8mm \ 130 mx8mm \
128 mx8mn \ 131 mx8mn \
132 mx8mp \
129 mx8mq \ 133 mx8mq \
130 mx8qxp \ 134 mx8qxp \
131" 135"
@@ -146,6 +150,7 @@ MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul"
146MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" 150MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8"
147MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" 151MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm"
148MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" 152MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn"
153MACHINE_SOCARCH_SUFFIX_mx8mp = "-mx8mp"
149MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" 154MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m"
150MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" 155MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8"
151MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" 156MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx"
@@ -226,6 +231,7 @@ MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc"
226MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" 231MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc"
227MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" 232MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
228MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" 233MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
234MACHINE_FIRMWARE_append_mx8mp = " firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx"
229MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" 235MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
230 236
231# FIXME: Needs addition of firmware-imx of official BSPs 237# FIXME: Needs addition of firmware-imx of official BSPs
@@ -260,14 +266,17 @@ MACHINE_EXTRA_RRECOMMENDS += " \
260" 266"
261 267
262# GStreamer 1.0 plugins 268# GStreamer 1.0 plugins
263MACHINE_GSTREAMER_1_0_PLUGIN ?= "" 269MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
264MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" 270MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta"
265MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" 271MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta"
266MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" 272MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta"
267MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" 273MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta"
268MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" 274MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta"
269MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" 275MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta"
270MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" 276MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta"
277MACHINE_GSTREAMER_1_0_PLUGIN_mx8mm ?= "imx-gst1.0-plugin"
278MACHINE_GSTREAMER_1_0_PLUGIN_mx8mn ?= "imx-gst1.0-plugin"
279MACHINE_GSTREAMER_1_0_PLUGIN_mx8mp ?= "imx-gst1.0-plugin"
271 280
272# Determines if the SoC has support for Vivante kernel driver 281# Determines if the SoC has support for Vivante kernel driver
273SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" 282SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"