Blame view

conf/machine/smarct335x.conf 2.42 KB
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
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: smarct335x
  #DESCRIPTION: Machine configuration for the Embedian's SMARC T335X Computer on Module product.
  
  TARGET_ARCH = "arm"
  # DEFAULTTUNE makes it possible to build for the ARM hardfloat ABI.
  #DEFAULTTUNE ?= "cortexa8hf-neon"
  
  require conf/machine/include/ti33x.inc
  
  #Specify gcc recipe version
  PREFERRED_VERSION_gcc = "linaro-4.7"
  PREFERRED_VERSION_gcc-cross = "linaro-4.7"
  PREFERRED_VERSION_gcc-cross-canadian = "linaro-4.7"
  PREFERRED_VERSION_gcc-cross-initial = "linaro-4.7"
  PREFERRED_VERSION_gcc-crosssdk = "linaro-4.7"
  PREFERRED_VERSION_gcc-crosssdk-initial = "linaro-4.7"
  PREFERRED_VERSION_gcc-runtime = "linaro-4.7"
  PREFERRED_VERSION_libgcc = "linaro-4.7"
  
  # Specify kernel recipe
  PREFERRED_PROVIDER_virtual/kernel_smarct335x = "linux-smarct335x"
  PREFERRED_VERSION_linux-libc-headers_smarct335x = "3.2"
  # 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 = "u-boot"
  PREFERRED_PROVIDER_u-boot = "u-boot"
  PREFERRED_VERSION_u-boot = "2014.04-smarct335x"
  
  PREFERRED_VERSION_ti-wifi-utils_smarct335x = "RLS.R4.12"
  
  UBOOT_ARCH = "arm"
  UBOOT_MACHINE = "smarct335x_evm_uart3_config"
36d483e5e   Eric Lee   Add Cloud9 IDE Su...
37
38
  # Specify Nodejs version if you would like Cloud9 to be build
  PREFERRED_VERSION_nodejs-native_smarct335x = "0.8.21"
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
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
  # For built-in LCD by default
  XSERVER += "xf86-input-tslib"
  
  SERIAL_CONSOLE = "115200 ttyO3"
  
  # 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 = "-m 4096 -e 253952 -c 1580"
  
  # 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"
  
  IMAGE_FSTYPES += "ubi tar.gz"
  
  # Ship all kernel modules by default
  MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
  MACHINE_FEATURES = "kernel26 alsa usbgadget usbhost apm vfat ext2 screen touchscreen ethernet"