diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2020-09-06 17:03:29 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-09-29 16:56:20 -0300 |
commit | 19b67c2beec9c458da53ed1db0ba85fa7de60e14 (patch) | |
tree | 0bfc04f3524edffbecfa20e0f240fc5887213a93 /conf | |
parent | 91a3a45f14eda2e2c0a79e7c9c69736cdc94fe5e (diff) | |
download | meta-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.conf | 66 | ||||
-rw-r--r-- | conf/machine/include/imx-base.inc | 23 |
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 | |||
7 | MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:" | ||
8 | |||
9 | require conf/machine/include/imx-base.inc | ||
10 | require conf/machine/include/tune-cortexa53.inc | ||
11 | |||
12 | IMX_DEFAULT_BSP = "nxp" | ||
13 | |||
14 | MACHINE_FEATURES += " pci wifi bluetooth optee mrvl8997" | ||
15 | |||
16 | KERNEL_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 | |||
32 | UBOOT_CONFIG ??= "sd" | ||
33 | UBOOT_CONFIG[sd] = "imx8mp_evk_defconfig,sdcard" | ||
34 | UBOOT_CONFIG[fspi] = "imx8mp_evk_defconfig" | ||
35 | UBOOT_CONFIG[ecc] = "imx8mp_evk_inline_ecc_defconfig" | ||
36 | UBOOT_CONFIG[mfgtool] = "imx8mp_evk_defconfig" | ||
37 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
38 | |||
39 | # Set DDR FIRMWARE | ||
40 | DDR_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 | ||
48 | UBOOT_DTB_NAME = "imx8mp-evk.dtb" | ||
49 | |||
50 | # Set imx-mkimage boot target | ||
51 | IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}" | ||
52 | |||
53 | # Set Serial console | ||
54 | SERIAL_CONSOLES = "115200;ttymxc1" | ||
55 | |||
56 | IMAGE_BOOTLOADER = "imx-boot" | ||
57 | |||
58 | LOADADDR = "" | ||
59 | UBOOT_SUFFIX = "bin" | ||
60 | UBOOT_MAKE_TARGET = "" | ||
61 | IMX_BOOT_SEEK = "32" | ||
62 | |||
63 | OPTEE_BIN_EXT = "8mp" | ||
64 | |||
65 | # Add additional firmware | ||
66 | MACHINE_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" | |||
53 | UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" | 53 | UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" |
54 | UBOOT_ENTRYPOINT_mx8mm = "0x40480000" | 54 | UBOOT_ENTRYPOINT_mx8mm = "0x40480000" |
55 | UBOOT_ENTRYPOINT_mx8mn = "0x40480000" | 55 | UBOOT_ENTRYPOINT_mx8mn = "0x40480000" |
56 | UBOOT_ENTRYPOINT_mx8mp = "0x40480000" | ||
56 | UBOOT_ENTRYPOINT_mx8mq = "0x40480000" | 57 | UBOOT_ENTRYPOINT_mx8mq = "0x40480000" |
57 | UBOOT_ENTRYPOINT_vf = "0x80008000" | 58 | UBOOT_ENTRYPOINT_vf = "0x80008000" |
58 | 59 | ||
@@ -84,6 +85,7 @@ DEFAULTTUNE_vf ?= "cortexa5thf-neon" | |||
84 | 85 | ||
85 | DEFAULTTUNE_mx8mm ?= "cortexa53-crypto" | 86 | DEFAULTTUNE_mx8mm ?= "cortexa53-crypto" |
86 | DEFAULTTUNE_mx8mn ?= "cortexa53-crypto" | 87 | DEFAULTTUNE_mx8mn ?= "cortexa53-crypto" |
88 | DEFAULTTUNE_mx8mp ?= "cortexa53-crypto" | ||
87 | DEFAULTTUNE_mx8mq ?= "cortexa53-crypto" | 89 | DEFAULTTUNE_mx8mq ?= "cortexa53-crypto" |
88 | DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" | 90 | DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" |
89 | DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" | 91 | DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" |
@@ -103,6 +105,7 @@ MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" | |||
103 | MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 105 | MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" |
104 | MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | 106 | MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" |
105 | MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" | 107 | MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" |
108 | MACHINEOVERRIDES_EXTENDER_mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | ||
106 | MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" | 109 | MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" |
107 | MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 110 | MACHINEOVERRIDES_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" | |||
146 | MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" | 150 | MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" |
147 | MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" | 151 | MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" |
148 | MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" | 152 | MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" |
153 | MACHINE_SOCARCH_SUFFIX_mx8mp = "-mx8mp" | ||
149 | MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" | 154 | MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" |
150 | MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" | 155 | MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" |
151 | MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" | 156 | MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" |
@@ -226,6 +231,7 @@ MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc" | |||
226 | MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" | 231 | MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" |
227 | MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" | 232 | MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" |
228 | MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" | 233 | MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" |
234 | MACHINE_FIRMWARE_append_mx8mp = " firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" | ||
229 | MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" | 235 | MACHINE_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 |
263 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | 269 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" |
264 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" | 270 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" |
265 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" | 271 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" |
266 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" | 272 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" |
267 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" | 273 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" |
268 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" | 274 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" |
269 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" | 275 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" |
270 | MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" | 276 | MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" |
277 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mm ?= "imx-gst1.0-plugin" | ||
278 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mn ?= "imx-gst1.0-plugin" | ||
279 | MACHINE_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 |
273 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" | 282 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" |