colibri-imx7.conf: add machine configuration

The Toradex Colibri iMX7 computer module is based on i.MX 7Solo and i.MX 7Dual.

The Colibri iMX7 is a member of the pincompatible Colibri family.

They feature on module RAM and NAND, Ethernet PHY, Resistive Touch
Controller and Audio Codec.

For additional specifications please visit:
https://www.toradex.com/computer-on-modules/colibri-arm-family/nxp-freescale-imx7

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Max Krummenacher 2016-07-21 20:07:49 +02:00 committed by Otavio Salvador
parent 22200d47e0
commit e1a46d08f6

View File

@ -0,0 +1,37 @@
#@TYPE: Machine
#@NAME: Toradex Colibri iMX7D/S
#@SOC: i.MX 7Dual / i.MX 7Solo
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX7 SOM
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa7.inc
SOC_FAMILY = "mx7:mx7d"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE += "imx7d-colibri-eval-v3.dtb imx7s-colibri-eval-v3.dtb"
# U-Boot of our newer release read the Kernel and device tree from static UBI
# volumes, hence no need to deploy the kernel binary in the image itself
RDEPENDS_kernel-base = ""
PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
# U-Boot NAND binary includes 0x400 padding required for NAND boot
UBOOT_BINARY = "u-boot-nand.imx"
UBOOT_MAKE_TARGET = "u-boot-nand.imx"
UBOOT_MACHINE ?= "colibri_imx7_defconfig"
IMAGE_FSTYPES = "sdcard.gz tar.xz ubifs"
# Enable free --space-fixup (-F) by default, this allows DFU updates
MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
UBI_VOLNAME = "rootfs"
SERIAL_CONSOLE = "115200 ttymxc0"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"