[meta-freescale] [PATCH 05/14] imx8mmevk.conf/imx-base.inc: Add i.MX 8MM EVK support

Gary Bisson gary.bisson at boundarydevices.com
Mon Oct 1 12:15:38 PDT 2018


Hi Otavio,

On Mon, Oct 1, 2018 at 8:00 PM Otavio Salvador <
otavio.salvador at ossystems.com.br> wrote:

> On Sun, Sep 30, 2018 at 5:56 AM Yuqing Zhu <carol.zhu at nxp.com> wrote:
> >
> > Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
> > ---
> >  conf/machine/imx8mmevk.conf       | 58
> +++++++++++++++++++++++++++++++++++++++
> >  conf/machine/include/imx-base.inc |  3 ++
> >  2 files changed, 61 insertions(+)
> >  create mode 100644 conf/machine/imx8mmevk.conf
> >
> > diff --git a/conf/machine/imx8mmevk.conf b/conf/machine/imx8mmevk.conf
> > new file mode 100644
> > index 0000000..8d1c6e5
> > --- /dev/null
> > +++ b/conf/machine/imx8mmevk.conf
> > @@ -0,0 +1,58 @@
> > +#@TYPE: Machine
> > +#@NAME: NXP i.MX8MM Evaluation Kit
> > +#@SOC: i.MX8MM
> > +#@DESCRIPTION: Machine configuration for NXP i.MX8MMini EVK
> > +#@MAINTAINER: Jun Zhu <junzhu at nxp.com>
> > +
> > +MACHINEOVERRIDES =. "mx8:mx8mm:"
> > +
> > +require conf/machine/include/imx-base.inc
> > +require conf/machine/include/arm/arch-arm64.inc
> > +
> > +MACHINE_FEATURES += " pci wifi bluetooth optee qca9377 qca6174"
> > +
> > +MACHINE_SOCARCH_FILTER_append_mx8mm = "virtual/libopenvg
> virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl
> virtual/libg2d"
> > +
> > +KERNEL_DEVICETREE = "freescale/fsl-imx8mm-evk.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-ak4497.dtb
> freescale/fsl-imx8mm-evk-ak5558.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-audio-tdm.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-inmate.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-m4.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-rm67191.dtb "
> > +KERNEL_DEVICETREE += "freescale/fsl-imx8mm-evk-root.dtb"
> > +
> > +IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
> > +IMAGE_BOOTFILES += "imx8mm_m4_TCM_hello_world.bin \
> > +
> imx8mm_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \
> > +                    imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin \
> > +                    imx8mm_m4_TCM_sai_low_power_audio.bin \
> > +"
> > +
> > +UBOOT_CONFIG ??= "sd"
> > +UBOOT_CONFIG[sd] = "imx8mm_evk_config,sdcard"
> > +UBOOT_CONFIG[fspi] = "imx8mm_evk_fspi_defconfig"
> > +UBOOT_CONFIG[mfgtool] = "imx8mm_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-imx8mm-evk.dtb"
> > +
> > +# Set imx-mkimage boot target
> > +IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi',
> 'flash_evk_flexspi', 'flash_evk', d)}"
> > +
> > +# Set Serial console
> > +SERIAL_CONSOLE = "115200 ttymxc1"
> > +
> > +IMAGE_BOOTLOADER = "imx-boot"
> > +
> > +BOOT_SPACE = "65536"
> > +
> > +LOADADDR = ""
> > +UBOOT_SUFFIX = "bin"
> > +UBOOT_MAKE_TARGET = ""
> > +IMX_BOOT_SEEK = "33"
> > +
> > +OPTEE_BIN_EXT = "8mm"
> > diff --git a/conf/machine/include/imx-base.inc
> b/conf/machine/include/imx-base.inc
> > index 81f521e..e4c7435 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"
> >  MACHINEOVERRIDES_EXTENDER_mx7d   = "imxfbdev:imxpxp:imxepdc"
> >  MACHINEOVERRIDES_EXTENDER_mx7ulp =
> "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
> >  MACHINEOVERRIDES_EXTENDER_mx8qm  =
> "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
> > +MACHINEOVERRIDES_EXTENDER_mx8mm  =
> "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
>
> This uses same as QM and below you set it to another SUFFIX. What are
> the differences?
>

No actually it isn't the same, QM has imxdpu whereas 8MM doesn't.

There are many differences between 8MM and the other 8 series. It is
closest to 8MQ but has gpu2d + vpu encoder.

I don't think we can avoid creating a new suffix.

One other difference, 8MM is the only 8 that doesn't support OpenGL3.0.

Regards,
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20181001/d1e122d0/attachment.html>


More information about the meta-freescale mailing list