summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/machine/phyboard-polis-imx8mm-2.conf45
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2019.04_1.0.0-phy2.bb1
-rw-r--r--recipes-kernel/linux/linux-imx_4.19.35_1.0.0-phy2.bb1
3 files changed, 47 insertions, 0 deletions
diff --git a/conf/machine/phyboard-polis-imx8mm-2.conf b/conf/machine/phyboard-polis-imx8mm-2.conf
new file mode 100644
index 0000000..778b7c0
--- /dev/null
+++ b/conf/machine/phyboard-polis-imx8mm-2.conf
@@ -0,0 +1,45 @@
+#@TYPE: Machine
+#@NAME: phyboard-polis-imx8mm-2
+#@DESCRIPTION: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM, 16GB eMMC
+#@ARTICLENUMBERS: PB-02820.A1
+
+MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
+
+require conf/machine/include/imx-base.inc
+include conf/machine/include/phyimx8.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES += " emmc pci wifi bluetooth can"
+
+KERNEL_DEVICETREE = "freescale/phytec-imx8mm-phyboard-polis-rdk.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] = "phycore-imx8mm_defconfig,sdcard"
+UBOOT_CONFIG[mfgtool] = "phycore-imx8mm_defconfig"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+# Set u-boot DTB
+UBOOT_DTB_NAME = "phytec-phycore-imx8mm.dtb"
+
+# Set imx-mkimage boot target
+IMXBOOT_TARGETS = "flash_evk"
+
+# Set Serial console
+SERIAL_CONSOLES = "115200;ttymxc2"
+
+IMAGE_BOOTLOADER = "imx-boot"
+
+DEFAULTTUNE_mx8 = "aarch64"
+
+IMX_DEFAULT_KERNEL = "linux-imx"
+
+KERNEL_IMAGETYPE = "Image"
+
+BOOT_SPACE = "32768"
+
+LOADADDR = ""
+UBOOT_SUFFIX = "bin"
+UBOOT_MAKE_TARGET = ""
diff --git a/recipes-bsp/u-boot/u-boot-imx_2019.04_1.0.0-phy2.bb b/recipes-bsp/u-boot/u-boot-imx_2019.04_1.0.0-phy2.bb
index 8e9b737..c85dc9c 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2019.04_1.0.0-phy2.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2019.04_1.0.0-phy2.bb
@@ -47,6 +47,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "^("
COMPATIBLE_MACHINE .= "phyboard-polis-imx8mm-1"
+COMPATIBLE_MACHINE .= "|phyboard-polis-imx8mm-2"
COMPATIBLE_MACHINE .= ")$"
UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
diff --git a/recipes-kernel/linux/linux-imx_4.19.35_1.0.0-phy2.bb b/recipes-kernel/linux/linux-imx_4.19.35_1.0.0-phy2.bb
index c8aaac9..82a362b 100644
--- a/recipes-kernel/linux/linux-imx_4.19.35_1.0.0-phy2.bb
+++ b/recipes-kernel/linux/linux-imx_4.19.35_1.0.0-phy2.bb
@@ -22,4 +22,5 @@ INTREE_DEFCONFIG = "defconfig"
COMPATIBLE_MACHINE = "^("
COMPATIBLE_MACHINE .= "phyboard-polis-imx8mm-1"
+COMPATIBLE_MACHINE .= "|phyboard-polis-imx8mm-2"
COMPATIBLE_MACHINE .= ")$"