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

Otavio Salvador otavio at ossystems.com.br
Wed Sep 3 14:19: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/ls1021atwr.conf | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 conf/machine/ls1021atwr.conf
>
> diff --git a/conf/machine/ls1021atwr.conf b/conf/machine/ls1021atwr.conf
> new file mode 100644
> index 0000000..696d997
> --- /dev/null
> +++ b/conf/machine/ls1021atwr.conf
> @@ -0,0 +1,23 @@
> +#@TYPE: Machine
> +#@NAME: Freescale LS1021ATWR board
> +#@SOC: ls102xa
> +#@DESCRIPTION: Machine configuration for running LS1021ATWR 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] = "ls1021atwr_nor"
> +UBOOT_CONFIG[sdcard] = "ls1021atwr_sdcard,sdcard"
> +UBOOT_CONFIG[letech] = "ls1021atwr_letech"
> +
> +KERNEL_DEVICETREE ?= "ls1021a-twr.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