]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls1043ardb-be: add machine config
authorChunrong Guo <chunrong.guo@nxp.com>
Tue, 17 Apr 2018 06:48:27 +0000 (14:48 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 25 Apr 2018 21:58:26 +0000 (18:58 -0300)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/machine/ls1043ardb-be.conf [new file with mode: 0644]

diff --git a/conf/machine/ls1043ardb-be.conf b/conf/machine/ls1043ardb-be.conf
new file mode 100644 (file)
index 0000000..92743b7
--- /dev/null
@@ -0,0 +1,40 @@
+#@TYPE: Machine
+#@NAME: Freescale LS1043ARDB 
+#@SOC: LSCH2
+#@DESCRIPTION: Machine configuration for running LS1043A in 64-bit mode
+#@MAINTAINER: Chunrong Guo <nxa13725@nxp.com>
+
+DEFAULTTUNE = "aarch64_be"
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINEOVERRIDES =. "fsl-lsch2:ls1043a:"
+
+KERNEL_CLASSES  = " kernel-itbimage "
+KERNEL_IMAGETYPES = "itbImage"
+
+DTB_LOAD = "0x90000000"
+UBOOT_ENTRYPOINT = "0x80080000"
+
+UBOOT_CONFIG ??= "nand sdcard nor"
+UBOOT_CONFIG[nor] = "ls1043ardb_config,,u-boot-dtb.bin"
+UBOOT_CONFIG[nand] = "ls1043ardb_nand_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "ls1043ardb_sdcard_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[secure-boot] = "ls1043ardb_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[nand-secure-boot] = "ls1043ardb_nand_SECURE_BOOT_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[nand-spl-secure-boot] = "ls1043ardb_nand_SECURE_BOOT_defconfig,,spl/u-boot-spl.bin"
+UBOOT_CONFIG[nand-dtb-secure-boot] = "ls1043ardb_nand_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[sdcard-secure-boot] = "ls1043ardb_sdcard_SECURE_BOOT_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard-spl-secure-boot] = "ls1043ardb_sdcard_SECURE_BOOT_defconfig,,spl/u-boot-spl.bin"
+UBOOT_CONFIG[sdcard-dtb-secure-boot] = "ls1043ardb_sdcard_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+
+QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin"
+LE_UBOOT_FOR_ARMBE_TARGET = "1"
+
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb"
+KERNEL_DEFCONFIG ?= "defconfig"
+
+EXTRA_IMAGEDEPENDS += "fm-ucode ppa rcw qe-ucode"
+
+USE_VT = "0"