summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-03-31 16:17:03 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2014-04-01 10:11:36 +0200
commitdbcc20e846db488beca4471d6594e57019e3dff9 (patch)
treec9f0090d0c325da4e7decd437963358e9d8ad39e /conf
parent8f956760a93f3e4cb330a377715887ed55771db1 (diff)
machines: add colibri-vf, apalis-imx6
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/apalis-imx6.conf26
-rw-r--r--conf/machine/colibri-vf.conf38
2 files changed, 64 insertions, 0 deletions
diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
new file mode 100644
index 0000000..10b5110
--- /dev/null
+++ b/conf/machine/apalis-imx6.conf
@@ -0,0 +1,26 @@
+#@TYPE: Machine
+#@NAME: Toradex Apalis iMX6
+#@SOC: i.MX6
+#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM
+
+DEFAULTTUNE_mx6 = "armv7ahf-neon"
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "mx6:mx6q"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-toradex-fsl"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-fsl"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex-fsl"
+
+# Ensure boot scripts will be available at rootfs time
+#do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
+
+UBOOT_MACHINE = "apalis_imx6q1g_config"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_FEATURES += " pci wifi bluetooth"
diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf
new file mode 100644
index 0000000..4d1423b
--- /dev/null
+++ b/conf/machine/colibri-vf.conf
@@ -0,0 +1,38 @@
+#@TYPE: Machine
+#@NAME: colibri_vf50/colibri_vf61 SOM powered by Freescale Vybrid family
+#@SOC: vf50 vf61
+#@DESCRIPTION: Toradex Colibri VF50, Colibri VF61
+
+#use hard float
+DEFAULTTUNE = "armv7ahf-neon"
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa5.inc
+
+#TODO
+SOC_FAMILY = "vf:vf60"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-toradex-fsl"
+PREFERRED_PROVIDER_u-boot = "u-boot-toradex-fsl"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-fsl"
+UBOOT_SUFFIX = "nand"
+UBOOT_MAKE_TARGET = ""
+UBOOT_MACHINE = "colibri_vf_config"
+# note that this is a pure SW solution, don't expect GPU performance
+PREFERRED_PROVIDER_virtual/mesa = "mesa"
+PREFERRED_PROVIDER_virtual/gl = "mesa"
+PREFERRED_PROVIDER_virtual/libgl = "mesa"
+
+SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
+IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
+
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa touchscreen ethernet wifi bluetooth 3g"
+EXTRA_IMAGEDEPENDS += "u-boot"
+
+#Workaround
+#if there is /dev/null with correct major and minor number, the userspace RS232
+#console gobbles most of the output. Sometimes there is a kernel oops during
+#init. So don't provide any device files during in the rootfs and let the
+#tempdevfs do the work
+USE_DEVFS = "1"