summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorChase Maupin <Chase.Maupin@ti.com>2013-03-26 10:48:08 -0500
committerDenys Dmytriyenko <denys@ti.com>2013-03-26 14:32:45 -0400
commit5a0982d9ff770ab1fb92b1622d63671c127c9037 (patch)
tree7307a03ffe37d58bea375c725bd1d049bb3e9e56 /conf/machine
parentff82dd3cc33659f242a189b7cacb792f36f8e099 (diff)
downloadmeta-ti-5a0982d9ff770ab1fb92b1622d63671c127c9037.tar.gz
omap5-evm: Add OMAP5 EVM configuration
* Add the machine configuration for the OMAP5 EVM device. * Create the omap-a15.inc file to be shared with all OMAP Cortex-A15 derivative devices. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/omap-a15.inc25
-rw-r--r--conf/machine/omap5-evm.conf36
2 files changed, 61 insertions, 0 deletions
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
new file mode 100644
index 00000000..fa2037a7
--- /dev/null
+++ b/conf/machine/include/omap-a15.inc
@@ -0,0 +1,25 @@
1SOC_FAMILY = "omap-a15"
2require conf/machine/include/soc-family.inc
3
4require conf/machine/include/tune-cortexa15.inc
5
6# Increase this everytime you change something in the kernel
7MACHINE_KERNEL_PR = "r0"
8
9PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
10PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
11
12KERNEL_IMAGETYPE = "uImage"
13
14UBOOT_ARCH = "arm"
15UBOOT_ENTRYPOINT = "0x80008000"
16UBOOT_LOADADDRESS = "0x80008000"
17
18EXTRA_IMAGEDEPENDS += "virtual/bootloader"
19
20PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
21XSERVER = "xserver-xorg \
22 xf86-input-evdev \
23 xf86-video-fbdev"
24
25GUI_MACHINE_CLASS = "smallscreen"
diff --git a/conf/machine/omap5-evm.conf b/conf/machine/omap5-evm.conf
new file mode 100644
index 00000000..0504bb6c
--- /dev/null
+++ b/conf/machine/omap5-evm.conf
@@ -0,0 +1,36 @@
1#@TYPE: Machine
2#@NAME: OMAP5 EVM
3#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
4
5require conf/machine/include/omap-a15.inc
6
7IMAGE_FSTYPES += "ubi tar.gz"
8
9SERIAL_CONSOLE = "115200 ttyO0"
10
11# UBI information. Note that this is board and kernel specific. Changes
12# in your kernel port may require changes in these variables. For more
13# details about this board please see
14# http://processors.wiki.ti.com/index.php/UBIFS_Support
15
16# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
17# From dmesg:
18# UBI: smallest flash I/O unit: 2048
19# UBI: logical eraseblock size: 126976 bytes
20# from ubiattach stdout:
21# UBI device number 0, total 1988 LEBs
22MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
23
24# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
25# from dmesg:
26# UBI: smallest flash I/O unit: 2048
27# UBI: physical eraseblock size: 131072 bytes (128 KiB)
28# UBI: sub-page size: 512
29# UBI: VID header offset: 2048 (aligned 2048)
30UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
31
32UBOOT_MACHINE = "omap5_evm_config"
33
34# Currently removing the sgx machine feature because there is no SGX package
35# available for omap5
36MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"