[yocto] POKY_DISTRO_VERSION or OECORE_DISTRO_VERSION?

2011-08-01 Thread Lu, Lianhao
Hi Jessica, I noticed the we still use POKY_DISTRO_VERSION in the environment while some other variables have changed their prefix to OECORE_ (e.g. OECORE_NATIVE_SYSROOT, etc.) Which prefix should we use for those version related variables in the environment files? OECORE_ or POKY_? -Lianhao

Re: [yocto] Error Creating Project with Eclipse IDE

2011-09-06 Thread Lu, Lianhao
Hi Enric, Which version of the Yocto eclipse plug-in did you use? Have you configure the plug-in as mentioned in manual section 4.1.3? Best Regards, -Lianhao Enric Balletbò i Serra wrote on 2011-09-06: > Hi all, > > Following http://www.yoctoproject.org/docs/1.1/adt-manual/adt-manual.htm > (ch

Re: [yocto] Error Creating Project with Eclipse IDE

2011-09-06 Thread Lu, Lianhao
Enric Balletbò i Serra wrote on 2011-09-06: > Hi Lianhao, > > 2011/9/6 Lu, Lianhao : >> Hi Enric, >> >> Which version of the Yocto eclipse plug-in did you use? > > I'm using version 1.0 from > http://www.yoctoproject.org/downloads/eclipse-plugin/1.0

Re: [yocto] Eclipse Plugin 1.1-M4

2011-09-23 Thread Lu, Lianhao
Hi Jack, > -Original Message- > From: yocto-boun...@yoctoproject.org > [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Jack Mitchell > Sent: Friday, September 23, 2011 10:13 PM > To: yocto@yoctoproject.org > Subject: Re: [yocto] Eclipse Plugin 1.1-M4 > > On 23/09/2011 15:02, Jack Mit

Re: [yocto] Eclipse Plugin: ADT Version too old

2011-10-24 Thread Lu, Lianhao
Jack Mitchell wrote on 2011-10-24: > I am trying to use the new eclipse plugin, which I have had working > fine for the past couple of weeks until I switched from the master branch to > edison. > > I performed a fresh build using the stable edison branch, installed > the new 1.1 eclipse plugin

Re: [yocto] Eclipse Plugin: ADT Version too old

2011-10-25 Thread Lu, Lianhao
Jack Mitchell wrote on 2011-10-25: > > Hi Jessica, > > I just did a full fresh re-build from scratch and now my environment > variables are as follows: > > http://ix.io/1Wf > > My current git status is: > > # On branch edision # Untracked files: # (use "git add ..." to > include in what wil

Re: [yocto] UI skelecton of hob v2 is updated in wiki.

2011-11-14 Thread Lu, Lianhao
Some comments: 1. Do we need the "Window" menu to "to switch to any step from any step"? I don't think the users are allowed to skip step 2 by directly swtiching from step1 to step3. The "Back" and "Next" in each step should do the work. 2. Do we need those "View ***.conf" and open "Open direct

Re: [yocto] How to find Log

2012-02-14 Thread Lu, Lianhao
James W. wrote on 2012-02-14: > How to locate Log file while a error occur. It's under the directory ${WORKDIR}/temp/. Actually when an error occurs, you can find the specific log file in the output, something like. ERROR: Logfile of failure stored in: /intel/poky/builds/toolchain/tmp/work-shar

Re: [yocto] [eclipse-plugin]: ADT version too old

2012-02-16 Thread Lu, Lianhao
Ni Qingliang wrote on 2012-02-17: > and there is no use to change DISTRO_VERSION in > /tmp/tmp/environment-setup-ppc603e-insigma-linux. Looks like you're using the 1.1 eclipse plugin against the 1.1+snapshot poky. You may manually change the OECORE_SDK_VERSION in the environment file as a worka

Re: [yocto] The sysroot location in eclipse plugin?

2012-02-16 Thread Lu, Lianhao
Ni Qingliang wrote on 2012-02-17: > the environment-setup file in build tree had defined CFLAGS and CXXFLAGS > which include the sysroot argument(/tmp/sysroots/). > > Do we must specify the sysroot location in the eclipse plugin? > > after specify it, I found the CFLAGS CXXFLAGS in project prope

Re: [yocto] The sysroot location in eclipse plugin?

2012-02-17 Thread Lu, Lianhao
Ni Qingliang wrote on 2012-02-17: > thanks! another question: > why I must specify the sysroot location in eclipse plugin? the > environment-setup has it already. > In case you need another target sysroot which is different from the sysroot defined in the environment files. Best Regards, Lianha

[yocto] host libGL incompatible with eglibc-nativesdk in meta-toolchain

2012-02-22 Thread Lu, Lianhao
Hi guys, During the root causing of bug #1968(http://bugzilla.pokylinux.org/show_bug.cgi?id=1968), we find that on certain distributions, i.e. FC16 x86-64 and FC15 x86-64, the host libGL is asking for glibc 2.14. But the eglibc we provided in meta-toolchain is 2.13. This would prevent the user

Re: [yocto] [PATCH 0/1] perfer older version of lttng-ust in poky distro

2012-03-18 Thread Lu, Lianhao
Hi Saul, How about this patch's merging status? Best Regards, Lianhao Lu, Lianhao wrote on 2012-03-14: > Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of > lttng2-ust in poky distro. This fixed yocto bug #2062. > > The lttng2 is very different in terms of

Re: [yocto] [PATCH 0/1] perfer older version of lttng-ust in poky distro

2012-03-21 Thread Lu, Lianhao
Bruce Ashfield wrote on 2012-03-21: > On 12-03-20 8:59 PM, Saul Wold wrote: >> On 03/14/2012 01:27 AM, Lianhao Lu wrote: >>> Set the PREFERRED_VERSION of lttng-ust to use lttng-ust instead of >>> lttng2-ust in poky distro. This fixed yocto bug #2062. >>> >>> The lttng2 is very different in terms o

Re: [yocto] Deleting layers in Hob

2012-03-27 Thread Lu, Lianhao
> -Original Message- > From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] > On Behalf Of Xu, Dongxiao > Sent: Tuesday, March 27, 2012 2:49 PM > To: yocto > Subject: [yocto] Deleting layers in Hob > > When using Hob in Yocto Project, I found a issue when deleting

