Add i.MX91 machine configure files [YOCIMX-7763]

- imx91evk: i.MX91 consolidated machine
- imx91-11x11-lpddr4-evk

Signed-off-by: Jun Zhu <junzhu@nxp.com>
This commit is contained in:
Jun Zhu 2024-03-27 12:56:21 +08:00
parent 1276acb345
commit 8a6bd919ae
6 changed files with 36 additions and 46 deletions

View File

@ -1,14 +1,14 @@
#@TYPE: Machine
#@NAME: NXP i.MX 91 Phantom 11x11 Evaluation Kit with LPDDR4
#@SOC: i.MX91P
#@DESCRIPTION: Machine configuration for NXP i.MX 91 Phantom 11x11 EVK with LPDDR4
#@NAME: NXP i.MX 91 11x11 Evaluation Kit with LPDDR4
#@SOC: i.MX91
#@DESCRIPTION: Machine configuration for NXP i.MX 91 11x11 EVK with LPDDR4
#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
MACHINEOVERRIDES =. "mx91p:"
MACHINEOVERRIDES =. "mx91:"
require conf/machine/include/imx91-evk.inc
KERNEL_DEVICETREE_BASENAME = "imx91p-11x11-evk"
KERNEL_DEVICETREE_BASENAME = "imx91-11x11-evk"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
freescale/${KERNEL_DEVICETREE_BASENAME}-aud-hat.dtb \
@ -19,10 +19,10 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \
freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \
freescale/${KERNEL_DEVICETREE_BASENAME}-mqs.dtb \
freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \
freescale/${KERNEL_DEVICETREE_BASENAME}-ontat-wvga-panel.dtb \
freescale/${KERNEL_DEVICETREE_BASENAME}-ontat-wvga-panel.dtb \
"
UBOOT_CONFIG_BASENAME = "imx91p_11x11_evk"
UBOOT_CONFIG_BASENAME = "imx91_11x11_evk"
DDR_FIRMWARE_NAME = " \
lpddr4_dmem_1d_v202201.bin \

View File

@ -0,0 +1,19 @@
#@TYPE: Machine
#@NAME: i.MX 91 Consolidated rootfs machine
#@SOC: i.MX91
#@DESCRIPTION: A Consolidated machine configuration for i.MX 91 LPDDR4 EVK/QSB, see Important Note below
#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
# ** Important Note **
# This machine generates an image contain the bootloader of 11x11 LPDDR4 EVK, Kernel, and rootfs, plus the DTBs of
# both 11x11 LPDDR4 EVK and 9x9 LPDDR4 QSB boards. The resulting image can be used for 11x11 LPDDR4 EVK directly,
# and it can be manually converted for other EVK or QSB following the instructions in the User Guide - Consolidated Machines section.
# For users of all of EVK/QSB variants, this can save build time and space. For most users, the dedicated machines
# imx91-11x11-lpddr4-evk.conf and imx91-9x9-lpddr4-qsb.conf should be used for simplicity.
MACHINEOVERRIDES =. "imx91-11x11-lpddr4-evk:"
require conf/machine/imx91-11x11-lpddr4-evk.conf
# Include device trees for other boards for internal test
KERNEL_DEVICETREE += " \
"

View File

