ventana: add machine conf

Add a machine conf for the Gateworks Ventana product
family. For more information, please see the product site at
http://www.gateworks.com/product#ventana

Change-Id: I00954787e33b11fee7c422a111160b77eae1591f
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Pushpal Sidhu 2015-04-22 12:43:19 -07:00 committed by Otavio Salvador
parent af52c01b11
commit be6c9f9b99

56
conf/machine/ventana.conf Normal file
View File

@ -0,0 +1,56 @@
#@TYPE: Machine
#@NAME: i.MX6Q/DL Ventana Platform
#@SOC: i.MX6Q/DL
#@DESCRIPTION: Machine configuration for Gateworks Ventana boards.
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_u-boot = "u-boot-gateworks-imx"
PREFERRED_PROVIDER_virtual/kernel = "linux-gateworks-imx"
SOC_FAMILY = "mx6:mx6dl:mx6q"
KERNEL_DEVICETREE = " \
imx6q-gw5400-a.dtb \
imx6q-gw51xx.dtb \
imx6q-gw52xx.dtb \
imx6q-gw53xx.dtb \
imx6q-gw54xx.dtb \
imx6q-gw551x.dtb \
imx6q-gw552x.dtb \
imx6dl-gw51xx.dtb \
imx6dl-gw52xx.dtb \
imx6dl-gw53xx.dtb \
imx6dl-gw54xx.dtb \
imx6dl-gw551x.dtb \
imx6dl-gw552x.dtb \
"
KERNEL_IMAGETYPE = "uImage"
MACHINE_FEATURES += "pci wifi bluetooth"
# Add kernel/modules
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-sky2"
# Modules autoload
KERNEL_MODULE_AUTOLOAD = "sky2"
# Bootloader configs:
UBOOT_CONFIG ??= "std"
UBOOT_CONFIG[std] = "gwventana_config"
SERIAL_CONSOLE = "115200 ttymxc1"
# Override FS Type Creation
IMAGE_FSTYPES = "tar.bz2 ubi"
UBI_VOLNAME = "rootfs"
# 256MB ('normal' flash layout)
MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib"
UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048"
# 2GB ('large' flash layout)
#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib"
#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096"