summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2018-07-03 10:12:49 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-07-03 11:36:26 +0200
commitd40ba711261029eb8e5913ebfe6b21843288d9bb (patch)
tree07a85bba665568dda834fb72774cfb6fb4b56c94
parente245893465d56f8cb7f842c029315b644f8d1dcc (diff)
downloadmeta-phytec-d40ba711261029eb8e5913ebfe6b21843288d9bb.tar.bz2
meta-phytec-d40ba711261029eb8e5913ebfe6b21843288d9bb.zip
machine: imx8m: Add support for phyboard-polaris-imx8m-1
Adding support for phyboard-polaris-imx8m-1. This supports the prototype of the i.MX 8M based phyCORE SOM with 1GB LPDDR4 RAM and eMMC. 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-1.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/conf/machine/phyboard-polaris-imx8m-1.conf b/conf/machine/phyboard-polaris-imx8m-1.conf
new file mode 100644
index 0000000..fdffe07
--- /dev/null
+++ b/conf/machine/phyboard-polaris-imx8m-1.conf
@@ -0,0 +1,52 @@
+#@TYPE: Machine
+#@NAME: phyboard-polaris-imx8m-1
+#@DESCRIPTION: PHYTEC phyBOARD-POLARIS i.MX8M Quad 1GB RAM, 4GB eMMC
+#@ARTICLENUMBERS: PCL-066, PBA-CD-12
+#@SUPPORTEDIMAGE:
+
+MACHINEOVERRIDES =. "mx8:mx8mq:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES += " pci wifi bluetooth"
+
+MACHINE_SOCARCH_FILTER_append_mx8mq = "virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
+
+KERNEL_DEVICETREE = "freescale/phytec-imx8mq-phyboard-polaris-rdk-emmc.dtb "
+
+#IMAGE_M4LOADER = "imx-m4-demos"
+#IMAGE_M4 = "imx8mq_m4_TCM_hello_world.bin imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "pcl066_defconfig,sdcard"
+UBOOT_CONFIG[mfgtool] = "pcl066_defconfig"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+# 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"
+
+# Set u-boot DTB
+UBOOT_DTB_NAME = "phytec-phycore-imx8mq.dtb"
+
+# Set imx-mkimage boot target
+IMXBOOT_TARGETS = "flash_evk_no_hdmi"
+
+# Set Serial console
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+IMAGE_BOOTLOADER = "imx-boot"
+
+SDCARD_GENERATION_COMMAND = "generate_imx_sdcard"
+
+DEFAULTTUNE_mx8 = "aarch64"
+
+IMX_DEFAULT_KERNEL = "linux-imx"
+
+BOOT_SPACE = "32768"
+
+KERNEL_IMAGETYPE = "Image"
+LOADADDR = ""
+UBOOT_SUFFIX = "bin"
+UBOOT_MAKE_TARGET = ""
+IMX_BOOT_SEEK = "33"