@ -1,29 +0,0 @@
#@TYPE: Machine
#@NAME: i.MX 91 Phantom Consolidated rootfs machine
#@SOC: i.MX91P
#@DESCRIPTION: A Consolidated machine configuration for i.MX 91 Phantom LPDDR4 EVK/QSB, see Important Note below
#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
# ** Important Note **
# This machine generates an image contain the bootloader of 9x9 LPDDR4 QSB, Kernel, and rootfs, plus the DTBs of
# both 11x11 LPDDR4 EVK and 9x9 LPDDR4 QSB boards. The resulting image can be used for 9x9 LPDDR4 QSB directly,
# and it can be manually converted for other EVK or QSB following the instructions in the User Guide - Consolidated Machines section.
# For users of all of EVK/QSB variants, this can save build time and space. For most users, the dedicated machines
# imx91p-11x11-lpddr4-evk.conf and imx91p-9x9-lpddr4-qsb.conf should be used for simplicity.
MACHINEOVERRIDES =. "imx91p-9x9-lpddr4-qsb:"
require conf/machine/imx91p-9x9-lpddr4-qsb.conf
# Include device trees for other boards for internal test
KERNEL_DEVICETREE += " \
freescale/imx91p-11x11-evk.dtb \
freescale/imx91p-11x11-evk-aud-hat.dtb \
freescale/imx91p-11x11-evk-flexspi-m2.dtb \
freescale/imx91p-11x11-evk-i3c.dtb \
freescale/imx91p-11x11-evk-ld.dtb \
freescale/imx91p-11x11-evk-lpspi.dtb \
freescale/imx91p-11x11-evk-lpspi-slave.dtb \
freescale/imx91p-11x11-evk-mqs.dtb \
freescale/imx91p-11x11-evk-mt9m114.dtb \
freescale/imx91p-11x11-evk-ontat-wvga-panel.dtb \
"

View File

@ -29,14 +29,14 @@ MACHINEOVERRIDES_EXTENDER:mx8mpul:use-mainline-bsp = "imx-generic-bsp:imx-mainli
MACHINEOVERRIDES_EXTENDER_FILTER_OUT += "mx8mpul"
MACHINE_SOCARCH_SUFFIX:mx8mpul-nxp-bsp = "-mx8mpul"
# Add new machine i.MX 91 Phantom
IMX_SOC_REV:mx91p-generic-bsp ?= "A1"
SECO_FIRMWARE_NAME:mx91p-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img"
MACHINEOVERRIDES_EXTENDER:mx91p:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:mx9-generic-bsp:mx9-nxp-bsp:mx91p-generic-bsp:mx91p-nxp-bsp"
MACHINEOVERRIDES_EXTENDER:mx91p:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx91p-generic-bsp:mx91p-mainline-bsp"
MACHINEOVERRIDES_EXTENDER_FILTER_OUT += "mx91p"
MACHINE_SOCARCH_SUFFIX:mx91p-nxp-bsp = "-mx91"
IMX_EXTRA_FIRMWARE:mx91p-nxp-bsp = "imx-boot-firmware-files firmware-ele-imx"
# Add new machine i.MX 91
IMX_SOC_REV:mx91-generic-bsp ?= "A0"
SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.img"
MACHINEOVERRIDES_EXTENDER:mx91:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:mx9-generic-bsp:mx9-nxp-bsp:mx91-generic-bsp:mx91-nxp-bsp"
MACHINEOVERRIDES_EXTENDER:mx91:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx91-generic-bsp:mx91-mainline-bsp"
MACHINEOVERRIDES_EXTENDER_FILTER_OUT += "mx91"
MACHINE_SOCARCH_SUFFIX:mx91-nxp-bsp = "-mx91"
IMX_EXTRA_FIRMWARE:mx91-nxp-bsp = "imx-boot-firmware-files firmware-ele-imx"
# Add new variabe for ELE extra Firmware
SECOEXT_FIRMWARE_NAME ?= "UNDEFINED"

View File

@ -24,7 +24,7 @@ UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig"
UBOOT_CONFIG[ld] = "${UBOOT_CONFIG_BASENAME}_ld_defconfig"
# Set ATF platform name
ATF_PLATFORM = "imx91p"
ATF_PLATFORM = "imx91"
IMXBOOT_TARGETS = "flash_singleboot"

View File

@ -31,7 +31,7 @@ DEFAULTTUNE:mx8qm-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx8x-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx8ulp-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx9-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx91p-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx91-nxp-bsp ?= "armv8a-crc-crypto"
DEFAULTTUNE:mx93-nxp-bsp ?= "armv8a-crc-crypto"
PACKAGECONFIG:append:pn-gstreamer1.0-plugins-ugly = " x264"