summaryrefslogtreecommitdiff
path: root/meta-lmp-bsp/conf/machine/imx8mprsb3720.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-lmp-bsp/conf/machine/imx8mprsb3720.conf')
-rw-r--r--meta-lmp-bsp/conf/machine/imx8mprsb3720.conf64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-lmp-bsp/conf/machine/imx8mprsb3720.conf b/meta-lmp-bsp/conf/machine/imx8mprsb3720.conf
new file mode 100644
index 0000000..1a3c0ea
--- /dev/null
+++ b/meta-lmp-bsp/conf/machine/imx8mprsb3720.conf
@@ -0,0 +1,64 @@
+#@TYPE: Machine
+#@NAME: NXP i.MX8MP Evaluation Kit and i.MX8MP Evaluation Kit
+#@SOC: i.MX8MP
+#@DESCRIPTION: Machine configuration for NXP i.MX8MP EVK
+#@MAINTAINER: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
+
+MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:imx8mprsb3720:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa53.inc
+
+MACHINE_FEATURES += " pci wifi bluetooth optee nxp8997"
+
+KERNEL_DEVICETREE = " \
+ freescale/imx8mp-rsb3720-a1.dtb \
+ freescale/imx8mp-rsb3720-a1-lvds0-auo.dtb \
+ freescale/imx8mp-rsb3720-a1-lvds1-auo.dtb \
+ freescale/imx8mp-rsb3720-a1-lvds-dual.dtb \
+ freescale/imx8mp-rsb3720-a1-adv7535.dtb \
+ freescale/imx8mp-rsb3720-a1-auog101uan02.dtb \
+ freescale/imx8mp-rsb3720-a1-basler.dtb \
+"
+
+#WKS_FILE_DEPENDS_append = " imx-m7-demos"
+#IMAGE_BOOT_FILES += "imx8mp_m7_TCM_hello_world.bin \
+# imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \
+# imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin \
+# imx8mp_m7_TCM_sai_low_power_audio.bin \
+#"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "imx8mp_rsb3720a1_6G_defconfig,sdcard"
+UBOOT_CONFIG[fspi] = "imx8mp_rsb3720a1_6G_defconfig"
+UBOOT_CONFIG[mfgtool] = "imx8mp_rsb3720a1_6G_defconfig"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+# Set DDR FIRMWARE
+DDR_FIRMWARE_NAME = " \
+ lpddr4_pmu_train_1d_dmem_201904.bin \
+ lpddr4_pmu_train_1d_imem_201904.bin \
+ lpddr4_pmu_train_2d_dmem_201904.bin \
+ lpddr4_pmu_train_2d_imem_201904.bin \
+"
+
+# Set u-boot DTB
+UBOOT_DTB_NAME = "imx8mp-rsb3720-a1.dtb"
+
+# Set imx-mkimage boot target
+IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"
+
+# Set Serial console
+SERIAL_CONSOLES = "115200;ttymxc2"
+
+IMAGE_BOOTLOADER = "imx-boot"
+
+LOADADDR = ""
+UBOOT_SUFFIX = "bin"
+UBOOT_MAKE_TARGET = ""
+IMX_BOOT_SEEK = "32"
+
+OPTEE_BIN_EXT = "8mp"
+
+# Add additional firmware
+MACHINE_FIRMWARE_append = " linux-firmware-ath10k"