Patchwork [v3] VMX25: Add machine support for vmx25

login
register
mail settings
Submitter sujak.marek
Date Jan. 31, 2011, 9:25 a.m.
Message ID <1296465926-19202-1-git-send-email-sujak.marek@gmail.com>
Download mbox | patch
Permalink /patch/408/
State Accepted
Headers show

Comments

sujak.marek - Jan. 31, 2011, 9:25 a.m.
* i.mx25 cpu based module
* removed PREFERRED_VERSION_linux line
* added correct UBI VOLNAME
* tested on angstom console, terminal, x11, qt4e image
* depends on vmx25 barebox 2010.10 patch, vmx25 kernel 2.5.35 patch

Signed-off-by: Marek Sujak <sujak.marek@gmail.com>
---
 conf/machine/vmx25.conf |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/vmx25.conf
Petr Štetiar - Jan. 31, 2011, 9:21 p.m.
Marek Sujak <sujak.marek@gmail.com> [2011-01-31 10:25:26]:

> * depends on vmx25 barebox 2010.10 patch, vmx25 kernel 2.5.35 patch

Just a small nitpick.

It's not necessary nor wise or recommended to specify patch dependency in the
commit message. Git offers numbered[1] patches for that, which you should use
for such patchsets.

1. http://wiki.openembedded.org/index.php/GitPhraseBook#Create_patches_suitable_for_the_mailing_list

-- ynezz

Patch

diff --git a/conf/machine/vmx25.conf b/conf/machine/vmx25.conf
new file mode 100644
index 0000000..2d82dd2
--- /dev/null
+++ b/conf/machine/vmx25.conf
@@ -0,0 +1,33 @@ 
+#@TYPE: Machine
+#@Name: Voipac vmx25 module
+#@DESCRIPTION: Machine configuration for Voipac vmx25 module & baseboard
+#@Homepage: http://voipac.com/#X25-DKT-265
+
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/bootloader = "barebox"
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+
+MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget touchscreen keyboard"
+
+GUI_MACHINE_CLASS = "bigscreen"
+XSERVER ?= "xserver-xorg \
+           xf86-input-tslib \
+           xf86-input-evdev \
+           xf86-input-mouse \
+           xf86-input-keyboard \
+           xf86-video-fbdev \
+"
+
+# ubi fs args
+UBI_VOLNAME = "rootfs-vmx25"
+MKUBIFS_ARGS = "-m 2KiB -e 126KiB -c 989"
+UBINIZE_ARGS = "-m 2KiB -p 128KiB -s 512"
+
+IMAGE_FSTYPES += "tar.gz ubi"
+
+require conf/machine/include/tune-arm926ejs.inc
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttymxc0"