smarct335x.conf
2.92 KB
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
73
74
75
#@TYPE: Machine
#@NAME: smarct335xx
#@DESCRIPTION: Machine configuration for the Embedian's SMARC-T335X Computer on Module product.
require conf/machine/include/ti33x.inc
#CREATE_SRCIPK_pn-linux-smarct335x-staging = "1"
#SRCIPK_INSTALL_DIR_pn-linux-smarct335x-staging = "board-support/linux-${PV}${KERNEL_LOCALVERSION}"
#SRCIPK_PACKAGE_ARCH_pn-linux-smarct335x-staging = "${MACHINE_ARCH}"
#SRCIPK_PRESERVE_GIT_pn-linux-smarct335x-staging = "true"
# Name and version of the distribution
DISTRO_NAME = "smarct335x"
DISTRO_VERSION = "2016.05"
DISTRO_FEED_URI ?= "http://www.embedian.com"
FEEDURIPREFIX ?= "core-sdk/smarct335x/smarct3x-processor-sdk-03.00.00.04/deploy/ipk/"
# Specify kernel recipe
PREFERRED_PROVIDER_virtual/kernel_smarct335x = "linux-smarct335x-staging"
PREFERRED_VERSION_linux_smarct335x = "4.4"
#PREFERRED_VERSION_linux-libc-headers_smarct335x = "3.8"
CREATE_SRCIPK_pn-linux-smarct335x-staging = "1"
SRCIPK_INSTALL_DIR_pn-linux-smarct335x-staging = "board-support/linux-${PV}${KERNEL_LOCALVERSION}"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r0"
KERNEL_IMAGETYPE = "zImage"
# Override several Arago distro package version selections.
PREFERRED_PROVIDER_virtual/bootloader_smarct335x = "u-boot-smarct335x"
PREFERRED_PROVIDER_u-boot_smarct335x = "u-boot-smarct335x"
PREFERRED_VERSION_u-boot_smarct335x = "2016.05-smarct335x"
UBOOT_MACHINE = "smarct335x_evm_uart3_defconfig"
# Specify Nodejs version if you would like Cloud9 to be build
# PREFERRED_VERSION_nodejs_smarct335x = "0.8.21"
# PREFERRED_VERSION_nodejs-native_smarct335x = "0.8.21"
PREFERRED_VERSION_nodejs_smarct335x = "4.4.3"
PREFERRED_VERSION_nodejs-native_smarct335x = "4.4.3"
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
GUI_MACHINE_CLASS = "smallscreen"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS4 115200;ttyO4"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2600"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
# Ship all kernel modules by default
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet touchscreen sgx"