[meta-freescale] [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file

Otavio Salvador otavio.salvador at ossystems.com.br
Sat Sep 30 06:09:57 PDT 2017


On Thu, Sep 28, 2017 at 11:04 AM, Jun Zhu <junzhu at nxp.com> wrote:
> Signed-off-by: Jun Zhu <junzhu at nxp.com>
> ---
>  conf/machine/imx7ulpevk.conf | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 conf/machine/imx7ulpevk.conf
>
> diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf
> new file mode 100644
> index 0000000..813d45b
> --- /dev/null
> +++ b/conf/machine/imx7ulpevk.conf
> @@ -0,0 +1,27 @@
> +#@TYPE: Machine
> +#@NAME: NXP i.MX7ULP Evaluation Kit
> +#@SOC: i.MX7ULP
> +#@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK
> +#@MAINTAINER: Lauren Post <Lauren.Post at nxp.com>
> +
> +require conf/machine/include/imx-base.inc
> +require conf/machine/include/tune-cortexa7.inc
> +
> +MACHINE_FEATURES += " pci wifi bluetooth"
> +
> +MACHINEOVERRIDES =. "mx7:mx7ulp:"
> +
> +KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-hdmi.dtb"
> +KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb"
> +KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb"
> +
> +IMAGE_M4LOADER = "imx-m4-demos"
> +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"

Please see the comment I did about adding it as a package so it does
not belong to the machine.

> +UBOOT_CONFIG ??= "sd"
> +UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard"
> +UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard"
> +UBOOT_CONFIG[mfgtool] = "mx7ulp_evk_config"

Please let's use the wic tool to generate the images.

I added the imx-uboot-bootpart which provides same layout as the
sdcard class and is trivial to convert to it.

> +# Set Serial console
> +SERIAL_CONSOLE = "115200 ttyLP0"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list