[meta-freescale] [meta-fsl-arm-extra][PATCH v3 3/3] gateworks ventana: add machine conf

Pushpal Sidhu psidhu at gateworks.com
Wed Apr 22 12:43:19 PDT 2015


Add a machine conf for the Gateworks Ventana product
family. For more information, please see the product site at
http://www.gateworks.com/product#ventana

Signed-off-by: Pushpal Sidhu <psidhu at gateworks.com>

---
Changes v3:
 * Rename from gwventana to ventana

Changes v2:
 * remove do_install of u-boot-script
 * move to patch 3/3 from 1/3

 conf/machine/ventana.conf | 56 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
 create mode 100644 conf/machine/ventana.conf

diff --git a/conf/machine/ventana.conf b/conf/machine/ventana.conf
new file mode 100644
index 0000000..d5eec41
--- /dev/null
+++ b/conf/machine/ventana.conf
@@ -0,0 +1,56 @@
+#@TYPE: Machine
+#@NAME: i.MX6Q/DL Ventana Platform
+#@SOC: i.MX6Q/DL
+#@DESCRIPTION: Machine configuration for Gateworks Ventana boards.
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa9.inc
+
+PREFERRED_PROVIDER_u-boot = "u-boot-gateworks-imx"
+PREFERRED_PROVIDER_virtual/kernel = "linux-gateworks-imx"
+
+SOC_FAMILY = "mx6:mx6dl:mx6q"
+
+KERNEL_DEVICETREE  = " \
+	imx6q-gw5400-a.dtb \
+	imx6q-gw51xx.dtb \
+	imx6q-gw52xx.dtb \
+	imx6q-gw53xx.dtb \
+	imx6q-gw54xx.dtb \
+	imx6q-gw551x.dtb \
+	imx6q-gw552x.dtb \
+	imx6dl-gw51xx.dtb \
+	imx6dl-gw52xx.dtb \
+	imx6dl-gw53xx.dtb \
+	imx6dl-gw54xx.dtb \
+	imx6dl-gw551x.dtb \
+	imx6dl-gw552x.dtb \
+"
+
+KERNEL_IMAGETYPE = "uImage"
+
+MACHINE_FEATURES += "pci wifi bluetooth"
+
+# Add kernel/modules
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-module-sky2"
+
+# Modules autoload
+KERNEL_MODULE_AUTOLOAD = "sky2"
+
+# Bootloader configs:
+UBOOT_CONFIG ??= "std"
+UBOOT_CONFIG[std] = "gwventana_config"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+# Override FS Type Creation
+IMAGE_FSTYPES = "tar.bz2 ubi"
+
+UBI_VOLNAME = "rootfs"
+# 256MB ('normal' flash layout)
+MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib"
+UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048"
+# 2GB ('large' flash layout)
+#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib"
+#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096"
-- 
2.3.5



More information about the meta-freescale mailing list