]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls1028ardb: add machine config
authorChunrong Guo <chunrong.guo@nxp.com>
Tue, 15 Oct 2019 05:18:19 +0000 (13:18 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 Oct 2019 12:07:06 +0000 (09:07 -0300)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
conf/machine/ls1028ardb.conf [new file with mode: 0644]

diff --git a/conf/machine/ls1028ardb.conf b/conf/machine/ls1028ardb.conf
new file mode 100644 (file)
index 0000000..cde6bcc
--- /dev/null
@@ -0,0 +1,35 @@
+#@TYPE: Machine
+#@NAME: NXP LS1028ARDB
+#@SOC: LSCH3
+#@DESCRIPTION: Machine configuration for running LS1028ARDB in 64-bit mode
+#@MAINTAINER: Chunrong.Guo <chunrong.guo@nxp.com>
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES += "optee"
+
+MACHINEOVERRIDES =. "fsl-lsch3:ls1028a:"
+
+KERNEL_CLASSES  = " kernel-fitimage "
+KERNEL_IMAGETYPES = "fitImage"
+
+UBOOT_DTB_LOADADDRESS = "0x90000000"
+UBOOT_ENTRYPOINT = "0x80080000"
+
+UBOOT_CONFIG ??= "tfa-secure-boot tfa"
+UBOOT_CONFIG[tfa-secure-boot] = "ls1028ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[tfa] = "ls1028ardb_tfa_defconfig,,u-boot-dtb.bin"
+
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1028a-rdb.dtb"
+KERNEL_DEFCONFIG ?= "defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+RCWSD ?= "R_SQPP_0x85bb/rcw_1300_sdboot"
+RCWXSPI ?= "R_SQPP_0x85bb/rcw_1300"
+RCWEMMC ?= "R_SQPP_0x85bb/rcw_1300_emmcboot"
+
+EXTRA_IMAGEDEPENDS += "rcw atf dp-firmware-cadence"
+USE_VT = "0"