[oe] [PATCH 7/9] xserver-kdrive-common: xilinx virtex5 support
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Wed Jul 14 21:12:37 UTC 2010
2010/7/12 Adrian Alonso <aalonso00 at gmail.com>
> * Add Xserver support for virtex5 platform
> * Increase PR
>
> Signed-off-by: Adrian Alonso <aalonso00 at 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
>
Can you explain this part? It does not seem to be covered by the commit
message.
Frans
> }
>
> 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.bbb/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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list