Re: [yocto] ref manual, ch 5, claims that toolchain should be installed under /opt/poky

2012-04-02 Thread Lu, Lianhao
Robert P. J. Day wrote on 2012-03-26: > > currently, ch 5 of the reference manual claims that a generated > "meta-toolchain" tarball should be unpacked under /opt/poky, which > might be *historically* correct but i just baked a meta-toolchain and > its tarball contents are all prefixed with "./

Re: [yocto] Eclipse-ADT-build-error

2012-04-05 Thread Lu, Lianhao
Huaming, Could please include the following in your description, so we can have a clear context for your problem? Thanks! 1. Host OS? 2. Which version of eclipse? 3. Which version of Yocto eclipse plugin? 4. Which image do you use as sysroot? core-image-sato or core-image-sato-sdk? 5. Which vers

Re: [yocto] Eclipse-ADT-build-error (Lu, Lianhao)

2012-04-05 Thread Lu, Lianhao
Andy Gikling wrote on 2012-04-06: > Lianhao, > > > > I've looked into this more deeply and I'm pretty sure I've followed the > directions in the ADT manual correctly as I've gotten this to work > before in ADT v1.1. I'm having the same problem Lu seems to be having. To > answer your questio

Re: [yocto] ADT Manual v1.1.1 Issues - 2 of 3

2012-04-09 Thread Lu, Lianhao
Andy, Could you please attach both the config.log file and the environment file under the directory /opt/poky/1.1.1/ ? Andy Gikling wrote on 2012-04-10: > All, > > > > I've had very mixed results during the three or four times I've run through > the ADT manual from scratch. There seems to b

Re: [yocto] ADT Manual v1.1.1 Issues - 3 of 3

2012-04-09 Thread Lu, Lianhao
Hi Beth, Looks like the 1.1.1 rootfs on adtrepo was populated into a wrong URL. It should be http://adtrepo.yoctoproject.org/1.1.1/rootfs/ instead of http://adtrepo.yoctoproject.org/1.1.1/adt-ipk/rootfs/. Hi Andy, Please file a bug against 1.1.1. Before we got that fixed, you may tweak the ad

Re: [yocto] ADT Manual v1.1.1 Issues - 2 of 3

2012-04-10 Thread Lu, Lianhao
hank you for your time. > > ~Andy Gikling > > -Original Message- > From: Lu, Lianhao [mailto:lianhao...@intel.com] > Sent: Tuesday, April 10, 2012 12:08 AM > To: Andy Gikling; yocto@yoctoproject.org > Subject: RE: ADT Manual v1.1.1 Issues - 2 of 3 > > Andy,

