am180x-evm: Add am180x-evm machine type
authorChase Maupin <Chase.Maupin@ti.com>
Thu, 28 Oct 2010 21:34:55 +0000 (16:34 -0500)
committerKoen Kooi <koen@openembedded.org>
Wed, 17 Nov 2010 09:28:01 +0000 (10:28 +0100)
* Add new machine type for the AM180x family of devices.  These
  devices are part of the omapl138 SOC_FAMILY.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
conf/machine/am180x-evm.conf [new file with mode: 0644]

diff --git a/conf/machine/am180x-evm.conf b/conf/machine/am180x-evm.conf
new file mode 100644 (file)
index 0000000..3a7ca32
--- /dev/null
@@ -0,0 +1,29 @@
+#@TYPE: Machine
+#@NAME: AM180x CPUs on an AM180x EVM board
+#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
+
+require conf/machine/include/davinci.inc
+require conf/machine/include/omapl138.inc
+
+UBOOT_MACHINE = "da850_omapl138_evm_config"
+UBOOT_ENTRYPOINT = "0xc0008000"
+UBOOT_LOADADDRESS = "0xc0008000"
+
+MACHINE_FEATURES = "kernel26 serial ethernet"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# # From dmesg:
+# # UBI: smallest flash I/O unit:    2048
+# # UBI: logical eraseblock size:    126976 bytes
+# # from ubiattach stdout:
+# # UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
+# MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
+#
+# # 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"
+
+SERIAL_CONSOLE = "115200 ttyS2"