From 9e6a380e6e6e0eb2fed273f86536d6b083355ca2 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 31 Mar 2014 16:17:03 +0200 Subject: machines: add colibri-vf, apalis-imx6 --- conf/machine/apalis-imx6.conf | 26 ++++++++++++++++++++++++++ conf/machine/colibri-vf.conf | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 conf/machine/apalis-imx6.conf create mode 100644 conf/machine/colibri-vf.conf (limited to 'conf') 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" -- cgit v1.2.3