-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I want to add this 2 patches to meta-geeksphone, the first
improves the kernel recipe, so a external ramdisk is no longer needed
to boot SHR. The second adds a default xorg.conf.

Thanks.
- -- 
Víctor Enríquez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQu40XAAoJEGkmZMZIFs4VxdsP/iOlxKfWP3sdQZCku6p3+T1/
yW/LeXWhH0k0PLd2gvbzk9blwtpkBdULAl63SqYDTKWMpulny5ilsP7Q08+08mH1
9dBmPcDtp8kqqawDk8RtQgb6EV6WUHZFhWRAJXQnLErSHWfhEYMF8AZhx6Cx6WNa
Z2iDDcWR2aMgaPkWunw2QGgO7KIXQ59sXCBm5Rc21g2Dod4w2LSIePsUrJRROBYB
jzVI/qaYGV94Xnt9DU0/e6TgCQ6nwL954CNelqZOydJlWW+0IdqXd7kDdU8hf3T8
N1+wAu+q0O9CWl46xbBq0JWgwsrVGZZUz/jwqQbolkD84vdi5nZqowhdRNkjLSCS
tPoitHwkquPgMGhQHRSIA9l6DQZq26KZaxTr3x2tIp8+kIv9oMUB2bwJmCTiYrG/
Avrn6miyTY57JeJVKO8gwWWUkLsFLsaZJ/0T03MVdaJxXdvsp5Lm4dTq8uLvvsbi
OA7glGMIfKctUI+hCpZTTwLW69J83YQ7eITz8wSdZHKLN4oSsixGmkGHVX4f/Dft
GT9yV5CksPyNLlI7F0W+fdqO/H+OJoVEdej9AXJrq8wSlGRIg0kMWzjo0T/Kk62p
3PCiaPGa4vt2zYmbnzcuVLN0gToAvNJVRjFhR6bAueTdajX1tlz7dOwgb1TQuwq8
Xpx2Zl4Pb9vfpHSUxKDN
=JbI2
-----END PGP SIGNATURE-----
>From 9109775065f81dcf63e9fb0289fa9e2c65684607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Enr=C3=ADquez?= <victor.quicksil...@gmail.com>
Date: Sun, 2 Dec 2012 17:55:37 +0100
Subject: [PATCH 1/2] Patch for improving geeksphone-one kernel recipe
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch improves the geeksphone one kernel recipe by adding of a
correct root parameter at boot parameters. rootdelay=8 is also added to
reboot the phone in case of problems. Also the defconfig has changed
allowing devtmpfs to be mounted at boot and other minor tweaks.

Signed-off-by: Víctor Enríquez <victor.quicksil...@gmail.com>
---
 .../recipes-kernel/linux/linux-geeksphone-one/defconfig | 17 +++++++++--------
 .../recipes-kernel/linux/linux-geeksphone-one_git.bb    |  2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one/defconfig b/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one/defconfig
index 44a80b2..6f3b131 100644
--- a/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one/defconfig
+++ b/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one/defconfig
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.35.7
-# Sun Dec 18 19:51:49 2011
+# Sat Dec  1 23:09:25 2012
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -89,7 +89,7 @@ CONFIG_RD_GZIP=y
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SYSCTL=y
 CONFIG_ANON_INODES=y
-CONFIG_PANIC_TIMEOUT=5
+CONFIG_PANIC_TIMEOUT=1
 CONFIG_EMBEDDED=y
 CONFIG_UID16=y
 # CONFIG_SYSCTL_SYSCALL is not set
@@ -143,16 +143,16 @@ CONFIG_MODULE_FORCE_UNLOAD=y
 # CONFIG_MODVERSIONS is not set
 # CONFIG_MODULE_SRCVERSION_ALL is not set
 CONFIG_BLOCK=y
-# CONFIG_LBDAF is not set
-# CONFIG_BLK_DEV_BSG is not set
-# CONFIG_BLK_DEV_INTEGRITY is not set
+CONFIG_LBDAF=y
+CONFIG_BLK_DEV_BSG=y
+CONFIG_BLK_DEV_INTEGRITY=y
 
 #
 # IO Schedulers
 #
 CONFIG_IOSCHED_NOOP=y
 CONFIG_IOSCHED_DEADLINE=y
-# CONFIG_IOSCHED_CFQ is not set
+CONFIG_IOSCHED_CFQ=y
 CONFIG_DEFAULT_DEADLINE=y
 # CONFIG_DEFAULT_CFQ is not set
 # CONFIG_DEFAULT_NOOP is not set
@@ -832,7 +832,7 @@ CONFIG_RFKILL_PM=y
 #
 CONFIG_UEVENT_HELPER_PATH="\\"
 CONFIG_DEVTMPFS=y
