[meta-freescale] [PATCH 05/17] ls1012ardb: add machine file

Ting Liu ting.liu at nxp.com
Tue Mar 21 19:24:25 PDT 2017


> -----Original Message-----
> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-
> bounces at yoctoproject.org] On Behalf Of Bob Cochran
> Sent: Tuesday, March 21, 2017 10:35 PM
> To: Chunrong Guo <B40290 at freescale.com>; meta-
> freescale at yoctoproject.org
> Subject: Re: [meta-freescale] [PATCH 05/17] ls1012ardb: add machine file
> 
> On 03/14/2017 05:32 AM, Chunrong Guo wrote:
> > From: Ting Liu <ting.liu at nxp.com>
> >
> > Signed-off-by: Ting Liu <ting.liu at nxp.com>
> > ---
> >   conf/machine/ls1012ardb.conf | 21 +++++++++++++++++++++
> >   1 file changed, 21 insertions(+)
> >   create mode 100644 conf/machine/ls1012ardb.conf
> >
> > diff --git a/conf/machine/ls1012ardb.conf
> > b/conf/machine/ls1012ardb.conf new file mode 100644 index
> > 0000000..9298a86
> > --- /dev/null
> > +++ b/conf/machine/ls1012ardb.conf
> > @@ -0,0 +1,21 @@
> > +#@TYPE: Machine
> > +#@NAME: NXP LS1012ARDB board
> > +#@SOC: LSCH2
> > +#@DESCRIPTION: Machine configuration for NXP QorIQ LS1012ARDB
> > +#              with ARM Cortext-A53 core
> > +#@MAINTAINER: Zongchun Yu <Zongchun.Yu at nxp.com>
> > +
> > +MACHINEOVERRIDES =. "fsl-lsch2:ls1012a:"
> > +
> > +require conf/machine/include/qoriq-arm64.inc
> > +require conf/machine/include/arm/arch-arm64.inc
> > +
> > +UBOOT_CONFIG ??= "qspi-secure-boot qspi"
> > +UBOOT_CONFIG[qspi] = "ls1012ardb_qspi_defconfig,,u-boot-dtb.bin"
> > +UBOOT_CONFIG[qspi-secure-boot] =
> "ls1012ardb_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
> > +
> > +KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
> > +KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig"
> > +
> > +EXTRA_IMAGEDEPENDS += "ppa ls2-rcw"
> 
> Looking at meta-freescale master & master-next this morning, nothing
> provides ppa for the ls1012a machine conf files.    Looks like you need
> to at least update COMPATIBLE_MACHINE in recipes-bsp/ppa/ppa_git.bb
> ( didn't see a patch for this on the mail list ),  but maybe more than this is
> required?
> 
> If it's only this change required, let me know if you want me to submit the
> patch:
[Liu Ting-B28495] ppa has code update to support ls1012a, we will send the patch out soon.

> 
> --- a/recipes-bsp/ppa/ppa_git.bb
> +++ b/recipes-bsp/ppa/ppa_git.bb
> @@ -45,5 +45,5 @@ FILES_${PN}-image += "/boot"
> 
>   CLEANBROKEN = "1"
>   PARALLEL_MAKE = ""
> -COMPATIBLE_MACHINE = "(ls1043a|ls1046a)"
> +COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls1012a)"
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
> 
> 
> 
> > +USE_VT = "0"
> 
> 
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list