[meta-freescale] [meta-fsl-arm][PATCH v3 5/6] ls1021aqds.conf: Add machine conf for ls1021aqds

Otavio Salvador otavio at ossystems.com.br
Wed Sep 3 14:15:49 PDT 2014


On Wed, Sep 3, 2014 at 5:43 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> * define the SOC_FAMILY
> * set UBOOT_CONFIG
> * configure kernel devicetree and defconfig
> * define options related to serial console
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> ---
>  conf/machine/ls1021aqds.conf | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 conf/machine/ls1021aqds.conf
>
> diff --git a/conf/machine/ls1021aqds.conf b/conf/machine/ls1021aqds.conf
> new file mode 100644
> index 0000000..473ba11
> --- /dev/null
> +++ b/conf/machine/ls1021aqds.conf
> @@ -0,0 +1,24 @@
> +#@TYPE: Machine
> +#@NAME: Freescale LS1021AQDS board
> +#@SOC: ls102xa
> +#@DESCRIPTION: Machine configuration for running LS1021AQDS in 32-bit mode
> +#@MAINTAINER: Zhenhua Luo <zhenhua.luo at freescale.com>
> +
> +require conf/machine/include/ls-base.inc
> +require conf/machine/include/tune-cortexa7.inc
> +
> +SOC_FAMILY = "ls102xa"
> +
> +UBOOT_CONFIG ??= "nor"
> +UBOOT_CONFIG[nor] = "ls1021aqds_nor"
> +UBOOT_CONFIG[spi] = "ls1021aqds_spi"
> +UBOOT_CONFIG[nor-secboot] = "ls1021aqds_nor_secboot"
> +UBOOT_CONFIG[letech] = "ls1021aqds_letech"
> +
> +KERNEL_DEVICETREE = "ls1021a-qds.dtb"
> +KERNEL_DEFCONFIG = "${S}/arch/arm/configs/ls1021a_defconfig"

Please, see the kernel comment.

> +SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0"
> +SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
> +USE_VT ?= "0"
> +
> --
> 1.9.3
>
> --
> _______________________________________________
> 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