[meta-freescale] [meta-fsl-arm-extra][PATCH v2 4/5] apalis-imx6: add machine configuration

Max Krummenacher max.oss.09 at gmail.com
Fri Dec 4 05:18:37 PST 2015


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 <max.krummenacher at toradex.com>
---
 conf/machine/apalis-imx6.conf | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 conf/machine/apalis-imx6.conf

v2:
- Split commits in one for each machine.
- Rework UBOOT_CONFIG use

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 <max.krummenacher at toradex.com>
+
+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"
-- 
1.9.3



More information about the meta-freescale mailing list