summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuqing Zhu <carol.zhu@nxp.com>2018-09-30 16:52:36 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2018-10-06 11:55:55 -0300
commitbbfa4f51b4ee48e377bbf3e6313b6d23e7aecc2f (patch)
tree5c87f33f5db93cc3c8b51db777ac3ceb7f2b9bea
parent57dfb85de5a2ee7c5cb8c1b6ebf3c43621ebe951 (diff)
downloadmeta-freescale-bbfa4f51b4ee48e377bbf3e6313b6d23e7aecc2f.tar.gz
imx8mmevk.conf/imx-base.inc: Add i.MX 8MM EVK support
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/imx8mmevk.conf58
-rw-r--r--conf/machine/include/imx-base.inc3
2 files changed, 61 insertions, 0 deletions
diff --git a/conf/machine/imx8mmevk.conf b/conf/machine/imx8mmevk.conf
new file mode 100644
index 00000000..8d1c6e5b
--- /dev/null
+++ b/conf/machine/imx8mmevk.conf
@@ -0,0 +1,58 @@
1#@TYPE: Machine
2#@NAME: NXP i.MX8MM Evaluation Kit
3#@SOC: i.MX8MM
4#@DESCRIPTION: Machine configuration for NXP i.MX8MMini EVK
5#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
6
7MACHINEOVERRIDES =. "mx8:mx8mm:"
8
9require conf/machine/include/imx-base.inc
10require conf/machine/include/arm/arch-arm64.inc
11
12MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174"
13
14MACHINE_SOCARCH_FILTER_append_mx8mm = "virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
15
16KERNEL_DEVICETREE = "freescale/fsl-imx8mm-evk.dtb "
17KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-ak4497.dtb freescale/fsl-imx8mm-evk-ak5558.dtb "
18KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-audio-tdm.dtb "
19KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-inmate.dtb "
20KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-m4.dtb "
21KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-rm67191.dtb "
22KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-root.dtb"
23
24IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
25IMAGE_BOOTFILES += "imx8mm_m4_TCM_hello_world.bin \
26 imx8mm_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \
27 imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin \
28 imx8mm_m4_TCM_sai_low_power_audio.bin \
29"
30
31UBOOT_CONFIG ??= "sd"
32UBOOT_CONFIG[sd] = "imx8mm_evk_config,sdcard"
33UBOOT_CONFIG[fspi] = "imx8mm_evk_fspi_defconfig"
34UBOOT_CONFIG[mfgtool] = "imx8mm_evk_config"
35SPL_BINARY = "spl/u-boot-spl.bin"
36
37# Set DDR FIRMWARE
38DDR_FIRMWARE_NAME = "lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin"
39
40# Set u-boot DTB
41UBOOT_DTB_NAME = "fsl-imx8mm-evk.dtb"
42
43# Set imx-mkimage boot target
44IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"
45
46# Set Serial console
47SERIAL_CONSOLE = "115200 ttymxc1"
48
49IMAGE_BOOTLOADER = "imx-boot"
50
51BOOT_SPACE = "65536"
52
53LOADADDR = ""
54UBOOT_SUFFIX = "bin"
55UBOOT_MAKE_TARGET = ""
56IMX_BOOT_SEEK = "33"
57
58OPTEE_BIN_EXT = "8mm"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 81f521e2..e4c74351 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -71,6 +71,7 @@ MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc"
71MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" 71MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc"
72MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 72MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
73MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 73MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
74MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
74MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" 75MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d"
75MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 76MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
76 77
@@ -90,6 +91,7 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
90 \ 91 \
91 mx8 \ 92 mx8 \
92 mx8qm \ 93 mx8qm \
94 mx8mm \
93 mx8mq \ 95 mx8mq \
94 mx8qxp \ 96 mx8qxp \
95" 97"
@@ -112,6 +114,7 @@ MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
112MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" 114MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
113MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" 115MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul"
114MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" 116MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8"
117MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm"
115MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" 118MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m"
116MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x" 119MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x"
117MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" 120MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx"