diff options
author | Yuqing Zhu <carol.zhu@nxp.com> | 2018-09-30 16:52:36 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-10-06 11:55:55 -0300 |
commit | bbfa4f51b4ee48e377bbf3e6313b6d23e7aecc2f (patch) | |
tree | 5c87f33f5db93cc3c8b51db777ac3ceb7f2b9bea | |
parent | 57dfb85de5a2ee7c5cb8c1b6ebf3c43621ebe951 (diff) | |
download | meta-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.conf | 58 | ||||
-rw-r--r-- | conf/machine/include/imx-base.inc | 3 |
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 | |||
7 | MACHINEOVERRIDES =. "mx8:mx8mm:" | ||
8 | |||
9 | require conf/machine/include/imx-base.inc | ||
10 | require conf/machine/include/arm/arch-arm64.inc | ||
11 | |||
12 | MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174" | ||
13 | |||
14 | MACHINE_SOCARCH_FILTER_append_mx8mm = "virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" | ||
15 | |||
16 | KERNEL_DEVICETREE = "freescale/fsl-imx8mm-evk.dtb " | ||
17 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-ak4497.dtb freescale/fsl-imx8mm-evk-ak5558.dtb " | ||
18 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-audio-tdm.dtb " | ||
19 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-inmate.dtb " | ||
20 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-m4.dtb " | ||
21 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-rm67191.dtb " | ||
22 | KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-root.dtb" | ||
23 | |||
24 | IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy" | ||
25 | IMAGE_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 | |||
31 | UBOOT_CONFIG ??= "sd" | ||
32 | UBOOT_CONFIG[sd] = "imx8mm_evk_config,sdcard" | ||
33 | UBOOT_CONFIG[fspi] = "imx8mm_evk_fspi_defconfig" | ||
34 | UBOOT_CONFIG[mfgtool] = "imx8mm_evk_config" | ||
35 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
36 | |||
37 | # Set DDR FIRMWARE | ||
38 | DDR_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 | ||
41 | UBOOT_DTB_NAME = "fsl-imx8mm-evk.dtb" | ||
42 | |||
43 | # Set imx-mkimage boot target | ||
44 | IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}" | ||
45 | |||
46 | # Set Serial console | ||
47 | SERIAL_CONSOLE = "115200 ttymxc1" | ||
48 | |||
49 | IMAGE_BOOTLOADER = "imx-boot" | ||
50 | |||
51 | BOOT_SPACE = "65536" | ||
52 | |||
53 | LOADADDR = "" | ||
54 | UBOOT_SUFFIX = "bin" | ||
55 | UBOOT_MAKE_TARGET = "" | ||
56 | IMX_BOOT_SEEK = "33" | ||
57 | |||
58 | OPTEE_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" | |||
71 | MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" | 71 | MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" |
72 | MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" | 72 | MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" |
73 | MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 73 | MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" |
74 | MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | ||
74 | MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" | 75 | MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" |
75 | MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 76 | MACHINEOVERRIDES_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" | |||
112 | MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" | 114 | MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" |
113 | MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" | 115 | MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" |
114 | MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" | 116 | MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" |
117 | MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" | ||
115 | MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" | 118 | MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" |
116 | MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x" | 119 | MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x" |
117 | MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" | 120 | MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" |