From 201072ec6830670fca921e51cc5bbdd74efb28fd Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 4 Dec 2015 14:18:37 +0100 Subject: [PATCH] apalis-imx6: add machine configuration The Toradex Apalis iMX6 computer module is based on i.MX 6. The Apalis iMX6 is a member of the pincompatible Apalis family. They feature on module RAM and EMMC, Ethernet PHY, Resistive Touch Controller and Audio Codec. For additional specifications please visit: https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6 Signed-off-by: Max Krummenacher Signed-off-by: Otavio Salvador --- conf/machine/apalis-imx6.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 conf/machine/apalis-imx6.conf diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf new file mode 100644 index 0000000..137e12c --- /dev/null +++ b/conf/machine/apalis-imx6.conf @@ -0,0 +1,30 @@ +#@TYPE: Machine +#@NAME: Toradex Apalis iMX6Q/D +#@SOC: i.MX6 +#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM +#@MAINTAINER: Max Krummenacher + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +SOC_FAMILY = "mx6:mx6q" + +PREFERRED_PROVIDER_virtual/kernel = "linux-toradex" +KERNEL_DEVICETREE = "imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb \ + imx6q-apalis-ixora.dtb imx6q-apalis_v1_0-ixora.dtb" +KERNEL_IMAGETYPE = "uImage" + +PREFERRED_PROVIDER_u-boot = "u-boot-toradex" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex" +# Modules in commercial and industrial temperature range have different RAM. +# Using apalis_imx6_it_defconfig builds an U-Boot working for both temperature +# ranges, however, on commercially rated modules the RAM bandwidth is 5-10% +# higher when using the optimized settings from apalis_imx6_defconfig. +# The following builds both binaries, but uses the IT one in an SD image. +UBOOT_CONFIG ??= "it" +UBOOT_CONFIG[com] = "apalis_imx6_defconfig" +UBOOT_CONFIG[it] = "apalis_imx6_it_defconfig" + +SERIAL_CONSOLE = "115200 ttymxc0" + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci"