Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Adrian Alonso <aalonso00@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 7/9] xserver-kdrive-common: xilinx virtex5 support
Date: Mon, 12 Jul 2010 14:45:48 -0500	[thread overview]
Message-ID: <1278963950-2587-7-git-send-email-aalonso00@gmail.com> (raw)
In-Reply-To: <1278963950-2587-1-git-send-email-aalonso00@gmail.com>

* Add Xserver support for virtex5 platform
* Increase PR

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
 .../xserver-kdrive-common/Xserver                  |   11 ++++++++++-
 .../xserver-kdrive-common_0.1.bb                   |    2 +-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver b/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
index 347b005..235d349 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
@@ -34,7 +34,14 @@ module_id() {
     # grep "Module ID" /proc/hal/assets | sed "s/.*://"
     ## used to read from /proc/hal/model, but that is removed in 2.6
     # echo ' iPAQ' `cat /proc/hal/model`
-    awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
+    id=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo`
+	if [ -n "$id" ]; then
+		echo -n "${id}"
+	fi
+    id=`awk 'BEGIN { FS=": " } /platform/ { print $2 } ' </proc/cpuinfo`
+	if [ -n "$id" ]; then
+		echo -n "${id}"
+	fi
 }
 
 export USER=root
@@ -171,6 +178,8 @@ case `module_id` in
                  if [ "$XSERVER" = "/usr/bin/Xorg" ];then
                       ARGS=""
                  fi;; #TODO: handle kdrive
+		 "Xilinx Virtex440")
+				 ARGS="$ARGS $PPM" ;;
         *)
                 # It is a device we do not know about, in which case we force
                 # kdrive to use the current framebuffer geometry -- otherwise
diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
index 52a88b8..04a3f13 100644
--- a/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Common X11 scripts"
 LICENSE = "GPL"
 SECTION = "x11"
-PR = "r45"
+PR = "r46"
 
 SRC_URI = "\
   file://Xdefaults \
-- 
1.7.1.1




  parent reply	other threads:[~2010-07-12 19:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 19:45 [PATCH 1/9] xilinx-virtex4: new file Adrian Alonso
2010-07-12 19:45 ` [PATCH 2/9] xilinx-virtex5: " Adrian Alonso
2010-07-13  6:11   ` Frans Meulenbroeks
2010-07-12 19:45 ` [PATCH 3/9] linux-xilinx: new files Adrian Alonso
2010-07-13  6:12   ` Frans Meulenbroeks
2010-07-14 21:07     ` Frans Meulenbroeks
2010-07-14 21:19       ` Adrian Alonso
2010-07-16 16:45         ` Adrian Alonso
2010-07-12 19:45 ` [PATCH 4/9] xilinx-linux: new kernel recipe Adrian Alonso
2010-07-13  6:10   ` Frans Meulenbroeks
2010-07-12 19:45 ` [PATCH 5/9] u-boot-xilinx: new file Adrian Alonso
2010-07-12 19:45 ` [PATCH 6/9] xilinx-bsp: handle more xilinx targets Adrian Alonso
2010-07-12 19:45 ` Adrian Alonso [this message]
2010-07-14 21:12   ` [PATCH 7/9] xserver-kdrive-common: xilinx virtex5 support Frans Meulenbroeks
2010-07-15  7:08   ` Marcin Juszkiewicz
2010-07-16 15:30     ` Adrian Alonso
2010-07-12 19:45 ` [PATCH 8/9] xorg-xserver-conf: virtex5 machine support Adrian Alonso
2010-07-12 19:45 ` [PATCH 9/9] glibc: fix LD_LIBRARY_PATH Adrian Alonso
2010-07-14 21:08   ` Frans Meulenbroeks
2010-07-13  6:01 ` [PATCH 1/9] xilinx-virtex4: new file Frans Meulenbroeks
2010-07-13 16:00   ` Adrian Alonso
2010-07-13 20:46     ` Frans Meulenbroeks
2010-07-13 22:52       ` Adrian Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1278963950-2587-7-git-send-email-aalonso00@gmail.com \
    --to=aalonso00@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox