om-gta01: fix jffs2 building params, xorg.conf (Thanks to Michael)
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 18 Mar 2010 13:07:01 +0000 (14:07 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 18 Mar 2010 13:59:57 +0000 (14:59 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
conf/machine/om-gta01.conf
recipes/xorg-xserver/xserver-xorg-conf/om-gta01/xorg.conf
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb

index 1495949..ede2a20 100644 (file)
@@ -58,15 +58,7 @@ ROOT_FLASH_SIZE = "60"
 IMAGE_FSTYPES += "tar.gz jffs2 ubi"
 
 # extra jffs2 tweaks
-EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 \
-  --no-cleanmarkers --pad -n ; sumtool --eraseblock=0x20000 --no-cleanmarkers \
-  --littleendian --pad \
-  -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
-  -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.summary ; \
-  mv ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
-  ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.nosummary ; \
-  mv ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.summary \
-  ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2"
+EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x4000 --pad -n"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # From dmesg:
index b77b552..83eaa0c 100644 (file)
@@ -19,14 +19,14 @@ EndSection
 Section "InputDevice"
        Identifier      "Power Button"
        Driver          "evdev"
-       Option          "Device"        "/dev/input/event0"
+       Option          "Device"        "/dev/input/event2"
 EndSection
 
 
 Section "InputDevice"
        Identifier      "AUX Button"
        Driver          "evdev"
-       Option          "Device"        "/dev/input/event4"
+       Option          "Device"        "/dev/input/event0"
 EndSection
 
 
@@ -34,6 +34,7 @@ Section "InputDevice"
        Identifier      "Touchscreen"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event1"
+       Option          "SwapAxes" "True"
 EndSection
 
 
index 1be87b1..92cd173 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r21"
+PR = "r22"
 
 SRC_URI = "file://xorg.conf"