igep0020: Add IGEP v2 support to OE
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>
Mon, 14 Sep 2009 05:25:02 +0000 (05:25 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 21 Oct 2009 13:27:30 +0000 (15:27 +0200)
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
conf/machine/igep0020.conf [new file with mode: 0644]

diff --git a/conf/machine/igep0020.conf b/conf/machine/igep0020.conf
new file mode 100644 (file)
index 0000000..f3cdcba
--- /dev/null
@@ -0,0 +1,46 @@
+#@TYPE: Machine
+#@NAME: IGEP0020 machine
+#@DESCRIPTION: Machine configuration for the http://www.myigep.com/ IGEP v2.x boards
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-video-omapfb \
+           xf86-input-keyboard"
+
+# Only has DVI connector for external screen
+GUI_MACHINE_CLASS = "bigscreen"
+
+require conf/machine/include/tune-cortexa8.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-igep2"
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r0" 
+
+KERNEL_IMAGETYPE = "uImage"
+
+IMAGE_FSTYPES += "tar.bz2 ubi"
+
+# Guesswork
+SERIAL_CONSOLE = "115200 ttyS2"
+
+# 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"
+
+# MACHINE_EXTRA_RRECOMMENDS = " omap3-sgx-modules "
+MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"