dm3730-am3715-evm: Add dm3730-am3715-evm machine
authorChase Maupin <chase.maupin@ti.com>
Fri, 9 Apr 2010 14:18:44 +0000 (09:18 -0500)
committerKoen Kooi <koen@openembedded.org>
Fri, 16 Apr 2010 13:09:48 +0000 (15:09 +0200)
* Create the machine configuration file for the dm3730-am3715-evm
  machine type.  This machine type supports EVMs based on the
  DM37xx or AM37xx SoCs.
* Specified the PREFERRED_PROVIDER and VERSION for u-boot

Signed-off-by: Koen Kooi <koen@openembedded.org>
conf/machine/dm3730-am3715-evm.conf [new file with mode: 0644]

diff --git a/conf/machine/dm3730-am3715-evm.conf b/conf/machine/dm3730-am3715-evm.conf
new file mode 100644 (file)
index 0000000..b91acd5
--- /dev/null
@@ -0,0 +1,51 @@
+#@TYPE: Machine
+#@NAME: DM37x/AM37x EVM
+#@DESCRIPTION: Machine configuration for the TI DM37x/AM37x EVM
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-input-tslib \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+GUI_MACHINE_CLASS = "smallscreen"
+
+require conf/machine/include/omap3.inc
+
+# Ship all kernel modules
+
+IMAGE_FSTYPES ?= "jffs2 tar.bz2"
+EXTRA_IMAGECMD_jffs2 = "-lnp "
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+PREFERRED_VERSION_u-boot = "git"
+
+UBOOT_ARCH = "arm"
+UBOOT_MACHINE = "omap3_evm_config"
+
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
+
+# NOTE: there are NAND and OneNAND versions of this board...
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+