/
ventana.conf
72 lines (55 loc) · 1.74 KB
/
ventana.conf
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#@TYPE: Machine
#@NAME: i.MX6Q/DL Ventana Platform
#@SOC: i.MX6Q/DL
#@DESCRIPTION: Machine configuration for Gateworks Ventana boards.
#@MAINTAINER: Pushpal Sidhu <psidhu@gateworks.com>
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-gateworks-imx"
PREFERRED_PROVIDER_u-boot = "u-boot-gateworks-imx"
PREFERRED_PROVIDER_virtual/kernel = "linux-gateworks-imx"
PREFERRED_PROVIDER_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_EXTRA_RRECOMMENDS += "\
kernel-module-sky2 \
"
# Modules autoload
KERNEL_MODULE_AUTOLOAD = "sky2"
# Req'd for boot
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "\
kernel-image kernel-devicetree \
u-boot-script-gateworks-imx \
"
# Bootloader configs:
UBOOT_CONFIG ??= "std"
UBOOT_CONFIG[std] = "gwventana_config"
SERIAL_CONSOLE = "115200 ttymxc1"
# Override FS Type Creation
IMAGE_FSTYPES = "tar.bz2 multiubi"
# Build the following sizes
MULTIUBI_BUILD ?= "normal large"
UBI_VOLNAME = "rootfs"
# 256MB ('normal' flash layout)
export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 1912 -x zlib"
export UBINIZE_ARGS_normal = "-m 2048 -p 128KiB -s 2048"
# 2GB ('large' flash layout)
export MKUBIFS_ARGS_large = "-F -m 4096 -e 248KiB -c 8124 -x zlib"
export UBINIZE_ARGS_large = "-m 4096 -p 256KiB -s 4096"