Signed-off-by: Tom Hochstein <tom.hochst...@nxp.com> --- conf/machine/imx8mqevk.conf | 53 +++++++++++++++++++++++++++++++++++++++ conf/machine/imx8qmmek.conf | 49 ++++++++++++++++++++++++++++++++++++ conf/machine/imx8qxpa0mek.conf | 38 ++++++++++++++++++++++++++++ conf/machine/imx8qxpmek.conf | 40 +++++++++++++++++++++++++++++ conf/machine/include/imx-base.inc | 4 +++ 5 files changed, 184 insertions(+) create mode 100644 conf/machine/imx8mqevk.conf create mode 100644 conf/machine/imx8qmmek.conf create mode 100644 conf/machine/imx8qxpa0mek.conf create mode 100644 conf/machine/imx8qxpmek.conf
diff --git a/conf/machine/imx8mqevk.conf b/conf/machine/imx8mqevk.conf new file mode 100644 index 0000000..cf27468 --- /dev/null +++ b/conf/machine/imx8mqevk.conf @@ -0,0 +1,53 @@ +#@TYPE: Machine +#@NAME: NXP i.MX8MQ Evaluation Kit +#@SOC: i.MX8MQ +#@DESCRIPTION: Machine configuration for NXP i.MX8MQ EVK +#@MAINTAINER: Jun Zhu <jun...@nxp.com> + +MACHINEOVERRIDES =. "mx8:mx8mq:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/arm/arch-arm64.inc + +MACHINE_FEATURES += "pci wifi bluetooth optee qca6174" + +MACHINE_SOCARCH_FILTER_append_mx8mq = "virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" + +KERNEL_DEVICETREE = "freescale/fsl-imx8mq-evk.dtb freescale/fsl-imx8mq-evk-ak4497.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-audio-tdm.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-dcss-adv7535.dtb freescale/fsl-imx8mq-evk-dcss-rm67191.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-dual-display.dtb freescale/fsl-imx8mq-evk-drm.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-lcdif-adv7535.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-m4.dtb freescale/fsl-imx8mq-evk-mipi-csi2.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-pcie1-m2.dtb freescale/fsl-imx8mq-evk-pdm.dtb" + +IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy" +IMAGE_BOOTFILES += "imx8mq_m4_TCM_hello_world.bin imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin" + +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "imx8mq_evk_config,sdcard" +UBOOT_CONFIG[mfgtool] = "imx8mq_evk_config" +SPL_BINARY = "spl/u-boot-spl.bin" + +# Set DDR FIRMWARE +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" + +# Set u-boot DTB +UBOOT_DTB_NAME = "fsl-imx8mq-evk.dtb" + +# Set imx-mkimage boot target +IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi" + +# Set Serial console +SERIAL_CONSOLE = "115200 ttymxc0" + +IMAGE_BOOTLOADER = "imx-boot" + +BOOT_SPACE = "65536" + +LOADADDR = "" +UBOOT_SUFFIX = "bin" +UBOOT_MAKE_TARGET = "" +IMX_BOOT_SEEK = "33" + +OPTEE_BIN_EXT = "8mq" diff --git a/conf/machine/imx8qmmek.conf b/conf/machine/imx8qmmek.conf new file mode 100644 index 0000000..61c9f36 --- /dev/null +++ b/conf/machine/imx8qmmek.conf @@ -0,0 +1,49 @@ +#@TYPE: Machine +#@NAME: i.MX 8QM MEK +#@DESCRIPTION: i.MX 8QuadMax MEK board +#@MAINTAINER: Jun Zhu <jun...@nxp.com> + +MACHINEOVERRIDES =. "mx8:mx8qm:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/arm/arch-arm64.inc + +MACHINE_FEATURES_append = " qca6174" + +# Don't include kernels in standard images +RDEPENDS_kernel-base = "" + +LOADADDR = "" + +# We have to disable SERIAL_CONSOLE due to auto-serial-console +SERIAL_CONSOLE = "115200 ttyAMA0" + +# we do not want to have getty running on tty1 as we run +# auto-serial-console there +USE_VT = "0" + +KERNEL_DEVICETREE = "freescale/fsl-imx8qm-mek.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek_ca53.dtb freescale/fsl-imx8qm-mek_ca72.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-8cam.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-hdmi.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dtb freescale/fsl-imx8qm-mek-dsi-rm67191.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-mipi-ov5640.dtb freescale/fsl-imx8qm-mek-mipi-two-ov5640.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-enet2-tja1100.dtb " +KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-dom0.dtb freescale/fsl-imx8qm-mek-domu.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qp-lpddr4-arm2.dtb" + +UBOOT_MAKE_TARGET = "u-boot.bin" +UBOOT_SUFFIX = "bin" +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "imx8qm_mek_defconfig,sdcard" +UBOOT_CONFIG[fspi] = "imx8qm_mek_fspi_defconfig" +UBOOT_CONFIG[mfgtool] = "imx8qm_mek_defconfig" + +BOOT_SPACE = "65536" +IMAGE_BOOTLOADER = "imx-boot" +IMX_BOOT_SEEK = "33" + +IMAGE_BOOTFILES_DEPENDS += "firmware-imx:do_deploy" +IMAGE_BOOTFILES += "hdmitxfw.bin hdmirxfw.bin dpfw.bin" + +BOARD_TYPE = "mek" diff --git a/conf/machine/imx8qxpa0mek.conf b/conf/machine/imx8qxpa0mek.conf new file mode 100644 index 0000000..584cd07 --- /dev/null +++ b/conf/machine/imx8qxpa0mek.conf @@ -0,0 +1,38 @@ +#@TYPE: Machine +#@NAME: i.MX 8QXP A0 MEK +#@DESCRIPTION: i.MX 8QXP A0 Multisensory Enablement Kit (MEK) board + +MACHINEOVERRIDES =. "mx8:mx8qxp:mx8qxpa0:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/arm/arch-arm64.inc + +# Don't include kernels in standard images +RDEPENDS_kernel-base = "" + +LOADADDR = "" + +# We have to disable SERIAL_CONSOLE due to auto-serial-console +SERIAL_CONSOLE = "115200 ttyAMA0" + +# we do not want to have getty running on tty1 as we run +# auto-serial-console there +USE_VT = "0" + +KERNEL_DEVICETREE = "freescale/fsl-imx8qxp-mek-a0.dtb freescale/fsl-imx8qxp-mek-dom0.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-dsi-rm67191.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-enet2.dtb freescale/fsl-imx8qxp-mek-enet2-tja1100.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-csi.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-mipi-ov5640.dtb" + +UBOOT_MAKE_TARGET = "u-boot.bin" +UBOOT_SUFFIX = "bin" +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "imx8qxp_mek_config,sdcard" +UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig" + +BOOT_SPACE = "65536" +IMAGE_BOOTLOADER = "imx-boot" +IMX_BOOT_SEEK = "33" + +BOARD_TYPE = "a0-mek" diff --git a/conf/machine/imx8qxpmek.conf b/conf/machine/imx8qxpmek.conf new file mode 100644 index 0000000..b810bd7 --- /dev/null +++ b/conf/machine/imx8qxpmek.conf @@ -0,0 +1,40 @@ +#@TYPE: Machine +#@NAME: i.MX 8QXP MEK +#@DESCRIPTION: i.MX 8QXP MEK board + +MACHINEOVERRIDES =. "mx8:mx8qxp:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/arm/arch-arm64.inc + +MACHINE_FEATURES_append = " qca6174" + +# Don't include kernels in standard images +RDEPENDS_kernel-base = "" + +LOADADDR = "" + +# We have to disable SERIAL_CONSOLE due to auto-serial-console +SERIAL_CONSOLE = "115200 ttyAMA0" + +# we do not want to have getty running on tty1 as we run +# auto-serial-console there +USE_VT = "0" + +KERNEL_DEVICETREE = "freescale/fsl-imx8qxp-mek.dtb freescale/fsl-imx8qxp-mek-dom0.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-dsi-rm67191.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-enet2.dtb freescale/fsl-imx8qxp-mek-enet2-tja1100.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-csi.dtb" +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-mipi-ov5640.dtb freescale/fsl-imx8qxp-mek-ov5640.dtb" + +UBOOT_MAKE_TARGET = "u-boot.bin" +UBOOT_SUFFIX = "bin" +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "imx8qxp_mek_config,sdcard" +UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig" + +BOOT_SPACE = "65536" +IMAGE_BOOTLOADER = "imx-boot" +IMX_BOOT_SEEK = "32" + +BOARD_TYPE = "mek" diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index f629f73..6f380f8 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -70,7 +70,9 @@ MACHINEOVERRIDES_EXTENDER_mx6ul = "imxfbdev:imxpxp" MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc" MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" +MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxgpu:imxgpu2d:imxgpu3d" MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" +MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxgpu:imxgpu2d:imxgpu3d" MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ mx6 \ @@ -102,7 +104,9 @@ MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" +MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" +MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x" MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" MACHINE_ARCH_FILTER = "virtual/kernel" -- 2.7.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale