On Wed, Sep 3, 2014 at 5:43 AM, Zhenhua Luo <[email protected]> wrote:
> * define the SOC_FAMILY
> * set UBOOT_CONFIG
> * configure kernel devicetree and defconfig
> * define options related to serial console
>
> Signed-off-by: Zhenhua Luo <[email protected]>
> ---
> 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 <[email protected]>
> +
> +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
> [email protected]
> 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale