summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-07-26 14:39:45 +0200
committerNorbert Wesp <n.wesp@phytec.de>2019-07-26 14:49:11 +0200
commit93201b9b44469cf0ea3e26a7bf98445f019babc1 (patch)
treed45572e0aa2156234e555b6a8f50a29567fbb2dd
parentace1f8d37ca6e882c7cae97c48fcf1e7c6868715 (diff)
downloadmeta-phytec-93201b9b44469cf0ea3e26a7bf98445f019babc1.tar.bz2
meta-phytec-93201b9b44469cf0ea3e26a7bf98445f019babc1.zip
machine: Add phyflex-imx6-11
The phyflex-imx6-11 is the same as the phyflex-imx6-4 (i.MX 6Quad, 4GB RAM, 4GB NAND) but with a new NAND chip with 8k pagesize instead of 4k. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Norbert Wesp <n.wesp@phytec.de>
-rw-r--r--conf/machine/phyflex-imx6-11.conf24
-rw-r--r--recipes-bsp/barebox/barebox_2017.12.0-phy4.bb1
-rw-r--r--recipes-kernel/linux/linux-mainline_4.14.134-phy1.bb1
3 files changed, 26 insertions, 0 deletions
diff --git a/conf/machine/phyflex-imx6-11.conf b/conf/machine/phyflex-imx6-11.conf
new file mode 100644
index 0000000..6ca2fdd
--- /dev/null
+++ b/conf/machine/phyflex-imx6-11.conf
@@ -0,0 +1,24 @@
+#@TYPE: Machine
+#@NAME: phyflex-imx6-11
+#@DESCRIPTION: PHYTEC phyFLEX-i.MX6 Quad PBA-B-01, 4GiB RAM two banks, 16MiB SPI-NOR, 8k page NAND
+#@ARTICLENUMBERS: PFL-A-02-55237E0.A3
+#@SUPPORTEDIMAGE: phytec-qt5demo-image/yogurt
+
+require conf/machine/include/phyimx6qdl.inc
+
+SOC_FAMILY .= ":mx6q"
+SOC_FAMILY .= ":phyflex-imx6"
+
+# Kernel
+KERNEL_DEVICETREE = "imx6q-phytec-pbab01.dtb"
+
+# Barebox Config
+BAREBOX_BIN = "images/barebox-phytec-pbab01-4gib.img"
+
+# resistivetouch, the rdk has one attached
+MACHINE_FEATURES += "resistivetouch pci can alsa"
+
+# Other nandchip
+# NAND device: Manufacturer ID: 0x2c, Chip ID: 0x68 (Micron MT29F32G08ABAAAWP), 4096MiB, page size: 8192, OOB size: 448
+MKUBIFS_ARGS = "-F -m 8192 -e 1032192 -c 4087"
+UBINIZE_ARGS = "-m 8192 -p 1MiB -s 8192 -O 8192"
diff --git a/recipes-bsp/barebox/barebox_2017.12.0-phy4.bb b/recipes-bsp/barebox/barebox_2017.12.0-phy4.bb
index bc7b9e0..2362977 100644
--- a/recipes-bsp/barebox/barebox_2017.12.0-phy4.bb
+++ b/recipes-bsp/barebox/barebox_2017.12.0-phy4.bb
@@ -566,6 +566,7 @@ COMPATIBLE_MACHINE .= "|phyflex-imx6-7"
COMPATIBLE_MACHINE .= "|phyflex-imx6-8"
COMPATIBLE_MACHINE .= "|phyflex-imx6-9"
COMPATIBLE_MACHINE .= "|phyflex-imx6-10"
+COMPATIBLE_MACHINE .= "|phyflex-imx6-11"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-3"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-4"
diff --git a/recipes-kernel/linux/linux-mainline_4.14.134-phy1.bb b/recipes-kernel/linux/linux-mainline_4.14.134-phy1.bb
index fe809b0..44e1df0 100644
--- a/recipes-kernel/linux/linux-mainline_4.14.134-phy1.bb
+++ b/recipes-kernel/linux/linux-mainline_4.14.134-phy1.bb
@@ -29,6 +29,7 @@ COMPATIBLE_MACHINE .= "|phyflex-imx6-7"
COMPATIBLE_MACHINE .= "|phyflex-imx6-8"
COMPATIBLE_MACHINE .= "|phyflex-imx6-9"
COMPATIBLE_MACHINE .= "|phyflex-imx6-10"
+COMPATIBLE_MACHINE .= "|phyflex-imx6-11"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-3"
COMPATIBLE_MACHINE .= "|phyboard-mira-imx6-4"