[yocto] autobuilder failure http://autobuilder.pokylinux.org:8010/builders/nightly-x86/builds/433

2012-04-10 Thread Lu, Lianhao
Hi Saul, I think I might have some clues why the python-nativesdk failed at http://autobuilder.pokylinux.org:8010/builders/nightly-x86/builds/433. It's due to the commit http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=stage/master_under_test&id=a1f1cc4c27b5091870b1dbd9ede7c24c3

Re: [yocto] autobuilder failure http://autobuilder.pokylinux.org:8010/builders/nightly-x86/builds/433

2012-04-10 Thread Lu, Lianhao
Saul Wold wrote on 2012-04-11: > On 04/10/2012 08:16 AM, Lu, Lianhao wrote: >> Hi Saul, >> >> I think I might have some clues why the python-nativesdk failed at >> http://autobuilder.pokylinux.org:8010/builders/nightly-x86/builds/433. > It's due to the commit

Re: [yocto] error: runqemu command not fonund, when "$ runqemu qemux86 bzImage-qemux86.bin core-image-lsb-qt3-qemux86.ext3" THx!

2012-04-14 Thread Lu, Lianhao
jack wrote on 2012-04-14: > hi,all! I Use a pre-built image and run it in the QEMU emulator. > I have downloaded and installed > "poky-eglibc-i686-i586-toolchain-gmae-1.1.1.tar.bz2", then I downloaded > "bzImage-qemux86.bin" and "core-image-lsb-qt3-qemux86.ext3" > but when > "$ runqemu qemux86 b

[yocto] How to launch core-image-minimal built upon poky-tiny

2012-05-09 Thread Lu, Lianhao
Hi Darren, Do you know how to use qemu to launch the core-image-minimal image build upon the poky-tiny distribution? I tried the following command but ended up in "Kernel panic - not syncing: No init found." tmp/sysroot/x86_64-linux/usr/bin/qemu -kernel /tmp/deploy/image/bzImage-qemux86.bin -

Re: [yocto] Connecting to target using eclipse/ADT

2012-05-22 Thread Lu, Lianhao
Emirelkholy, If the program is successfully transferred to the target by the Eclipse then I assume the tcf-agent is already running. However please doublecheck the followings: - When you create connections, make sure you choose type TCF. - Try to goto "Remote system explorer(RSE) perspective", a

Re: [yocto] Broken SDK

2012-05-27 Thread Lu, Lianhao
Navani Srivastava wrote on 2012-05-28: > Hi, > > > > I am working with poky-bernerd-5.0. I have built cross-toolchain for qt with > "bitbake -v meta-toolchain-qte" for arm1136 architecture. > > I got the tool chain "poky-eglibc-i686-arm-toolchain-1.0.tar.bz2" under > build/tmp/deploy/sdk/ dir

Re: [yocto] How to build 32-bit x86 host 32-bit powerpc target cross compiler, on a 64-bit x86 host

2012-06-12 Thread Lu, Lianhao
Please set SDKMACHINE to "i686" in your local.conf when you building the cross canadian compiler. Best Regards, Lianhao From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Elvis Dowson Sent: Tuesday, June 12, 2012 11:15 PM To: Yocto Discussion Mailing List

Re: [yocto] how many meta-toolchain-* targets are there?

2012-06-26 Thread Lu, Lianhao
toolchain-gmae is exactly the toolchain-sdk. qte is for embedded qt "Robert P. J. Day" 编写: something that could be cleared up a bit in the docs ... how many toolchain-related targets are there? for instance, running bitbake suggests that common targets include meta-toolchain and meta-toolc

Re: [yocto] Eclipse plugin

