diff options
Diffstat (limited to 'conf/machine/imx8mp-evk.conf')
-rw-r--r-- | conf/machine/imx8mp-evk.conf | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/conf/machine/imx8mp-evk.conf b/conf/machine/imx8mp-evk.conf new file mode 100644 index 00000000..1ae9e1ae --- /dev/null +++ b/conf/machine/imx8mp-evk.conf | |||
@@ -0,0 +1,79 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: NXP i.MX 8M Plus EVK | ||
3 | #@SOC: i.MX8MP | ||
4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Plus Evaluation Kit | ||
5 | #@MAINTAINER: Jun Zhu <junzhu@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 | MACHINE_FEATURES += "pci wifi bluetooth optee jailhouse" | ||
13 | MACHINE_FEATURES_append_use-nxp-bsp = " mrvl8997" | ||
14 | |||
15 | # Mainline kernel contains only one DTB file for | ||
16 | # imx8mpevk machine | ||
17 | KERNEL_DEVICETREE = "freescale/imx8mp-evk.dtb" | ||
18 | |||
19 | # NXP kernel has additional DTB files for various board configuration and | ||
20 | # derivates. Include them here for NXP BSP only | ||
21 | KERNEL_DEVICETREE_append_use-nxp-bsp = " \ | ||
22 | freescale/imx8mp-ab2.dtb \ | ||
23 | freescale/imx8mp-evk-basler.dtb \ | ||
24 | freescale/imx8mp-evk-basler-ov5640.dtb \ | ||
25 | freescale/imx8mp-evk-dsp.dtb \ | ||
26 | freescale/imx8mp-evk-dsp-lpa.dtb \ | ||
27 | freescale/imx8mp-evk-dual-ov2775.dtb \ | ||
28 | freescale/imx8mp-evk-flexcan2.dtb \ | ||
29 | freescale/imx8mp-evk-inmate.dtb \ | ||
30 | freescale/imx8mp-evk-it6263-lvds-dual-channel.dtb \ | ||
31 | freescale/imx8mp-evk-jdi-wuxga-lvds-panel.dtb \ | ||
32 | freescale/imx8mp-evk-ov2775.dtb \ | ||
33 | freescale/imx8mp-evk-ov2775-ov5640.dtb \ | ||
34 | freescale/imx8mp-evk-pcie-ep.dtb \ | ||
35 | freescale/imx8mp-evk-rm67191.dtb \ | ||
36 | freescale/imx8mp-evk-root.dtb \ | ||
37 | freescale/imx8mp-evk-rpmsg.dtb \ | ||
38 | freescale/imx8mp-evk-sof-wm8960.dtb \ | ||
39 | freescale/imx8mp-evk-spdif-lb.dtb \ | ||
40 | " | ||
41 | |||
42 | UBOOT_CONFIG ??= "sd" | ||
43 | UBOOT_CONFIG[sd] = "imx8mp_evk_defconfig,sdcard" | ||
44 | UBOOT_CONFIG[fspi] = "imx8mp_evk_defconfig" | ||
45 | UBOOT_CONFIG[ecc] = "imx8mp_evk_inline_ecc_defconfig" | ||
46 | UBOOT_CONFIG[mfgtool] = "imx8mp_evk_defconfig" | ||
47 | |||
48 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
49 | |||
50 | # Set DDR FIRMWARE | ||
51 | DDR_FIRMWARE_NAME = " \ | ||
52 | lpddr4_pmu_train_1d_dmem_201904.bin \ | ||
53 | lpddr4_pmu_train_1d_imem_201904.bin \ | ||
54 | lpddr4_pmu_train_2d_dmem_201904.bin \ | ||
55 | lpddr4_pmu_train_2d_imem_201904.bin \ | ||
56 | " | ||
57 | |||
58 | # Set u-boot DTB | ||
59 | UBOOT_DTB_NAME = "imx8mp-evk.dtb" | ||
60 | |||
61 | # Set ATF platform name | ||
62 | ATF_PLATFORM = "imx8mp" | ||
63 | |||
64 | # Set imx-mkimage boot target | ||
65 | IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}" | ||
66 | IMX_BOOT_SOC_TARGET = "iMX8MP" | ||
67 | |||
68 | # Set Serial console | ||
69 | SERIAL_CONSOLES = "115200;ttymxc1" | ||
70 | |||
71 | LOADADDR = "" | ||
72 | UBOOT_SUFFIX = "bin" | ||
73 | UBOOT_MAKE_TARGET = "" | ||
74 | IMX_BOOT_SEEK = "32" | ||
75 | |||
76 | OPTEE_BIN_EXT = "8mp" | ||
77 | |||
78 | # Add additional firmware | ||
79 | MACHINE_FIRMWARE_append = " linux-firmware-ath10k" | ||