summaryrefslogtreecommitdiff
path: root/conf/machine/colibri-imx6.conf
blob: f011b80f5e7a004a7f1cd10466ed7c528dfd93b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#@TYPE: Machine
#@NAME: Toradex Colibri iMX6DL/S
#@SOC: i.MX6 DL/S
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX6 SOM
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>

MACHINEOVERRIDES =. "mx6:mx6dl:"

include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc

PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
KERNEL_DEVICETREE += "imx6dl-colibri-eval-v3.dtb imx6dl-colibri-cam-eval-v3.dtb"
KERNEL_IMAGETYPE = "uImage"

PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
SPL_BINARY = "SPL"
# The SPL configures the DDR RAM depending on the module it runs on. Thus there
# is no need to distingush between the different module types.
# For recovery mode we build a U-Boot with save timings for all known Apalis iMX6
# Note: The last config will be symlinked to U_BOOT_BINARY which is crucial for
# certain image formats.
UBOOT_CONFIG ??= "recover spl"
UBOOT_CONFIG[spl] = "colibri_imx6_defconfig,,u-boot.img"
UBOOT_CONFIG[recover] = "colibri_imx6_nospl_defconfig,,u-boot.imx"
UBOOT_MAKE_TARGET = ""

IMAGE_CLASSES += "image_type_tezi"
IMAGE_FSTYPES = "sdcard.gz tar.xz teziimg"

SERIAL_CONSOLE ?= "115200 ttymxc0"

TORADEX_PRODUCT_IDS = "0014 0015 0016 0017"

MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"