summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2016-02-25 09:50:33 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-02-26 08:34:43 (GMT)
commitc61cf0cd4dabb24db2f1d41092831d25ec74832d (patch)
treea71e753ef4e97b22dd4dc6c97a0eb8b8cacd2f7b
parent1095c0564d4eef5cd1d29e62590aa810d0effe87 (diff)
downloadmeta-phytec-c61cf0cd4dabb24db2f1d41092831d25ec74832d.zip
meta-phytec-c61cf0cd4dabb24db2f1d41092831d25ec74832d.tar.bz2
machine: imx6: add phyboard-mira-imx6-5
Add phyBOARD-MIRA-i.MX6 with phyCORE-i.MX6 Quad, 2GiB RAM and 8GiB eMMC. Additional Wifi support with PEB-WLBT-01 via config-expansion. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--conf/machine/phyboard-mira-imx6-5.conf19
-rw-r--r--recipes-bsp/barebox/barebox_2015.11.0-phy1.bb1
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6-5/machineenv/nv/linux.bootargs.cma1
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/boot/emmc7
-rw-r--r--recipes-kernel/linux/linux-mainline_4.1.18-phy1.bb1
5 files changed, 29 insertions, 0 deletions
diff --git a/conf/machine/phyboard-mira-imx6-5.conf b/conf/machine/phyboard-mira-imx6-5.conf
new file mode 100644
index 0000000..da7be05
--- /dev/null
+++ b/conf/machine/phyboard-mira-imx6-5.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: phyboard-mira-imx6-5
+#@DESCRIPTION: PCM-058-40233C0I.A0/PBA-C-06-002.A2 (i.MX6 Quad, 2GiB RAM, 8GB eMMC)
+#from http://www.phytec.de
+
+require conf/machine/include/phyimx6.inc
+
+SOC_FAMILY_append := ":mx6q"
+SOC_FAMILY_append := ":phyboard-mira-imx6"
+
+# Kernel
+KERNEL_DEVICETREE = "imx6q-phytec-mira-rdk-emmc.dtb"
+
+# Barebox Config
+BAREBOX_BIN = "images/barebox-phytec-phycore-imx6q-som-emmc-2gib.img"
+
+MACHINE_FEATURES += "touchscreen pci can wlan"
+
+SERIAL_CONSOLES = "115200;ttymxc1"
diff --git a/recipes-bsp/barebox/barebox_2015.11.0-phy1.bb b/recipes-bsp/barebox/barebox_2015.11.0-phy1.bb
index 99cb885..2c9194e 100644
--- a/recipes-bsp/barebox/barebox_2015.11.0-phy1.bb
+++ b/recipes-bsp/barebox/barebox_2015.11.0-phy1.bb
@@ -44,3 +44,4 @@ COMPATIBLE_MACHINE .= "|phyboard-subra-imx6-2"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-3"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-4"
+COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-5"
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6-5/machineenv/nv/linux.bootargs.cma b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6-5/machineenv/nv/linux.bootargs.cma
new file mode 100644
index 0000000..b8a8b45
--- /dev/null
+++ b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6-5/machineenv/nv/linux.bootargs.cma
@@ -0,0 +1 @@
+cma=265M@1G
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/boot/emmc b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/boot/emmc
new file mode 100644
index 0000000..3c89309
--- /dev/null
+++ b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/boot/emmc
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+[ -e /env/config-expansions ] && /env/config-expansions
+
+global.bootm.image="/mnt/emmc/zImage"
+global.bootm.oftree="/mnt/emmc/oftree"
+global.linux.bootargs.dyn.root="root=/dev/mmcblk3p2"
diff --git a/recipes-kernel/linux/linux-mainline_4.1.18-phy1.bb b/recipes-kernel/linux/linux-mainline_4.1.18-phy1.bb
index ee2705f..a1ea521 100644
--- a/recipes-kernel/linux/linux-mainline_4.1.18-phy1.bb
+++ b/recipes-kernel/linux/linux-mainline_4.1.18-phy1.bb
@@ -43,3 +43,4 @@ COMPATIBLE_MACHINE .= "|phyboard-subra-imx6-2"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-3"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-4"
+COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-5"