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

2017-03-22 Thread Ting Liu
> -Original Message-
> From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-
> boun...@yoctoproject.org] On Behalf Of Bob Cochran
> Sent: Tuesday, March 21, 2017 10:35 PM
> To: Chunrong Guo <b40...@freescale.com>; meta-
> freesc...@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@nxp.com>
> >
> > Signed-off-by: Ting Liu <ting@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
> > 000..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...@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

2017-03-21 Thread Bob Cochran

On 03/14/2017 05:32 AM, Chunrong Guo wrote:

From: Ting Liu 

Signed-off-by: Ting Liu 
---
  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 000..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 
+
+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:


--- 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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

2017-03-14 Thread Chunrong Guo
From: Ting Liu 

Signed-off-by: Ting Liu 
---
 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 000..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 
+
+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"
+USE_VT = "0"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale