[oe] [PATCH 09/11][v2] xserver-common: xilinx virtex support

Adrian Alonso aalonso00 at gmail.com
Tue Aug 3 16:23:23 UTC 2010


* Add xilinx virtex platforms support
* Set xserver args
* Bump PR
* v2 reorder patch set

Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
---
 recipes/xserver-common/files/Xserver-virtex.patch |   14 ++++++++++++++
 recipes/xserver-common/xserver-common_1.33.bb     |    5 +++--
 2 files changed, 17 insertions(+), 2 deletions(-)
 create mode 100644 recipes/xserver-common/files/Xserver-virtex.patch

diff --git a/recipes/xserver-common/files/Xserver-virtex.patch b/recipes/xserver-common/files/Xserver-virtex.patch
new file mode 100644
index 0000000..c7d6cc2
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver-virtex.patch
@@ -0,0 +1,14 @@
+Index: xserver-common-1.13/X11/xserver-common
+===================================================================
+--- xserver-common-1.13.orig/X11/xserver-common
++++ xserver-common-1.13/X11/xserver-common
+@@ -181,6 +181,9 @@ else
+             # this is to rotate X display properly, tested with display TX09D71VM1CCA
+             ronetix*pm9261*  | ronetix*pm9263*)
+                  ARGS="$ARGS -screen 240/54x320/81 at 90x16" ;;
++        "Xilinx Virtex"*)
++            DPI="96"
++            ARGS="$ARGS" ;;
+         # This is a fallback for PCs
+         "")
+             if [ -f $BINDIR/Xvesa ]; then
diff --git a/recipes/xserver-common/xserver-common_1.33.bb b/recipes/xserver-common/xserver-common_1.33.bb
index cb644a4..71fa231 100644
--- a/recipes/xserver-common/xserver-common_1.33.bb
+++ b/recipes/xserver-common/xserver-common_1.33.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r4"
+PR = "r5"
 
 PACKAGE_ARCH = "all"
 DEFAULT_PREFERENCE = "-1"
@@ -19,7 +19,8 @@ SRC_URI[sha256sum] = "4576ccca80730f1860a273df38b9f917cf906eca9865e108d76fc5460e
 SRC_URI_append = " file://loop.patch;striplevel=3 \
                    file://rgba.diff \
                    file://setDPI.sh \
-                   file://89xdgautostart.sh"
+                   file://89xdgautostart.sh \
+                   file://Xserver-virtex.patch"
 
 SRC_URI_append_angstrom = " file://xtscal-fix.patch "
 RDEPENDS_${PN}_append_angstrom = " tslib-calibrate "
-- 
1.7.2





More information about the Openembedded-devel mailing list