]> code.ossystems Code Review - meta-freescale.git/commitdiff
lx2160ardb: add machine config
authorChunrong Guo <chunrong.guo@nxp.com>
Fri, 11 Jan 2019 03:14:51 +0000 (03:14 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 14 Jan 2019 18:23:38 +0000 (16:23 -0200)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
conf/machine/lx2160ardb.conf [new file with mode: 0644]

diff --git a/conf/machine/lx2160ardb.conf b/conf/machine/lx2160ardb.conf
new file mode 100644 (file)
index 0000000..44eba5d
--- /dev/null
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: NXP LX2160ARDB
+#@SOC: LSCH3
+#@DESCRIPTION: Machine configuration for running LX2160ARDB in 64-bit mode
+#@MAINTAINER: Zongchun Yu <Zongchun.Yu@nxp.com>
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINEOVERRIDES =. "fsl-lsch3:lx2160a:"
+
+KERNEL_CLASSES  = " kernel-fitimage "
+KERNEL_IMAGETYPES = "fitImage"
+
+DTB_LOAD = "0x90000000"
+UBOOT_ENTRYPOINT = "0x80080000"
+
+UBOOT_CONFIG ??= "tfa-secure-boot tfa"
+UBOOT_CONFIG[tfa] = "lx2160ardb_tfa_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[tfa-secure-boot] = "lx2160ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+
+KERNEL_DEVICETREE ?= "freescale/fsl-lx2160a-rdb.dtb"
+KERNEL_DEFCONFIG ?= "defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+UEFI_XSPIBOOT ?= "LX2160ARDB_EFI_NORBOOT.fd"
+RCWXSPI ?= "XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_19_5_2.bin"
+RCWSD ?= "XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_19_5_2_sd.bin"
+
+EXTRA_IMAGEDEPENDS += "management-complex mc-utils rcw ls2-phy ddr-phy uefi atf inphi"
+USE_VT = "0"