summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2013-03-05 16:27:26 -0500
committerDenys Dmytriyenko <denys@ti.com>2013-03-08 16:15:35 -0500
commite37816400e0514c40c7065d4c18ac7eb80928854 (patch)
treec4d3d9fe0dad6afd68643b21fbf39b4ff4395805 /conf
parent82a8d7c5f20b6b7c8a6291405177a4f7f92749d6 (diff)
downloadmeta-ti-e37816400e0514c40c7065d4c18ac7eb80928854.tar.gz
ti33x, am335x, beaglebone: unify and cleanup configs
* Centralize common/SoC settings in ti33x.inc SOC_FAMILY config. * Set/override uncommon specifics in machine configs. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/am335x-evm.conf17
-rw-r--r--conf/machine/beaglebone.conf14
-rw-r--r--conf/machine/include/ti33x.inc19
3 files changed, 25 insertions, 25 deletions
diff --git a/conf/machine/am335x-evm.conf b/conf/machine/am335x-evm.conf
index 28893589..91f7e546 100644
--- a/conf/machine/am335x-evm.conf
+++ b/conf/machine/am335x-evm.conf
@@ -2,14 +2,12 @@
2#@NAME: AM335x EVM 2#@NAME: AM335x EVM
3#@DESCRIPTION: Machine configuration for the TI AM335x EVM 3#@DESCRIPTION: Machine configuration for the TI AM335x EVM
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 5require conf/machine/include/ti33x.inc
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-video-fbdev"
9 6
7# Use built-in LCD by default
8XSERVER += "xf86-input-tslib"
10GUI_MACHINE_CLASS = "smallscreen" 9GUI_MACHINE_CLASS = "smallscreen"
11 10MACHINE_FEATURES += "touchscreen"
12require conf/machine/include/ti33x.inc
13 11
14IMAGE_FSTYPES += "ubi tar.gz" 12IMAGE_FSTYPES += "ubi tar.gz"
15 13
@@ -37,10 +35,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
37# UBI: sub-page size: 512 35# UBI: sub-page size: 512
38# UBI: VID header offset: 2048 (aligned 2048) 36# UBI: VID header offset: 2048 (aligned 2048)
39UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" 37UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
40
41PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
42
43UBOOT_ARCH = "arm"
44UBOOT_MACHINE = "am335x_evm_config"
45
46MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen sgx"
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index 43af461b..dc77dd79 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -2,25 +2,15 @@
2#@NAME: BeagleBone machine 2#@NAME: BeagleBone machine
3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board 3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 5require conf/machine/include/ti33x.inc
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-video-fbdev"
9 6
10# Only has DVI connector for external screen 7# Only has DVI connector for external screen
11GUI_MACHINE_CLASS = "bigscreen" 8GUI_MACHINE_CLASS = "bigscreen"
12 9
13require conf/machine/include/ti33x.inc
14EXTRA_IMAGEDEPENDS = "u-boot"
15
16PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp" 10PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
17 11
18IMAGE_FSTYPES += "tar.bz2 " 12IMAGE_FSTYPES += "tar.bz2"
19 13
20# Guesswork
21SERIAL_CONSOLE = "115200 ttyO0" 14SERIAL_CONSOLE = "115200 ttyO0"
22 15
23UBOOT_MACHINE = "am335x_evm_config" 16UBOOT_MACHINE = "am335x_evm_config"
24
25# and sdio
26MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa sgx"
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index 93c50424..cf497219 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -3,15 +3,34 @@ require conf/machine/include/soc-family.inc
3 3
4require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
5 5
6PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
7
8# For built-in LCD, add xf86-input-tslib
9XSERVER = "xserver-xorg \
10 xf86-input-evdev \
11 xf86-input-mouse \
12 xf86-video-fbdev \
13 xf86-input-keyboard"
14
15# Default to external video, change to smallscreen for built-in LCD
16GUI_MACHINE_CLASS = "bigscreen"
17
6# Increase this everytime you change something in the kernel 18# Increase this everytime you change something in the kernel
7MACHINE_KERNEL_PR = "r17" 19MACHINE_KERNEL_PR = "r17"
8 20
21# Default providers, may need to override for specific machines
9PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp" 22PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
10PREFERRED_PROVIDER_virtual/bootloader = "u-boot" 23PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
11 24
12KERNEL_IMAGETYPE = "uImage" 25KERNEL_IMAGETYPE = "uImage"
13 26
27UBOOT_ARCH = "arm"
28UBOOT_MACHINE = "am335x_evm_config"
29
14UBOOT_ENTRYPOINT = "0x80008000" 30UBOOT_ENTRYPOINT = "0x80008000"
15UBOOT_LOADADDRESS = "0x80008000" 31UBOOT_LOADADDRESS = "0x80008000"
16 32
17EXTRA_IMAGEDEPENDS += "u-boot" 33EXTRA_IMAGEDEPENDS += "u-boot"
34
35# List common SoC features, may need to add touchscreen for specific machines
36MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"