[meta-freescale] [PATCH 05/17] ls1012ardb: add machine file
Bob Cochran
yocto at mindchasers.com
Tue Mar 21 07:34:30 PDT 2017
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:
--- 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"
More information about the meta-freescale
mailing list