[oe] translating OE manual into Chinese

Binghoo Dang dangbinghoo at gmail.com
Sat Jul 31 01:47:13 UTC 2010


Thanks Holger Freyther,
I'm from China mainland , so I use simplified Chinese, I'm now
translating chapter 8, almost complete. When the work done, I will
contact you to commit the translation.


On Sat, Jul 31, 2010 at 5:42 AM,
<openembedded-devel-request at lists.openembedded.org> wrote:
> Send Openembedded-devel mailing list submissions to
>        openembedded-devel at lists.openembedded.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> or, via email, send a message with subject or body 'help' to
>        openembedded-devel-request at lists.openembedded.org
>
> You can reach the person managing the list at
>        openembedded-devel-owner at lists.openembedded.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Openembedded-devel digest..."
>
>
> Today's Topics:
>
>   1. [PATCH 08/10] xserver-common: xilinx virtex support
>      (Adrian Alonso)
>   2. [PATCH 07/10] initscripts: module id xilinx virtex (Adrian Alonso)
>   3. [PATCH 10/10] xserver-kdrive-common: xilinx virtex5 support
>      (Adrian Alonso)
>   4. [PATCH 09/10] xorg-xserver-conf: virtex5 machine support
>      (Adrian Alonso)
>   5. Re: [PATCH] bitbake.conf, cross.bbclass: Make multi-machine
>      toolchains to co-exist (Khem Raj)
>   6. Re: translating OE manual into Chinese (Holger Freyther)
>   7. Re: [PATCH] Add a waf bitbake class. (Koen Kooi) (AJ ONeal)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 30 Jul 2010 10:42:33 -0500
> From: Adrian Alonso <aalonso00 at gmail.com>
> Subject: [oe] [PATCH 08/10] xserver-common: xilinx virtex support
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <1280504555-3633-8-git-send-email-aalonso00 at gmail.com>
>
> * Add xilinx virtex platforms support
> * Set xserver args
> * Bump PR
>
> 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
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 30 Jul 2010 10:42:32 -0500
> From: Adrian Alonso <aalonso00 at gmail.com>
> Subject: [oe] [PATCH 07/10] initscripts: module id xilinx virtex
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <1280504555-3633-7-git-send-email-aalonso00 at gmail.com>
>
> * Add machine_id support for xilinx virtex platforms
>  used in xserver-common for args settings
> * Bump PR
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
>  recipes/initscripts/files/functions    |    7 ++++++-
>  recipes/initscripts/initscripts_1.0.bb |    2 +-
>  2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/initscripts/files/functions b/recipes/initscripts/files/functions
> index fb9a914..3e7d687 100644
> --- a/recipes/initscripts/files/functions
> +++ b/recipes/initscripts/files/functions
> @@ -5,7 +5,12 @@
>  #
>
>  machine_id() {         # return the machine ID
> -    awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
> +    id=`awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo`
> +    if [ -n "$id" ]; then
> +        echo -n "${id}"
> +    else
> +        awk 'BEGIN { FS=": " } /platform/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
> +    fi
>  }
>
>  killproc() {           # kill the named process(es)
> diff --git a/recipes/initscripts/initscripts_1.0.bb b/recipes/initscripts/initscripts_1.0.bb
> index 1b0a94c..38fe85e 100644
> --- a/recipes/initscripts/initscripts_1.0.bb
> +++ b/recipes/initscripts/initscripts_1.0.bb
> @@ -4,7 +4,7 @@ PRIORITY = "required"
>  DEPENDS = "makedevs"
>  RDEPENDS_${PN} = "makedevs"
>  LICENSE = "GPL"
> -PR = "r121"
> +PR = "r122"
>
>  SRC_URI = "file://functions \
>            file://halt \
> --
> 1.7.2
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 30 Jul 2010 10:42:35 -0500
> From: Adrian Alonso <aalonso00 at gmail.com>
> Subject: [oe] [PATCH 10/10] xserver-kdrive-common: xilinx virtex5
>        support
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <1280504555-3633-10-git-send-email-aalonso00 at gmail.com>
>
> * Add Xserver support for virtex5 board
> * Update module id for Xilinx platforms, xserver
>  arguments are setup at runtime by getting
>  module id info from /proc/cpuinfo
> * Increase PR
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
>  .../xserver-kdrive-common/Xserver                  |    9 ++++++++-
>  .../xserver-kdrive-common_0.1.bb                   |    2 +-
>  2 files changed, 9 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..375b787 100644
> --- a/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
> +++ b/recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
> @@ -34,7 +34,12 @@ 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}"
> +    else
> +        awk 'BEGIN { FS=": " } /platform/ { print $2 } ' </proc/cpuinfo
> +       fi
>  }
>
>  export USER=root
> @@ -171,6 +176,8 @@ case `module_id` in
>                  if [ "$XSERVER" = "/usr/bin/Xorg" ];then
>                       ARGS=""
>                  fi;; #TODO: handle kdrive
> +                "Xilinx Virtex"*)
> +                                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.2
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 30 Jul 2010 10:42:34 -0500
> From: Adrian Alonso <aalonso00 at gmail.com>
> Subject: [oe] [PATCH 09/10] xorg-xserver-conf: virtex5 machine support
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <1280504555-3633-9-git-send-email-aalonso00 at gmail.com>
>
> * Add xorg conf for virtex5 family targets
> * Increase PR
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
>  .../xserver-xorg-conf/xilinx-virtex5/xorg.conf     |   38 ++++++++++++++++++++
>  recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
>  2 files changed, 39 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/xilinx-virtex5/xorg.conf
>
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf/xilinx-virtex5/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/xilinx-virtex5/xorg.conf
> new file mode 100644
> index 0000000..61f0f9f
> --- /dev/null
> +++ b/recipes/xorg-xserver/xserver-xorg-conf/xilinx-virtex5/xorg.conf
> @@ -0,0 +1,38 @@
> +# Xorg conf file for Xilinx platforms
> +Section "Monitor"
> +       Identifier "LCD Panel"
> +EndSection
> +
> +Section "Device"
> +    Identifier  "Xilinx frame buffer"
> +    Driver      "fbdev"
> +EndSection
> +
> +Section "Screen"
> +    Identifier  "Default Screen"
> +    Device      "Xilinx frame buffer"
> +    Monitor     "LCD Panel"
> +       SubSection "Display"
> +               Depth   24
> +        Modes   "640x480"
> +       EndSubSection
> +EndSection
> +
> +Section "InputDevice"
> +    Identifier  "Keyboard"
> +    Driver      "kbd"
> +EndSection
> +
> +Section "InputDevice"
> +    Identifier  "Mouse"
> +    Driver      "mouse"
> +    Option      "protocol" "auto"
> +    Option      "device" "/dev/input/mice"
> +EndSection
> +
> +Section "ServerLayout"
> +    Identifier  "Default Layout"
> +    Screen      0 "Default Screen" 0 0
> +    InputDevice "Keyboard"
> +    InputDevice "Mouse"
> +EndSection
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> index 976dfac..c3dbb01 100644
> --- a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> +++ b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
> @@ -1,5 +1,5 @@
>  DESCRIPTION = "Machine specific xorg.conf files"
> -PR = "r29"
> +PR = "r30"
>
>  SRC_URI = "file://xorg.conf"
>
> --
> 1.7.2
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 30 Jul 2010 08:42:55 -0700
> From: Khem Raj <raj.khem at gmail.com>
> Subject: Re: [oe] [PATCH] bitbake.conf, cross.bbclass: Make
>        multi-machine   toolchains to co-exist
> To: openembedded-devel at lists.openembedded.org
> Message-ID:
>        <AANLkTinaX2p1LD6SbY31Fgn0kZCEK3ALKKdg5P-GF=4y at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Fri, Jul 30, 2010 at 2:01 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 30-07-10 09:42, Khem Raj wrote:
>>> From: Tom Rini <tom_rini at mentor.com>
>>>
>>> the patch Tom sent has line breaks etc. this is same patch formatted for anybody to test
>>
>> MACHINE=beagleboard bitbake ffmpeg:
>>
>> | running configure fragment for nptl/sysdeps/pthread
>> | configure: error: compiler support for __thread is required
>> | ERROR: Function do_configure failed
>> NOTE: package glibc-initial-2.9-r36.3: task do_configure: Failed
>
> This is because its not finding the binutils in right place I think.
>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.5 (Darwin)
>>
>> iD8DBQFMUpTbMkyGM64RGpERAt9YAJ9baoI1zJvmEuGPj9gvrR2eSkJ5CQCeKx++
>> fLr6Le14u/zC3AU41Jj0obk=
>> =itZg
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 31 Jul 2010 02:17:31 +0800
> From: Holger Freyther <holger+oe at freyther.de>
> Subject: Re: [oe] translating OE manual into Chinese
> To: openembedded-devel at lists.openembedded.org
> Message-ID: <4C53173B.4070303 at freyther.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 07/30/2010 11:11 AM, Binghoo Dang wrote:
>> Hello,
>>
>> I'm a Chinese, and now I'm working on translating OE manual into
>> Chinese. I almost done the work. Now I want to know will OE official
>> add a link to documents webpage .
>>
>> My work is done in gedit, so in text format , I think I should commit
>> a xml docbook type format , but I could not find a nice opensource xml
>> docbook editor, what was the OE written with? And, I also put my
>> translate on my blog page, if docbook can not be accept ,may be OE can
>> add a link directly to my blog.
>
> I would be happy to check-in your translation to the OpenEmbedded
> documentation repository. Regarding the usage of an editor. I have started
> with vim based on the skeleton others have created for the bitbake manual.
>
> PS: When you say chinese, do you mean traditional or simplified?
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 30 Jul 2010 15:41:10 -0600
> From: AJ ONeal <coolaj86 at gmail.com>
> Subject: Re: [oe] [PATCH] Add a waf bitbake class. (Koen Kooi)
> To: Sean_Hudson at dell.com,       openembedded-devel
>        <openembedded-devel at lists.openembedded.org>
> Message-ID:
>        <AANLkTimN2subbRqO5B4CEDPAQy-gd00Z8Up7V+B-suB2 at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Thanks for your help, I got it working.
>
> http://blog.coolaj86.info/2010/07/26/WAF-on-OpenEmbedded
>
> AJ ONeal
>
> On Tue, Jul 27, 2010 at 10:44 AM, <Sean_Hudson at dell.com> wrote:
>
>>  AJ,
>>
>>
>>
>>   Yes, by design, WAF is generally include with the source code.  (see
>> this link<http://freehackers.org/~tnagy/wafbook/index.html#_installing_waf_on_a_system>for reference) There is no specification to WAF to cross compile, rather, it
>> will pick up the environment from the OE shell and act accordingly.  One
>> additional thought, in order to get the example binary into the package
>> correctly, don?t forget to add a FILES_${PN} directive to your OE recipe.
>>
>>
>>
>>   Hope this helps!
>>
>>
>>
>>     -Sean
>>
>>
>>
>> *From:* AJ ONeal [mailto:coolaj86 at gmail.com]
>> *Sent:* Monday, July 26, 2010 11:12 PM
>>
>> *To:* Hudson, Sean
>> *Subject:* Re: [oe] [PATCH] Add a waf bitbake class. (Koen Kooi)
>>
>>
>>
>> I'm trying to get a Hello World example together using bitbake and WAF
>>
>>
>>
>> http://blog.coolaj86.info/2010/07/26/WAF-on-OpenEmbedded
>>
>>
>>
>> Will you please help me complete this?
>>
>>
>>
>> Is WAF supposed to be packaged with the source code?
>>
>> How do we specify that WAF should cross compile rather than regular
>> compile?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> AJ ONeal
>>
>> On Thu, Jul 8, 2010 at 1:15 PM, <Sean_Hudson at dell.com> wrote:
>>
>> It's quite simple.  In the recipe, inherit from the waf class, and you're
>> good to go.  One caveat, I didn't see this pulled into OE by one of the
>> committers, so be aware that it is not available other than through the
>> mailing list...
>>
>> Sample recipe using the waf class...
>>        DESCRIPTION = "foo"
>>        LICENSE = "GPL"
>>        SRC_URI = ""
>>        S = "${WORKDIR}/trunk"
>>
>>        inherit waf
>>
>> From: AJ ONeal [mailto:coolaj86 at gmail.com]
>> Sent: Thursday, July 08, 2010 12:42 AM
>> To: Hudson, Sean
>> Subject: Re: [oe] [PATCH] Add a waf bitbake class. (Koen Kooi)
>>
>>
>> How would I use this patch with something like Node.js, which using waf for
>> compiling?
>>
>> Do you have any sample .bb files that show how this is done? Or any
>> documentation?
>>
>> AJ ONeal
>>
>>
>>
>
>
> ------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> End of Openembedded-devel Digest, Vol 48, Issue 195
> ***************************************************
>




More information about the Openembedded-devel mailing list