summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2013-03-05 16:24:39 -0500
committerDenys Dmytriyenko <denys@ti.com>2013-03-08 16:15:35 -0500
commit82a8d7c5f20b6b7c8a6291405177a4f7f92749d6 (patch)
tree7d8d5d18c64a2e64f0f3105cc3cf10d800671950 /conf
parent62f7277a7a02d551771adba6616c1885ee859f15 (diff)
downloadmeta-ti-82a8d7c5f20b6b7c8a6291405177a4f7f92749d6.tar.gz
omap3, am37x, am3517, beagleboard: unify and cleanup configs
* Centralize common/SoC settings in omap3.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/am3517-evm.conf22
-rw-r--r--conf/machine/am37x-evm.conf25
-rw-r--r--conf/machine/beagleboard.conf18
-rw-r--r--conf/machine/include/omap3.inc23
-rw-r--r--conf/machine/omap3evm.conf24
5 files changed, 37 insertions, 75 deletions
diff --git a/conf/machine/am3517-evm.conf b/conf/machine/am3517-evm.conf
index d9ce7586..0151fe96 100644
--- a/conf/machine/am3517-evm.conf
+++ b/conf/machine/am3517-evm.conf
@@ -2,19 +2,12 @@
2#@NAME: AM3517 EVM 2#@NAME: AM3517 EVM
3#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM 3#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-input-mouse \
9 xf86-input-tslib \
10 xf86-video-omapfb \
11 xf86-input-keyboard"
12
13GUI_MACHINE_CLASS = "smallscreen"
14
15require conf/machine/include/omap3.inc 5require conf/machine/include/omap3.inc
16 6
17# Ship all kernel modules 7# Use built-in LCD by default
8XSERVER += "xf86-input-tslib"
9GUI_MACHINE_CLASS = "smallscreen"
10MACHINE_FEATURES += "touchscreen ethernet"
18 11
19IMAGE_FSTYPES += "ubi tar.gz" 12IMAGE_FSTYPES += "ubi tar.gz"
20EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" 13EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
@@ -24,16 +17,10 @@ USE_VT = "2"
24 17
25PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" 18PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
26 19
27PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
28
29UBOOT_ARCH = "arm"
30UBOOT_MACHINE = "am3517_evm_config" 20UBOOT_MACHINE = "am3517_evm_config"
31XLOAD_MACHINE = "am3517evm_config" 21XLOAD_MACHINE = "am3517evm_config"
32 22
33MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen ethernet sgx"
34
35# NOTE: there are NAND and OneNAND versions of this board... 23# NOTE: there are NAND and OneNAND versions of this board...
36
37# do ubiattach /dev/ubi_ctrl -m 4 24# do ubiattach /dev/ubi_ctrl -m 4
38# From dmesg: 25# From dmesg:
39# UBI: smallest flash I/O unit: 2048 26# UBI: smallest flash I/O unit: 2048
@@ -48,4 +35,3 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
48# UBI: physical eraseblock size: 131072 bytes (128 KiB) 35# UBI: physical eraseblock size: 131072 bytes (128 KiB)
49# UBI: sub-page size: 512 36# UBI: sub-page size: 512
50UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" 37UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
51
diff --git a/conf/machine/am37x-evm.conf b/conf/machine/am37x-evm.conf
index 2d1d44d8..3122e103 100644
--- a/conf/machine/am37x-evm.conf
+++ b/conf/machine/am37x-evm.conf
@@ -2,19 +2,12 @@
2#@NAME: AM37x EVM 2#@NAME: AM37x EVM
3#@DESCRIPTION: Machine configuration for the TI AM37x EVM 3#@DESCRIPTION: Machine configuration for the TI AM37x EVM
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-input-mouse \
9 xf86-input-tslib \
10 xf86-video-omapfb \
11 xf86-input-keyboard"
12
13GUI_MACHINE_CLASS = "smallscreen"
14
15require conf/machine/include/omap3.inc 5require conf/machine/include/omap3.inc
16 6
17# Ship all kernel modules 7# Use built-in LCD by default
8XSERVER += "xf86-input-tslib"
9GUI_MACHINE_CLASS = "smallscreen"
10MACHINE_FEATURES += "touchscreen ethernet"
18 11
19IMAGE_FSTYPES += "ubi tar.gz" 12IMAGE_FSTYPES += "ubi tar.gz"
20EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" 13EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
@@ -23,16 +16,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
23 16
24PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" 17PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
25 18
26PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
27
28UBOOT_ARCH = "arm"
29UBOOT_MACHINE = "omap3_evm_config"
30XLOAD_MACHINE = "omap3evm_config"
31
32MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen sgx"
33
34# NOTE: there are NAND and OneNAND versions of this board... 19# NOTE: there are NAND and OneNAND versions of this board...
35
36# do ubiattach /dev/ubi_ctrl -m 4 20# do ubiattach /dev/ubi_ctrl -m 4
37# From dmesg: 21# From dmesg:
38# UBI: smallest flash I/O unit: 2048 22# UBI: smallest flash I/O unit: 2048
@@ -47,4 +31,3 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
47# UBI: physical eraseblock size: 131072 bytes (128 KiB) 31# UBI: physical eraseblock size: 131072 bytes (128 KiB)
48# UBI: sub-page size: 512 32# UBI: sub-page size: 512
49UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" 33UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
50
diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index e8b62792..a65e3603 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -2,27 +2,16 @@
2#@NAME: Beagleboard machine 2#@NAME: Beagleboard machine
3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board 3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 5require conf/machine/include/omap3.inc
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-input-mouse \
9 xf86-video-omapfb \
10 xf86-input-keyboard"
11 6
12# Only has DVI connector for external screen 7# Only has DVI connector for external screen
13GUI_MACHINE_CLASS = "bigscreen" 8GUI_MACHINE_CLASS = "bigscreen"
14 9
15require conf/machine/include/omap3.inc
16
17# SPL build
18EXTRA_IMAGEDEPENDS = "u-boot"
19
20PREFERRED_PROVIDER_virtual/kernel = "linux-mainline" 10PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
21 11
22IMAGE_FSTYPES += "tar.gz ubi" 12IMAGE_FSTYPES += "tar.gz ubi"
23EXTRA_IMAGECMD_jffs2 = "-lnp " 13EXTRA_IMAGECMD_jffs2 = "-lnp"
24 14
25# Guesswork
26SERIAL_CONSOLE = "115200 ttyO2" 15SERIAL_CONSOLE = "115200 ttyO2"
27 16
28UBOOT_MACHINE = "omap3_beagle_config" 17UBOOT_MACHINE = "omap3_beagle_config"
@@ -44,9 +33,6 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
44# UBI: sub-page size: 512 33# UBI: sub-page size: 512
45UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" 34UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
46 35
47# and sdio
48MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa sgx"
49
50# For a modularized kernel we want to drag in networking, sound, rtc etc." 36# For a modularized kernel we want to drag in networking, sound, rtc etc."
51MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \ 37MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
52 kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle" 38 kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"
diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index 8ebbb085..99f0c80c 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -3,15 +3,36 @@ 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-omapfb \
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 = "r123" 19MACHINE_KERNEL_PR = "r123"
8 20
9KERNEL_IMAGETYPE = "uImage" 21KERNEL_IMAGETYPE = "uImage"
10 22
23# Default providers, may need to override for specific machines
11PREFERRED_PROVIDER_virtual/kernel = "linux-omap" 24PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
12PREFERRED_PROVIDER_virtual/bootloader = "u-boot" 25PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
13 26
27UBOOT_ARCH = "arm"
28UBOOT_MACHINE = "omap3_evm_config"
29XLOAD_MACHINE = "omap3evm_config"
30
14UBOOT_ENTRYPOINT = "0x80008000" 31UBOOT_ENTRYPOINT = "0x80008000"
15UBOOT_LOADADDRESS = "0x80008000" 32UBOOT_LOADADDRESS = "0x80008000"
16 33
17EXTRA_IMAGEDEPENDS += "u-boot x-load" 34# If SPL is not used, may need to add x-load
35EXTRA_IMAGEDEPENDS += "u-boot"
36
37# List common SoC features, may need to add touchscreen/ethernet for specific machines
38MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"
diff --git a/conf/machine/omap3evm.conf b/conf/machine/omap3evm.conf
index 07196715..a793798b 100644
--- a/conf/machine/omap3evm.conf
+++ b/conf/machine/omap3evm.conf
@@ -2,19 +2,12 @@
2#@NAME: OMAP3 EVM 2#@NAME: OMAP3 EVM
3#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM 3#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
4 4
5PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
6XSERVER = "xserver-xorg \
7 xf86-input-evdev \
8 xf86-input-mouse \
9 xf86-input-tslib \
10 xf86-video-omapfb \
11 xf86-input-keyboard"
12
13GUI_MACHINE_CLASS = "smallscreen"
14
15require conf/machine/include/omap3.inc 5require conf/machine/include/omap3.inc
16 6
17# Ship all kernel modules 7# Use built-in LCD by default
8XSERVER += "xf86-input-tslib"
9GUI_MACHINE_CLASS = "smallscreen"
10MACHINE_FEATURES += "touchscreen ethernet"
18 11
19IMAGE_FSTYPES += "jffs2 tar.bz2" 12IMAGE_FSTYPES += "jffs2 tar.bz2"
20EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" 13EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
@@ -24,16 +17,9 @@ USE_VT = "0"
24 17
25PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" 18PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
26 19
27PREFERRED_PROVIDER_virtual/bootloader = "u-boot" 20EXTRA_IMAGEDEPENDS += "x-load"
28
29UBOOT_ARCH = "arm"
30UBOOT_MACHINE = "omap3_evm_config"
31XLOAD_MACHINE = "omap3evm_config"
32
33MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen sgx"
34 21
35# NOTE: there are NAND and OneNAND versions of this board... 22# NOTE: there are NAND and OneNAND versions of this board...
36
37# do ubiattach /dev/ubi_ctrl -m 4 23# do ubiattach /dev/ubi_ctrl -m 4
38# From dmesg: 24# From dmesg:
39# UBI: smallest flash I/O unit: 2048 25# UBI: smallest flash I/O unit: 2048