diff options
| author | Chase Maupin <Chase.Maupin@ti.com> | 2013-03-26 10:48:08 -0500 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2013-03-26 14:32:45 -0400 |
| commit | 5a0982d9ff770ab1fb92b1622d63671c127c9037 (patch) | |
| tree | 7307a03ffe37d58bea375c725bd1d049bb3e9e56 /conf | |
| parent | ff82dd3cc33659f242a189b7cacb792f36f8e099 (diff) | |
| download | meta-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')
| -rw-r--r-- | conf/machine/include/omap-a15.inc | 25 | ||||
| -rw-r--r-- | conf/machine/omap5-evm.conf | 36 |
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 @@ | |||
| 1 | SOC_FAMILY = "omap-a15" | ||
| 2 | require conf/machine/include/soc-family.inc | ||
| 3 | |||
| 4 | require conf/machine/include/tune-cortexa15.inc | ||
| 5 | |||
| 6 | # Increase this everytime you change something in the kernel | ||
| 7 | MACHINE_KERNEL_PR = "r0" | ||
| 8 | |||
| 9 | PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" | ||
| 10 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
| 11 | |||
| 12 | KERNEL_IMAGETYPE = "uImage" | ||
| 13 | |||
| 14 | UBOOT_ARCH = "arm" | ||
| 15 | UBOOT_ENTRYPOINT = "0x80008000" | ||
| 16 | UBOOT_LOADADDRESS = "0x80008000" | ||
| 17 | |||
| 18 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
| 19 | |||
| 20 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
| 21 | XSERVER = "xserver-xorg \ | ||
| 22 | xf86-input-evdev \ | ||
| 23 | xf86-video-fbdev" | ||
| 24 | |||
| 25 | GUI_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 | |||
| 5 | require conf/machine/include/omap-a15.inc | ||
| 6 | |||
| 7 | IMAGE_FSTYPES += "ubi tar.gz" | ||
| 8 | |||
| 9 | SERIAL_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 | ||
| 22 | MKUBIFS_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) | ||
| 30 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | ||
| 31 | |||
| 32 | UBOOT_MACHINE = "omap5_evm_config" | ||
| 33 | |||
| 34 | # Currently removing the sgx machine feature because there is no SGX package | ||
| 35 | # available for omap5 | ||
| 36 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen" | ||
