[meta-ti] Chase Maupin : omap5-evm: Add OMAP5 EVM configuration
Arago Project git
git at arago-project.org
Tue Mar 26 11:36:18 PDT 2013
Module: meta-ti
Branch: master
Commit: 5a0982d9ff770ab1fb92b1622d63671c127c9037
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=5a0982d9ff770ab1fb92b1622d63671c127c9037
Author: Chase Maupin <Chase.Maupin at ti.com>
Date: Tue Mar 26 10:48:08 2013 -0500
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 at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
conf/machine/include/omap-a15.inc | 25 +++++++++++++++++++++++++
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 0000000..fa2037a
--- /dev/null
+++ b/conf/machine/include/omap-a15.inc
@@ -0,0 +1,25 @@
+SOC_FAMILY = "omap-a15"
+require conf/machine/include/soc-family.inc
+
+require conf/machine/include/tune-cortexa15.inc
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
+
+KERNEL_IMAGETYPE = "uImage"
+
+UBOOT_ARCH = "arm"
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+ xf86-input-evdev \
+ xf86-video-fbdev"
+
+GUI_MACHINE_CLASS = "smallscreen"
diff --git a/conf/machine/omap5-evm.conf b/conf/machine/omap5-evm.conf
new file mode 100644
index 0000000..0504bb6
--- /dev/null
+++ b/conf/machine/omap5-evm.conf
@@ -0,0 +1,36 @@
+#@TYPE: Machine
+#@NAME: OMAP5 EVM
+#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
+
+require conf/machine/include/omap-a15.inc
+
+IMAGE_FSTYPES += "ubi tar.gz"
+
+SERIAL_CONSOLE = "115200 ttyO0"
+
+# 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 = "-F -m 2048 -e 126976 -c 3836"
+
+# 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 2048 -p 128KiB -s 512 -O 2048"
+
+UBOOT_MACHINE = "omap5_evm_config"
+
+# Currently removing the sgx machine feature because there is no SGX package
+# available for omap5
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
More information about the meta-ti
mailing list