[meta-freescale] [meta-freescale-layer master][PATCH 19/19] ls1046ardb-32b: add machine conf

Zhenhua Luo zhenhua.luo at nxp.com
Tue Dec 20 00:05:10 PST 2016


Support the NXP aarch64 based ls1046a reference design board run in 32b mode.

Signed-off-by: Ting Liu <ting.liu at nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
 conf/machine/ls1046ardb-32b.conf | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 conf/machine/ls1046ardb-32b.conf

diff --git a/conf/machine/ls1046ardb-32b.conf b/conf/machine/ls1046ardb-32b.conf
new file mode 100644
index 0000000..7e96e81
--- /dev/null
+++ b/conf/machine/ls1046ardb-32b.conf
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: NXP LS1046ARDB
+#@SOC: LSCH2
+#@DESCRIPTION: Machine configuration for running LS1046A in 32-bit mode
+#@MAINTAINER: Zhenhua Luo <zhenhua.luo at nxp.com>
+
+MACHINEOVERRIDES =. "fsl-lsch2:fsl-lsch2-32b:ls1046a:ls1046a-32b"
+
+require conf/machine/include/qoriq-arm.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+DEFAULTTUNE = "armv7ahf-neon"
+
+UBOOT_CONFIG ??= "emmc sdcard qspi"
+UBOOT_CONFIG[emmc] = "ls1046ardb_aarch32_emmc_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "ls1046ardb_aarch32_sdcard_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[qspi] = "ls1046ardb_aarch32_qspi_config,,u-boot-dtb.bin"
+
+KERNEL_DEVICETREE ?= "\
+    freescale/fsl-ls1046a-rdb.dtb \
+    freescale/fsl-ls1046a-rdb-usdpaa.dtb \
+"
+KERNEL_DEFCONFIG ?= "${S}/arch/arm/configs/ls_aarch32_defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+EXTRA_IMAGEDEPENDS += "fm-ucode rcw cs4315-firmware"
+USE_VT = "0"
+
+require conf/multilib.conf
+MULTILIBS ?= "multilib:lib64"
+DEFAULTTUNE_virtclass-multilib-lib64 ?= "aarch64"
-- 
2.7.4



More information about the meta-freescale mailing list