2010-11-22 Thread Lu, Lianhao
Gary Thomas wrote on 2010-11-22: > On 11/22/2010 02:13 AM, Gary Thomas wrote: >> I'm interested in trying the Yocto Eclipse plugin with my Poky based builds. >> That said, I'm a true Eclipse novice :-( >> >> Does anyone have some guidance on what packages I might need to >> install to get a usable

Re: [yocto] Eclipse plugin

2010-11-22 Thread Lu, Lianhao
Gary Thomas wrote on 2010-11-22: > Thanks, I installed Helios directly from the Eclipse site and that's > working better now. I also installed the components you mention above. > > When I try to configure Yocto, I'm trying to use the Poky tree method > but it doesn't like my tree :-( I pointed

Re: [yocto] Eclipse plugin

2010-11-23 Thread Lu, Lianhao
Gary, Pls compile your application using the cmd line to debug the error: # source /home/gary/mytarget_poky/tmp/environment-setup-ppc603e-poky-linux # cd /home/gthomas/workspace/yocto_test3 # ./configure --host=powerpc-poky-linux --build=i686-linux --target=powerpc-poky-linux If it still fails,

[yocto] why cp in do_install() change file permission mode?

2010-12-02 Thread Lu, Lianhao
Hi fellows, Could anyone tell me why does the cp in do_install() change the file permission mode? Thanks! do_install () { rm -rf ${D}${installed_dir} install -d ${D}${installed_dir} cp -rp ${S}/* ${D}${installed_dir} } After "bitbake xxx -c install", I found the file und

[yocto] [patch] meta-environment

2010-12-09 Thread Lu, Lianhao
Hi all, The attached patch is to create environment file package used by the ADT installer during ADT installation. This patch should be applied upon my previous pull request of bug#528 fixing (see the following summary of the previous pull request): Pull URL: git://git.pokylinux.org/poky-cont

Re: [yocto] [PATCH 0/1] bug#565: adding environment files

2010-12-15 Thread Lu, Lianhao
sions. > > Sau! > >> Pull URL: git://git.pokylinux.org/poky-contrib.git >>Branch: llu/bug565 >>Browse: >> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug565 >> >> Thanks, >> Lianhao Lu >> --- >> >>

[yocto] building output when inherit different bbclasses

2010-12-23 Thread Lu, Lianhao
Hi guys, The following list might help someone who wants to figure out what's the difference between the various buildings when inheriting different bbclass(es). The normal(default) situation for poky is: build = "build system" host = target = "set by MACHINE config" cross.bbclass:

[yocto] default dependencies not built in "bitbake -b"

2010-12-27 Thread Lu, Lianhao
Hi fellows, Does anyone know why "bitbake -b <.bbfile>" fails on a newly cloned poky tree, complaining about the cross-compiler can not be found in the PATH. Does "bitbake -b" build the default dependencies? Best Regards, -Lianhao Lu ___ yocto mailin

[yocto] Setup repository for ADT installer

2011-01-05 Thread Lu, Lianhao
Hi Beth and Jessica, Here is a summary of how I set up the IPK repo for ADT installer on my local machine. Currently, there are 10 combinations (based on the following 2 variables in conf/local.conf) needs to be built for setting up the ADT installer repo. MACHINE: qemux86, qemuarm, qemuppc, q

Re: [yocto] question about SDKMACHINE, SDK_ARCH and BUILD_ARCH

2011-01-17 Thread Lu, Lianhao
Zhang, Jessica wrote on 2011-01-17: > Richard Purdie wrote: >> On Thu, 2011-01-13 at 15:36 -0800, Zhang, Jessica wrote: >>> Hi Richard, >>> >>> As I mentioned in IRC, we've noticed that bitbake behaves >>> differently on 64bit and 32bit machines from SDKMACHINE setup >>> perspective. It never e

Re: [yocto] Status of release candidate: bernard-1.0rc1

2011-02-27 Thread Lu, Lianhao
Elizabeth Flanagan wrote on 2011-02-28: > > Summary > === > > This weekend, we generated a release candidate for bernard based on the > bernard branch of master at commit: > e08dc5aaaeba61e332caab4a3df5750df6b49ac1 > > and for BSPs based on the bernard branch of meta-intel at commit: > 16f47

Re: [yocto] where is the Sysroot Location?

2011-03-22 Thread Lu, Lianhao
Hi Simon, Before using the poky tree mode, you need to run "bitbake meta-ide-support" within the poky tree in a terminal. The eclipse plug-in needs the output of that to determine several configuration options for cross compilation. Best Regards, Lianhao From: yocto-boun...@yoctoproject.org [m

Re: [yocto] where is the Sysroot Location?

2011-03-23 Thread Lu, Lianhao
ot;bitbake poky-image-sdk"(for yocto 0.9) or "bitbake poky-image-sato-sdk" (for current git master), and use the poky-extract-sdk to extract the corresponding rootfs located in ${TMPDIR}/deploy/images. Best Regards, Lianhao From: Li, Simon Sent: Wednesday, March 23, 2011