-# CONFIG_DEVTMPFS_MOUNT is not set
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 # CONFIG_FW_LOADER is not set
@@ -1880,6 +1880,7 @@ CONFIG_JBD2=y
 # CONFIG_JFS_FS is not set
 CONFIG_FS_POSIX_ACL=y
 # CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
 # CONFIG_OCFS2_FS is not set
 # CONFIG_BTRFS_FS is not set
 # CONFIG_NILFS2_FS is not set
@@ -1890,7 +1891,7 @@ CONFIG_INOTIFY=y
 CONFIG_INOTIFY_USER=y
 # CONFIG_QUOTA is not set
 # CONFIG_AUTOFS_FS is not set
-# CONFIG_AUTOFS4_FS is not set
+CONFIG_AUTOFS4_FS=m
 # CONFIG_FUSE_FS is not set
 CONFIG_GENERIC_ACL=y
 
diff --git a/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one_git.bb b/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one_git.bb
index 6acc60a..b6d31e6 100644
--- a/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one_git.bb
+++ b/meta-geeksphone/recipes-kernel/linux/linux-geeksphone-one_git.bb
@@ -9,7 +9,7 @@ PV = "2.6.35+${PR}+gitr${SRCREV}"
 COMPATIBLE_MACHINE = "geeksphone-one"
 CMDLINE = "\
 mem=32M@0x1A000000 mem=21M@0x1C000000 mem=32M@0x20000000 mem=32M@0x22000000 mem=32M@0x24000000 mem=32M@0x26000000 \
-console=ttyMSM2,115200n8 androidboot.hardware=qcom \
+console=ttyMSM2,115200n8 root=/dev/mmcblk0p2 rootdelay=8 \
 "
 BASE = "1A000000"
 
-- 
1.8.0

>From 447a54c261ca1f5d2ecb7b794b99bd148ad1f4a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Enr=C3=ADquez?= <victor.quicksil...@gmail.com>
Date: Sun, 2 Dec 2012 18:06:15 +0100
Subject: [PATCH 2/2] Add xorg.conf for geeksphone one
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The following patch adds a default xorg.conf for geeksphone one devices.
It includes support for touchscreen, and also for the hardware keyboard.

Signed-off-by: Víctor Enríquez <victor.quicksil...@gmail.com>
---
 .../xserver-xf86-config/geeksphone-one/xorg.conf   | 61 ++++++++++++++++++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  2 +
 2 files changed, 63 insertions(+)
 create mode 100644 meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config/geeksphone-one/xorg.conf
 create mode 100644 meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend

diff --git a/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config/geeksphone-one/xorg.conf b/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config/geeksphone-one/xorg.conf
new file mode 100644
index 0000000..03220b8
--- /dev/null
+++ b/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config/geeksphone-one/xorg.conf
@@ -0,0 +1,61 @@
+Section "Monitor"
+	Identifier "Monitor0"
+	Mode "240x400"
+    		# D: 0.162 MHz, H: 0.635 kHz, V: 1.573 Hz
+    		DotClock 0.163
+    		HTimings 240 245 250 255
+    		VTimings 400 400 402 404
+    		Flags    "-HSync" "-VSync"
+	EndMode
+	Option "PreferredMode" "240x400"
+EndSection    
+
+Section "Device"                                  
+        Identifier      "fbdev"
+        Driver  "fbdev"
+	Option "ShadowFB" "on" 
+	Option "Rotate" "CW" # comment for disabling rotation
+EndSection                                                
+
+Section "Screen"
+        Identifier "Framebuffer"
+        Device  "fbdev"
+        Monitor "Monitor0"
+        DefaultFbBpp 16
+        SubSection "Display"
+                Depth 16
+                Modes "240x400"
+        EndSubSection
+EndSection
+
+
+Section "ServerLayout"                                 
+        Identifier      "Builtin Default Layout"                                     
+        Screen  "Framebuffer"        
+#	InputDevice "Trackball"
+	InputDevice "Touchscreen"
+        InputDevice "Keyboard"
+EndSection        
+
+Section "InputDevice"
+	Identifier 	"Touchscreen"
+	Driver     	"evdev"
+	Option     	"Device"        	"/dev/input/event0"
+	Option		"SwapAxes" 		"True"                  # comment for disabling rotation
+	Option		"InvertY" 		"True"			# comment for disabling rotation
+	Option		"ReportingMode"		"Raw"
+EndSection
+
+Section "InputDevice"
+        Identifier  "Keyboard"
+        Driver      "evdev"
+        Option	    "Device"			"/dev/input/event3"
+	Option      "XkbLayout" "es"
+        Option      "XkbModel"  "default"
+	Option	    "XkbRules" "evdev"
+EndSection
+
+
+Section "ServerFlags"
+	Option "AutoAddDevices" "false"
+EndSection
diff --git a/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 0000000..e1daa4b
--- /dev/null
+++ b/meta-geeksphone/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+PRINC := "${@int(PRINC) + 1}"
-- 
1.8.0

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to