summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2019-09-13 10:44:31 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-09-13 11:01:36 (GMT)
commitbefaefe2a852afcfb67c218dd809f10a06fe9d06 (patch)
tree0d5a8b991c40af33a51f819d511d9b4a019a6db2
parent4c6d2ec719d3484d334df7a0c8531262dfdffe0f (diff)
downloadmeta-phytec-befaefe2a852afcfb67c218dd809f10a06fe9d06.zip
meta-phytec-befaefe2a852afcfb67c218dd809f10a06fe9d06.tar.bz2
machine: Add machine phyboard-polaris-2
Add the phyboard-polaris-2 machine with - 1GB lpddr4 RAM - 4GB eMMC - 1Gbit Ethernet This patch based on commit: 2967654f7c4e ("machine: Add new phyboard-polaris-imx8m") Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--conf/machine/phyboard-polaris-imx8m-2.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/conf/machine/phyboard-polaris-imx8m-2.conf b/conf/machine/phyboard-polaris-imx8m-2.conf
new file mode 100644
index 0000000..16fda9f
--- /dev/null
+++ b/conf/machine/phyboard-polaris-imx8m-2.conf
@@ -0,0 +1,53 @@
+#@TYPE: Machine
+#@NAME: phyboard-polaris-imx8m-2
+#@DESCRIPTION: PHYTEC phyBOARD-POLARIS i.MX8M Quad 1GB RAM, 4GB eMMC
+#@ARTICLENUMBERS: PB-02419-010I.A1
+
+MACHINEOVERRIDES =. "mx8:mx8m:mx8mq:"
+
+include conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES += " emmc pci wifi bluetooth"
+
+PREFERRED_PROVIDER_virtual/bootloader_mx8m = "u-boot-imx"
+
+KERNEL_DEVICETREE = "freescale/phytec-imx8mq-phyboard-polaris-rdk-emmc.dtb "
+
+# Set DDR FIRMWARE
+DDR_FIRMWARE_NAME = "lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "pcl066_defconfig,sdcard"
+UBOOT_CONFIG[mfgtool] = "pcl066_defconfig"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+# Set u-boot DTB
+UBOOT_DTB_NAME = "phytec-phycore-imx8mq.dtb"
+
+# Set imx-mkimage boot target
+IMXBOOT_TARGETS = "flash_evk"
+
+# Set Serial console
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+IMAGE_BOOTLOADER = "imx-boot"
+
+DEFAULTTUNE_mx8 = "aarch64"
+
+IMX_DEFAULT_KERNEL = "linux-imx"
+
+KERNEL_IMAGETYPE = "Image"
+
+LOADADDR = ""
+UBOOT_SUFFIX = "bin"
+UBOOT_MAKE_TARGET = ""
+
+#WIC
+IMAGE_CLASSES += "wic-helper"
+IMAGE_CLASSES += "wic-imx8-helper"
+IMAGE_BOOT_FILES = "Image ${@parse_dtbs(d)}"
+WKS_FILES_mx8 ?= "imx8m-sdimage.wks.in"
+
+# default images to build
+IMAGE_FSTYPES_mx8 = "tar.gz wic"