[yocto] Adding nativesdk package to toolchain

2014-10-14 Thread Navani Srivastava
Hello,

I am trying to add a nativesdk package of a custom recipe to toolchain in
Poky-8.0.2. I have added nativesdk-qjson (custom package) to
TOOLCHAIN_HOST_TASK variable, but it is throwing following error while
generating the toolchain-

Collected errors:
|  * opkg_install_cmd: Cannot install package nativesdk-qjson.

Attached is the recipe for nativesdk package. How can I make it work?

Thanks
Navani


nativesdk-qjson_0.8.1.bb
Description: Binary data
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-10-08 Thread Navani Srivastava
when populate_sdk gives you an SDK I dont understand why this is a
requirement
Now i remember.. This link was the reason that I was not using populate_sdk
to build SDK for me..
 https://lists.yoctoproject.org/pipermail/yocto/2013-August/015771.html;

I still tried to build through populate_sdk and have faced the same issue
in SDK as mentioned in the link.

Regards
Navani

On Fri, Sep 26, 2014 at 8:53 AM, Khem Raj raj.k...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 On 9/24/14 5:01 AM, Navani Srivastava wrote:
  Removing integration of meta-toolchain-qte from my image helped in
 building
  qjson as a part of SDK when running bitbake -c populate_sdk -v myimage
 or
  bitbake myimage.
 

 OK. Thats what is expected.

  Integration of meta-toolchain-qte might need some more modifications.
 
  Still as a requirement, I need to integrate my custom recipe with
  meta-toolchain-qte to generate SDK having custom recipe as a tool.

 when populate_sdk gives you an SDK I dont understand why this is a
 requirement

  I have
  created nativesdk bb file for custom recipe to integrate it via
  nativesdk-packagegroup-qte-toolchain-host.bb but no luck..
 
  On Wed, Sep 24, 2014 at 1:14 PM, Navani Srivastava 
  navani.srivast...@gmail.com wrote:
 
  Yes.. i did...
  On 24 Sep 2014 12:56, Paul Eggleton paul.eggle...@linux.intel.com
  wrote:
 
  On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
  I corrected FILES_${PN} and added following in my image recipe-
  QTNAME = qte
  QT_DIR_NAME = qtopia
  require recipes-qt/meta/meta-toolchain-qt.bb
 
  but that didn't make any difference related to SDK integration. On
  executing 'bitbake -v MyImageName', it is generating rootfs and sdk,
  in
  which contains rootfs contains qjson libraries but sdk doesn't
 integrate
  anything.
 
  To generate the SDK you'd need to also do bitbake -c populate_sdk
  imagename
  - you did do that as well after making the changes to the recipe,
 right ?
 
  Cheers,
  Paul
 
  --
 
  Paul Eggleton
  Intel Open Source Technology Centre
 
 
 

 - --
 - -Khem
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 Comment: GPGTools - https://gpgtools.org

 iEYEARECAAYFAlQk3CoACgkQuwUzVZGdMxS3EgCfVUdFehr4kmLrXfLy6jN25Q0e
 YSAAn3Dhe/y2xVpFYtpTtDMGCA7qOQR5
 =FZTr
 -END PGP SIGNATURE-

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Factors responsible for decision of package deployment path

2014-10-07 Thread Navani Srivastava
Hi,

I am unable to understand how toolchain decides libraries and header files
deployment into SDK  path. Which factors of recipe decides about the path
to deploy header file, libraries or binary data into SDK?

I am facing a issue. I have a package which is deploying header files and
libraries into machine path like 
/opt/poky/1.3.2/sysroots/i686-pokysdk-linux/. Expected behavior is to get
them in target folder path like 
/opt/poky/1.3.2/sysroots/armv6-vfp-poky-linux-gnueabi/..
Any help would be great!!

Thanks
Navani
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-24 Thread Navani Srivastava
Yes.. i did...
On 24 Sep 2014 12:56, Paul Eggleton paul.eggle...@linux.intel.com wrote:

 On Wednesday 24 September 2014 10:26:41 Navani Srivastava wrote:
  I corrected FILES_${PN} and added following in my image recipe-
  QTNAME = qte
  QT_DIR_NAME = qtopia
  require recipes-qt/meta/meta-toolchain-qt.bb
 
  but that didn't make any difference related to SDK integration. On
  executing 'bitbake -v MyImageName', it is generating rootfs and sdk, in
  which contains rootfs contains qjson libraries but sdk doesn't integrate
  anything.

 To generate the SDK you'd need to also do bitbake -c populate_sdk
 imagename
 - you did do that as well after making the changes to the recipe, right ?

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-23 Thread Navani Srivastava
I corrected FILES_${PN} and added following in my image recipe-
QTNAME = qte
QT_DIR_NAME = qtopia
require recipes-qt/meta/meta-toolchain-qt.bb

but that didn't make any difference related to SDK integration. On
executing 'bitbake -v MyImageName', it is generating rootfs and sdk, in
which contains rootfs contains qjson libraries but sdk doesn't integrate
anything.

On Tue, Sep 23, 2014 at 11:24 AM, Khem Raj raj.k...@gmail.com wrote:

 On Mon, Sep 22, 2014 at 9:26 PM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
  Please find the recipe attached herewith for qjson. This recipe is
 helpful
  to work with qt4-embedded as qt4 doesn't have qjson feature in built.
  I tried 'bitbake -c populate_sdk myimage' but it has not integrated
 qjson
  package along. I am suspecting qjson recipe now. Am i missing anything in
  attached recipe which is blocking me to integrate qjson in SDK?
 

 Have you made sure that qjson is otherwise included into your image ?
 I see that FILES_${PN} is being overwritten twice may be you want +=
 in second place.


  Navani
 
  On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava
  navani.srivast...@gmail.com wrote:
 
  I will follow the suggestion given by you and will update the result.
  However in case if I want to integrate custom recipe with
  meta-toolchain-qte, is there any example existing which can help me in
  understanding?
 
  Right now I am following the procedure given by Randy but some example
  could be of a great help!!
 
  Regards
 
  Navani
 
 
  On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton
  paul.eggle...@linux.intel.com wrote:
 
  On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
   On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton 
   paul.eggle...@linux.intel.com wrote:
On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
 We are not using populatesdk ... we need to generate it through
 meta-toolchain-qte only so i am trying with the solution provided
 by
 randy..
   
Can I ask why? I'd like to understand where -c populate_sdk needs
further
improvement.
  
   I have to generate toolchain which contain qt related tools also like
   qmake
   and qjson, so we are using meta-toolchain-qte to generate the
   toolchain..
   Do you suggest it's better to integrate meta-toolchain-qte somehow
 with
   populate_sdk so that we can make life easier?
 
  It is possible to integrate the two - all you need to do is ensure the
  extra
  qte tools get added to the SDK. One way to achieve this would be to add
  the
  following to your image recipe:
 
  QTNAME = qte
  QT_DIR_NAME = qtopia
  require recipes-qt/meta/meta-toolchain-qt.inc
 
  (I haven't tested this so I'm not 100% sure if it will work, but it
  should.)
 
  Cheers,
  Paul
 
 
  --
 
  Paul Eggleton
  Intel Open Source Technology Centre
 
 
 

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
I have to generate toolchain which contain qt related tools also like qmake
and qjson, so we are using meta-toolchain-qte to generate the toolchain..
Do you suggest it's better to integrate meta-toolchain-qte somehow with
populate_sdk so that we can make life easier?

Regards
Navani

On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
  We are not using populatesdk ... we need to generate it through
  meta-toolchain-qte only so i am trying with the solution provided by
 randy..

 Can I ask why? I'd like to understand where -c populate_sdk needs further
 improvement.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
I will follow the suggestion given by you and will update the result.
However in case if I want to integrate custom recipe with
meta-toolchain-qte, is there any example existing which can help me in
understanding?

Right now I am following the procedure given by Randy but some example
could be of a great help!!

Regards

Navani

On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
  On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton 
  paul.eggle...@linux.intel.com wrote:
   On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
We are not using populatesdk ... we need to generate it through
meta-toolchain-qte only so i am trying with the solution provided by
randy..
  
   Can I ask why? I'd like to understand where -c populate_sdk needs
 further
   improvement.
 
  I have to generate toolchain which contain qt related tools also like
 qmake
  and qjson, so we are using meta-toolchain-qte to generate the toolchain..
  Do you suggest it's better to integrate meta-toolchain-qte somehow with
  populate_sdk so that we can make life easier?

 It is possible to integrate the two - all you need to do is ensure the
 extra
 qte tools get added to the SDK. One way to achieve this would be to add the
 following to your image recipe:

 QTNAME = qte
 QT_DIR_NAME = qtopia
 require recipes-qt/meta/meta-toolchain-qt.inc

 (I haven't tested this so I'm not 100% sure if it will work, but it
 should.)

 Cheers,
 Paul


 --

 Paul Eggleton
 Intel Open Source Technology Centre

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-22 Thread Navani Srivastava
Please find the recipe attached herewith for qjson. This recipe is helpful
to work with qt4-embedded as qt4 doesn't have qjson feature in built.
I tried 'bitbake -c populate_sdk myimage' but it has not integrated qjson
package along. I am suspecting qjson recipe now. Am i missing anything in
attached recipe which is blocking me to integrate qjson in SDK?

Navani

On Mon, Sep 22, 2014 at 2:48 PM, Navani Srivastava 
navani.srivast...@gmail.com wrote:

 I will follow the suggestion given by you and will update the result.
 However in case if I want to integrate custom recipe with
 meta-toolchain-qte, is there any example existing which can help me in
 understanding?

 Right now I am following the procedure given by Randy but some example
 could be of a great help!!

 Regards

 Navani

 On Mon, Sep 22, 2014 at 2:21 PM, Paul Eggleton 
 paul.eggle...@linux.intel.com wrote:

 On Monday 22 September 2014 14:06:26 Navani Srivastava wrote:
  On Mon, Sep 22, 2014 at 1:45 PM, Paul Eggleton 
  paul.eggle...@linux.intel.com wrote:
   On Sunday 21 September 2014 09:26:07 Navani Srivastava wrote:
We are not using populatesdk ... we need to generate it through
meta-toolchain-qte only so i am trying with the solution provided by
randy..
  
   Can I ask why? I'd like to understand where -c populate_sdk needs
 further
   improvement.
 
  I have to generate toolchain which contain qt related tools also like
 qmake
  and qjson, so we are using meta-toolchain-qte to generate the
 toolchain..
  Do you suggest it's better to integrate meta-toolchain-qte somehow with
  populate_sdk so that we can make life easier?

 It is possible to integrate the two - all you need to do is ensure the
 extra
 qte tools get added to the SDK. One way to achieve this would be to add
 the
 following to your image recipe:

 QTNAME = qte
 QT_DIR_NAME = qtopia
 require recipes-qt/meta/meta-toolchain-qt.inc

 (I haven't tested this so I'm not 100% sure if it will work, but it
 should.)

 Cheers,
 Paul


 --

 Paul Eggleton
 Intel Open Source Technology Centre





qjson_0.7.1.bb
Description: Binary data
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Integration of custom recipe with SDK

2014-09-20 Thread Navani Srivastava
We are not using populatesdk ... we need to generate it through
meta-toolchain-qte only so i am trying with the solution provided by randy..

Navani
On 21 Sep 2014 04:35, Khem Raj raj.k...@gmail.com wrote:

 On Thu, Sep 18, 2014 at 5:12 AM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
  Hi,
 
  I am using Poky-8.0.2 danny version for development.
 
  I want to integrate my custom recipe with sdk generated by
  meta-toolchain-qte so that I can use header files and libraries
 generated by
  my custom recipe for cross compilation. I am not sure of the proper way
 to
  do it. Right now generated header files and libraries could be found in
  rootfs generated for the target machine but for SDK there is no progress.
 
  Any help is appreciable..

 if you were generating SDK using -cpopulate_sdk yourimage

 then it would be automatically included in your next spin of SDK.

 
  Thanks
  Navani
 
  --
  ___
  yocto mailing list
  yocto@yoctoproject.org
  https://lists.yoctoproject.org/listinfo/yocto
 

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Integration of custom recipe with SDK

2014-09-18 Thread Navani Srivastava
Hi,

I am using Poky-8.0.2 danny version for development.

I want to integrate my custom recipe with sdk generated by
meta-toolchain-qte so that I can use header files and libraries generated
by my custom recipe for cross compilation. I am not sure of the proper way
to do it. Right now generated header files and libraries could be found in
rootfs generated for the target machine but for SDK there is no progress.

Any help is appreciable..

Thanks
Navani
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake -c populate_sdk -v poky-image

2013-08-29 Thread Navani Srivastava
You should set SDKMACHINE if you need the machine that runs the SDK to be
a
different architecture from the machine
Please find the local.conf file which clearly shows SDKMACHINE is i686 and
I want to build for arm1136 arch.. So MACHINE ??= EBboard is given where
EBboard refers to arm1136 architecture..
Not able to find any problem in configurations..

/opt/poky/1.3.2/sysroots/i686-pokysdk-linux/usr/bin/armv6-vfp-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
test.c
test.c:3:19: fatal error: stdio.h: No such file or directory

error shows that I have problem in cross toolchain...  Have yocto ever
faced such kind of issue with populate_sdk before ?


On Thu, Aug 29, 2013 at 1:43 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Thursday 29 August 2013 10:11:31 Navani Srivastava wrote:
  In order to execute
  bitbake -c populate_sdk poky-image are we supposed to declare
  BUILD_ARCH or SDK_ARCH somewhere in local.conf file?
  Yocto Documentation has not mentioned anything like that. Just a doubt as
  bitbake poky-image is working fine though populate_sdk is giving
 problem..

 You should set SDKMACHINE if you need the machine that runs the SDK to be a
 different architecture from the machine that you're running the build on,
 otherwise it will just use the same one.

 We're aware the documentation is lacking on -c populate_sdk, and we're
 addressing that in the documentation for the next release.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre



local.conf
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake -c populate_sdk -v poky-image

2013-08-28 Thread Navani Srivastava
Hi,

Following is my image file to generate rootfs image with SDK having Qt
support..
I am able to build SDK successfully but on building any Qt application with
generated SDK getting following error message-

/opt/poky/1.3.2/sysroots/EBboard-poky-linux-gnueabi//usr/include/qtopia/QtCore/qglobal.h:68:21:
fatal error: algorithm: No such file or directory
compilation terminated.
make[2]: *** [obj_rel/AdjustedTime.o] Error 1

Please suggest..

Thanks and Regards
Navani Kamal Srivastava




On Tue, Jul 30, 2013 at 4:18 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Tuesday 30 July 2013 14:35:40 Navani Srivastava wrote:
   I think the problem is this:
   require recipes-core/meta/meta-toolchain.bb
 
  Yes, it worked.. Thanks
 
   You shouldn't be adding this to an image recipe, and definitely not
 poky-
   image.bbclass.
  then? Is it possible to create .bbappend kind of file for .bbclass which
  can append the information or I have to duplicate
 toolchain-script.bbclass
  in my layer?

 Sure, you can add the script append and the additional TOOLCHAIN_HOST_TASK
 items in an additional bbclass in your layer and then inherit that in your
 image recipe; just don't require meta-toolchain.bb because that has other
 side-effects.

  What version of the build system are you using?
 
  I am using poky danny (8.0.2)

 OK, in that case why are you using poky-image.bbclass? That was replaced by
 core-image.bbclass in the edison release if I recall correctly, which was
 quite a while ago.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre



poky-image.bb
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake -c populate_sdk -v poky-image

2013-08-28 Thread Navani Srivastava
I just removed qt stuff and tried with the SDK built with 'bitbake -c
populate_sdk poky-image' . I just compiled a simple program which includes
stdio.h, while compiling got error that stdio.h: No such file or
directory ..
It seems problem is with SDK generated with it. But I am not able to
understand that if problem is somewhere in declaring the correct
architecture then how rootfs and all other binaries  which got generated by
executing bitbake poky-image are working on my target. Even though SDK
generated by bitbake meta-toolhain-qte is also working fine..
Need some more research..


On Wed, Aug 28, 2013 at 8:11 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Wednesday 28 August 2013 13:23:04 Navani Srivastava wrote:
  Following is my image file to generate rootfs image with SDK having Qt
  support..
  I am able to build SDK successfully but on building any Qt application
 with
  generated SDK getting following error message-
 
 
 /opt/poky/1.3.2/sysroots/EBboard-poky-linux-gnueabi//usr/include/qtopia/QtCo
  re/qglobal.h:68:21: fatal error: algorithm: No such file or directory
  compilation terminated.
  make[2]: *** [obj_rel/AdjustedTime.o] Error 1
 
  Please suggest..

 I can't tell from the little amount of the error output you've given but it
 sounds like either standard C++ headers are not installed, or they are but
 the
 compiler can't find them for some reason.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Access ssh repository

2013-08-05 Thread Navani Srivastava
Hi,

I am using Poky danny for development.I have a query related to repository
fetching.
Is it possible to fetch any repository using ssh? As an example, suppose if
recipe contains something like-

SRC_URI=ssh://__.git 

When I tried accessing it in the this manner encountered following error-

ERROR: ExpansionError during parsing
/home/user/poky/meta/recipes-core/initscripts/initscripts_1.0.bb: Failure
expanding expression ${@bb.fetch.get_checksum_file_list(d)} which triggered
exception NoMethodError: Could not find a fetcher which supports the URL:
'ssh://___.git'
ERROR: Command execution failed: Exited with 1


Thanks
Navani
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake -c populate_sdk -v poky-image

2013-07-30 Thread Navani Srivastava
I think the problem is this:

 require recipes-core/meta/meta-toolchain.bb
Yes, it worked.. Thanks

You shouldn't be adding this to an image recipe, and definitely not poky-
image.bbclass.
then? Is it possible to create .bbappend kind of file for .bbclass which
can append the information or I have to duplicate toolchain-script.bbclass
in my layer?

What version of the build system are you using?
I am using poky danny (8.0.2)

Regards
Navani


On Tue, Jul 30, 2013 at 1:57 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Tuesday 30 July 2013 00:08:42 Navani Srivastava wrote:
  I have done changes in .bbclass file. Could it be the reason for such
  behavior?
  Please find the attached recipe and bbclass.

 I think the problem is this:

  require recipes-core/meta/meta-toolchain.bb

 You shouldn't be adding this to an image recipe, and definitely not poky-
 image.bbclass.

 What version of the build system are you using?

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Cleaning dependent package

2013-07-29 Thread Navani Srivastava
Hi,

Is it possible to clean any dependent package from some other recipe?

As an example-

“bitbake core-image-minimal.bb” will build u-boot and linux package as a
part of dependent package. Is it possible to clean u-boot and linux by
making changes in core-image-minimal.bb recipe?

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] bitbake -c populate_sdk -v poky-image

2013-07-29 Thread Navani Srivastava
I have done changes in .bbclass file. Could it be the reason for such
behavior?
Please find the attached recipe and bbclass.

'm not sure that there is, no.
Ok, Thanks..

On Mon, Jul 29, 2013 at 11:34 PM, Paul Eggleton 
paul.eggle...@linux.intel.com wrote:

 On Monday 29 July 2013 23:29:25 Navani Srivastava wrote:
  Thanks Paul.. It worked :)
  Able to create SDK with qt inbuilt on issuing bitbake -c populate_sdk
  core-image-minimal , but now bitbake -v core-image-minimal also invoke
  do_populate_sdk .. Is this the expected behavior or something else?

 Er, that is certainly not expected. Would you be able to attach the current
 recipe?

  Is there anyway to clean only sdk by using bitbake command?

 I'm not sure that there is, no.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre


Regards
Navani


poky-image.bbclass
Description: Binary data


poky-image.bb
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] bitbake -c populate_sdk -v poky-image

2013-07-22 Thread Navani Srivastava
Hi,

I want to build meta-toolchain-qte.bb as sdk while running

bitbake -c populate_sdk -v core-image-minimal ..

Please suggest what changes need to be done to provide this feature?

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Qt build error for Debug and Release mode

2013-06-19 Thread Navani Srivastava
It Worked :)
Thanks


On Wed, Jun 19, 2013 at 2:11 AM, Khem Raj raj.k...@gmail.com wrote:


 On Jun 18, 2013, at 9:15 AM, Navani Srivastava 
 navani.srivast...@gmail.com wrote:

 Hi,

 I am using poky-danny (Poky-8.0). I am facing problem in building Qt
 application.

 When we are building Qt application with “qmake CONFIG+=debug  make” it
 appends “-g” to build the application in debug mode but when we are
 building application in release mode by issuing following command  “qmake
 CONFIG+=release  make”, then also it appends “-g” to it.

 So building Qt application in release mode also results in debug mode
 output.


 While it will be stripped in the end and won't make much difference as far
 as the packages are concerned it probably coming from
 SELECTED_OPTIMIZATION variable which cmake is using to construct the
 release cflags

 You can set DEBUG_FLAGS =  in your local.conf and it will not show up

 Any fix for this?

 Thanks and Regards
 Navani Kamal Srivastava

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Qt build error for Debug and Release mode

2013-06-18 Thread Navani Srivastava
Hi,

I am using poky-danny (Poky-8.0). I am facing problem in building Qt
application.

 When we are building Qt application with “qmake CONFIG+=debug  make” it
appends “-g” to build the application in debug mode but when we are
building application in release mode by issuing following command  “qmake
CONFIG+=debug  make”, then also it appends “-g” to it.

So building Qt application in release mode also results in debug mode
output.

Any fix for this?

 Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fwd: Qt build error for Debug and Release mode

2013-06-18 Thread Navani Srivastava
Hi,

I am using poky-danny (Poky-8.0). I am facing problem in building Qt
application.

When we are building Qt application with “qmake CONFIG+=debug  make” it
appends “-g” to build the application in debug mode but when we are
building application in release mode by issuing following command  “qmake
CONFIG+=release  make”, then also it appends “-g” to it.

So building Qt application in release mode also results in debug mode
output.

Any fix for this?

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Bitbake -c clean core-image-minimal

2013-04-24 Thread Navani Srivastava
Hi,

I am using poky-danny for development. I am facing problem at the time of
cleaning rootfs image. If I am issuing –

“bitbake –c clean  core-image-minimal”

command , it is not cleaning deploy directory. I can still see images
existing in “tmp/deploy/images/”. But the same is working fine for kernel
and boot loader.

“bitbake –c clean u-boot” removes images from deploy directory also.

Please suggest what changes are required to clean rootfs image completely
from deploy directory.

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] SDK creation

2013-04-03 Thread Navani Srivastava
Thanks for your reply..
It worked..
On Apr 3, 2013 12:58 PM, Paul Eggleton paul.eggle...@linux.intel.com
wrote:

 On Friday 15 March 2013 14:12:45 Navani Srivastava wrote:
  I tried giving
  PREFERRED_PROVIDER_qt4_embedded ?= 4.8.1
 
  in machine configuration file but it didn't helped..
  Any suggestions?

 This should be PREFERRED_VERSION_qt4-embedded = 4.8.1
 (note VERSION not PROVIDER, qt4-embedded not qt4_embedded, and = not ?= )

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Problem in inserting kernel modules at Start up

2013-03-21 Thread Navani Srivastava
Hi,

I am using poky -8.0 (danny) . I wish to insert kernel modules at start up.
Before with denzil version I was adding kernel-modules to “IMAGE_INSTALL “
in rootfs image and it used to work like a charm. Now if I am doing the
same it is giving me error as mentioned below.



“error: Failed dependencies:

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-firmware-class-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-usbhid-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-mousedev-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-usbtouchscreen-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-ks8851-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-scsi-wait-scan-2.6.35.3-r0.iboard

kernel-2.6.35.3-433-g0fae922 is needed by
kernel-module-hid-2.6.35.3-r0.iboard”



I am doing “bitbake –v kmod-native” before running rootfs image. Any
suggestions are appreciated.

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] SDK creation

2013-03-17 Thread Navani Srivastava
Hi,

Thanks for your reply.. But including this option didn't helped me..
On Mar 15, 2013 12:17 PM, Prana pra...@gmail.com wrote:

 Try adding this to your machine.conf

 PREFERRED_VERSION_qt4-embedded http://qt4-embedded_4.8.1.bb = 4.8.1

 Thx,

 Prana


 Sent from my iPhone

 On Mar 15, 2013, at 12:06 AM, Navani Srivastava 
 navani.srivast...@gmail.com wrote:

 Hi,

  I wish to create SDK with meta-toolchain-qte recipe.  As two versions are
 provided by Poky-8.0. How can I direct compilation of SDK for
 qt4-embedded_4.8.1.bb ?



 Right now I am getting following error-

 ERROR: Multiple .bb files are due to be built which each provide
 qt4-embedded 
 (/home/user/danny/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb/home/user/danny/meta/recipes-qt/qt4/
 qt4-embedded_4.8.3.bb).

 Thanks and Regards
 Navani Kamal Srivastava

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] SDK creation

2013-03-17 Thread Navani Srivastava
Hi all,

Adding below lines helped..

PREFERRED_VERSION_qt4-embedded = 4.8.1

I was changing qt configuration options so was getting that error even
after adding mentioned lines..
Thanks for the help

Thanks and Regards
Navani
 On Mar 15, 2013 12:17 PM, Prana pra...@gmail.com wrote:

 Try adding this to your machine.conf

 PREFERRED_VERSION_qt4-embedded http://qt4-embedded_4.8.1.bb = 4.8.1

 Thx,

 Prana


 Sent from my iPhone

 On Mar 15, 2013, at 12:06 AM, Navani Srivastava 
 navani.srivast...@gmail.com wrote:

 Hi,

  I wish to create SDK with meta-toolchain-qte recipe.  As two versions are
 provided by Poky-8.0. How can I direct compilation of SDK for
 qt4-embedded_4.8.1.bb ?



 Right now I am getting following error-

 ERROR: Multiple .bb files are due to be built which each provide
 qt4-embedded 
 (/home/user/danny/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb/home/user/danny/meta/recipes-qt/qt4/
 qt4-embedded_4.8.3.bb).

 Thanks and Regards
 Navani Kamal Srivastava

 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] SDK creation

2013-03-15 Thread Navani Srivastava
Hi,

 I wish to create SDK with meta-toolchain-qte recipe.  As two versions are
provided by Poky-8.0. How can I direct compilation of SDK for
qt4-embedded_4.8.1.bb ?



Right now I am getting following error-

ERROR: Multiple .bb files are due to be built which each provide
qt4-embedded 
(/home/user/danny/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb/home/user/danny/meta/recipes-qt/qt4/
qt4-embedded_4.8.3.bb).

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] SDK creation

2013-03-15 Thread Navani Srivastava
Hi,

I tried giving
PREFERRED_PROVIDER_qt4_embedded ?= 4.8.1

in machine configuration file but it didn't helped..
Any suggestions?
 On Mar 15, 2013 12:31 PM, Khem Raj raj.k...@gmail.com wrote:


 On Mar 15, 2013, at 12:06 AM, Navani Srivastava 
 navani.srivast...@gmail.com wrote:

 Hi,

  I wish to create SDK with meta-toolchain-qte recipe.  As two versions are
 provided by Poky-8.0. How can I direct compilation of SDK for
 qt4-embedded_4.8.1.bb ?



 use PREFERRED_VERSION to pin qt4-embedded to 4.8.1



 Right now I am getting following error-

 ERROR: Multiple .bb files are due to be built which each provide
 qt4-embedded 
 (/home/user/danny/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb/home/user/danny/meta/recipes-qt/qt4/
 qt4-embedded_4.8.3.bb).

 Thanks and Regards
 Navani Kamal Srivastava
  ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Remove unwanted package from Qt

2013-01-16 Thread Navani Srivastava
I tried the same but again ended up with error. As of now i am removing all
unwanted things from rootfs by making changes in image_types.bbclass. I am
sure this is not the correct way, any ideas are appreciated..

Thanks
Navani


On Thu, Dec 27, 2012 at 11:08 PM, Jon Szymaniak jon.szyman...@gmail.comwrote:

 
  Hi,
 
  I am compiling Qt-4.8.0 with poky-denzil-7.0 for arm1136 architecture.
 
 
 
  At the time of integrating qt-embedded with rootfs, I am getting qtopia
  directory in usr/share path of rootfs.
 
  I tried removing qtopia directory through qt recipe but ended in
  compilation error. Please suggest any idea to remove qtopia from share
  directory.
 
 
 
  Thanks and Regards
 
  Navani Kamal Srivastava
 
  I ran into this as well after using a bbappend to disable a number of
  Qt features, including the building of demos that get staged in the
  aforementioned path.  In my case, that qtopia directory (and any
  subdirectories) wound up either being empty or containing files that
  were unnecessary for my build.
 
  My quick and dirty solution was to just to add a install_append()
  containing a 'rm -rf ${D}${datadir}/qtopia' in my bbappend. (Be sure
  you don't have anything important in there!) I'd be curious to hear if
  there's a better approach to this as well...
 
  Regards,
  Jon

 Oops...just wanted to note the typo in my above response -- I'm not at
 a machine where I have access to my recipes.

 That should be a do_install_append(), not install_append().  I'd also
 double check the qtopia path, as I wrote that from memory, which may
 not be reliable. ;)

 Apologies,
 Jon

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Remove unwanted package from Qt

2012-12-25 Thread Navani Srivastava
Hi,

I am compiling Qt-4.8.0 with poky-denzil-7.0 for arm1136 architecture.



At the time of integrating qt-embedded with rootfs, I am getting qtopia
directory in usr/share path of rootfs.

I tried removing qtopia directory through qt recipe but ended in
compilation error. Please suggest any idea to remove qtopia from share
directory.



Thanks and Regards

Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Error while adding a new recipe

2012-07-15 Thread Navani Srivastava
I did the mentioned modification and it worked..
Thanks a lot..

On Thu, Jul 12, 2012 at 7:33 AM, Khem Raj raj.k...@gmail.com wrote:

 On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
  Sorry, but it didn't worked for me..
  .bb file is something like-
 
  PACKAGES = colorado
 
  SRC_URI =  file://colorado_gui_bk
 
  do_install () {
  #
  # Create directories and install device independent scripts
  #
   install -d ${D}/{homedir}/Test
   install -d ${D}${homedir}/Test/Bin
  #   install -m 0755 ${WORKDIR}/colorado_gui_bk
  ${D}${homedir}/Test/Bin
  cp ${WORKDIR}/colorado_gui_bk
  ${D}${homedir}/Test/Bin
  }
  #FILES_${PN}-dbg += \
  #  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
  #
 
  INHIBIT_PACKAGE_STRIP = 1

 add

 INSANE_SKIP_${PN} = arch
 as well

  
  Please review if anything else need to be added..
 
 
 
  On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj raj.k...@gmail.com wrote:
 
  On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
  navani.srivast...@gmail.com wrote:
   Thanks for your reply..
   It is a pre-built-binary which I am trying to put in a specific path
 of
   rootfs.
   I didn't get what does it mean by packaging it seperately..
 
  is this the only file in this package ? you might add
  INHIBIT_PACKAGE_STRIP = 1 to the recipe then
  but be aware this will disable stripping the binaries and if you have
  other legit binaries that this
  recipe is generating then they wont be stripped as well.
 
  
   On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj raj.k...@gmail.com wrote:
  
   On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
   navani.srivast...@gmail.com wrote:
ERROR: QA Issue: Architecture did not match (40 to 3) on
   
   
   
 /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
  
   what is this file ?
   is it some precompiled binary or some firmware blob ?
   you need to package is separately and then may be skip stripping just
   that one package
  
  
 
 

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Not able to include dhcp package

2012-07-12 Thread Navani Srivastava
Hi,



I am using denzil-7.0 and I am trying to include dhcp package in my rootfs.
I appended following option for dhcp (bitbake –e dhcp | grep –e
“^PACKAGES=” ) in rootfs .bb file-



IMAGE_INSTALL += “dhcp-dbg dhcp-staticdev dhcp-doc dhcp-dev dhcp-server
 dhcp-server-config dhcp-client dhcp-relay dhcp-omshell



But it ended up with following error-



Processing task-core-boot...

| Processing dhcp-omshell...

| Processing colorado...

| Processing dhcp-relay...

| Processing dhcp-staticdev...

| Processing dhcp-server...

| Processing dhcp-client...

| Processing dhcp-doc...

| Processing dhcp-dbg...

| Processing dhcp-server-config...

| error: Failed dependencies:

|   dhcp = 4.2.3+P2-r0 is needed by dhcp-dev-4.2.3+P2-r0.armv6

NOTE: package poky-image-1.0-r0: task do_rootfs: Failed

ERROR: Task 8 (/home/navani/Poky-7.0/meta-EB/recipes-EB/images/poky-image.bb,
do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1184 tasks of which 1172 didn't need to be
rerun and 1 failed.



Any help is appreciated.



Thanks and Regards

Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Error while adding a new recipe

2012-07-12 Thread Navani Srivastava
Sorry, but it didn't worked for me..
.bb file is something like-

PACKAGES = colorado

SRC_URI =  file://colorado_gui_bk

do_install () {
#
# Create directories and install device independent scripts
#
 install -d ${D}/{homedir}/Test
 install -d ${D}${homedir}/Test/Bin
#   install -m 0755 ${WORKDIR}/colorado_gui_bk
${D}${homedir}/Test/Bin
cp ${WORKDIR}/colorado_gui_bk  ${D}${homedir}/Test/Bin
}
#FILES_${PN}-dbg += \
#  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
#

INHIBIT_PACKAGE_STRIP = 1

Please review if anything else need to be added..


On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj raj.k...@gmail.com wrote:

 On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
  Thanks for your reply..
  It is a pre-built-binary which I am trying to put in a specific path of
  rootfs.
  I didn't get what does it mean by packaging it seperately..

 is this the only file in this package ? you might add
 INHIBIT_PACKAGE_STRIP = 1 to the recipe then
 but be aware this will disable stripping the binaries and if you have
 other legit binaries that this
 recipe is generating then they wont be stripped as well.

 
  On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj raj.k...@gmail.com wrote:
 
  On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
  navani.srivast...@gmail.com wrote:
   ERROR: QA Issue: Architecture did not match (40 to 3) on
  
  
 /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
 
  what is this file ?
  is it some precompiled binary or some firmware blob ?
  you need to package is separately and then may be skip stripping just
  that one package
 
 

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Error while adding a new recipe

2012-07-11 Thread Navani Srivastava
Hi,

I am working on poky-denzil-1.0 and I have added a recipe to copy pre-built
binaries and some documents to specified path of rootfs. I am able to copy
documents in rootfs successfully but while copying binaries to rootfs, I am
getting following error -

NOTE: package colorado-1.0-r0: task do_package: Started
ERROR: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment
--remove-section=.note
'/home/navani/poky_test/build/tmp/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/package/home/Leica/Bin/colorado_gui_bk''
strip command failed
ERROR: QA Issue: Architecture did not match (40 to 3) on
/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/navani/poky_test/build/tmp/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/temp/log.do_package.29705
NOTE: package colorado-1.0-r0: task do_package: Failed
ERROR: Task 151 (/home/navani/poky_test/meta-EB/recipes-colorado/colorado/
colorado_1.0.bb, do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1127 tasks of which 1119 didn't need to be
rerun and 1 failed.

Any help is appreciable.

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Error while adding a new recipe

2012-07-11 Thread Navani Srivastava
Thanks for your reply..
It is a pre-built-binary which I am trying to put in a specific path of
rootfs.
I didn't get what does it mean by packaging it seperately..

On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj raj.k...@gmail.com wrote:

 On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
  ERROR: QA Issue: Architecture did not match (40 to 3) on
 
 /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk

 what is this file ?
 is it some precompiled binary or some firmware blob ?
 you need to package is separately and then may be skip stripping just
 that one package

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] 'check_sanity_eventhandler' failed

2012-06-26 Thread Navani Srivastava
Hi,

We are using poky-denzil-7.0. I am trying to create SDK by running bitbake
-v meta-toolchain-qte . But it is getting failed at the earlier phase
throwing an error

DEBUG: Fetcher accessed the network with the command git ls-remote git://
git.yoctoproject.org/yocto-firewall-test HEAD
DEBUG: Running export HOME=/home/navani; export SSH_AGENT_PID=17197;
export SSH_AUTH_SOCK=/tmp/keyring-2GniDe/ssh; export
GIT_CONFIG=/home/navani/Poky-7.0/poky-denzil-7.0/build/tmp/sysroots/i686-linux/etc/gitconfig;
export
PATH=/home/navani/Poky-7.0/poky-denzil-7.0/bitbake/bin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/navani/Poky-7.0/poky-denzil-7.0/scripts;
git ls-remote git://git.yoctoproject.org/yocto-firewall-test HEAD
ERROR:  OE-core's config sanity checker detected a potential
misconfiguration.
Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
Following is the list of potential problems / advisories:

Failed to fetch test data from the network. Please ensure your network
is configured correctly.

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

Network is working fine still I am facing this error. Can anyone please
confirm if any modification need to be done for sanity.conf. I am using
same class and configuration file for sanity as is there in meta layer.

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Broken SDK

2012-06-05 Thread Navani Srivastava
Hi,

Thanks for support. I successfully created SDK with this modification. I
installed the same SDK and tried compiling Qt application, but got error
mentioning

Failure to read QMAKESPEC conf file
/opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs/linux-gnueabi-oe-g++/qmake.conf/qmake.conf.
Error processing project file: /home/Qt/hello/hello.pro

I had exported path of QMAKESPEC to
/opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs/linux-gnueabi-oe-g++/qmake.conf


Any idea why I am ending up with this error ? Any reply is appreciable.

Thanks
Navani


On Wed, May 30, 2012 at 12:36 AM, Khem Raj raj.k...@gmail.com wrote:

 On Tue, May 29, 2012 at 2:03 AM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
 
  ln -s
  /opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs
  mkspecs
  | ln: creating symbolic link `mkspecs': File exists
 

 as it says it seems file is there already. So make sure the preexisting
 file
 is correct if so then you can check first if file exists before creating
 symlink
 if the file is incorrect then just use ln -sf to create the symlink

  On commenting out
   (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
  ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Broken SDK

2012-06-05 Thread Navani Srivastava
Finally this error is also resolving. I was exporting wrong path for
QMAKESPEC.
I need to export same path as defined in
environment-setup-armv6-poky-linux-gnueabi, so i executed-

source  /opt/poky/1.0/environment-setup-armv6-poky-linux-gnueabi 

then tried compiling Qt applications and got successful.
Thanks to Yocto community !!

On Tue, Jun 5, 2012 at 5:48 PM, Navani Srivastava 
navani.srivast...@gmail.com wrote:

 Hi,

 Thanks for support. I successfully created SDK with this modification. I
 installed the same SDK and tried compiling Qt application, but got error
 mentioning

 Failure to read QMAKESPEC conf file
 /opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs/linux-gnueabi-oe-g++/qmake.conf/qmake.conf.
 Error processing project file: /home/Qt/hello/hello.pro

 I had exported path of QMAKESPEC to
 /opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs/linux-gnueabi-oe-g++/qmake.conf


 Any idea why I am ending up with this error ? Any reply is appreciable.

 Thanks
 Navani


 On Wed, May 30, 2012 at 12:36 AM, Khem Raj raj.k...@gmail.com wrote:

 On Tue, May 29, 2012 at 2:03 AM, Navani Srivastava
 navani.srivast...@gmail.com wrote:
 
  ln -s
  /opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs
  mkspecs
  | ln: creating symbolic link `mkspecs': File exists
 

 as it says it seems file is there already. So make sure the preexisting
 file
 is correct if so then you can check first if file exists before creating
 symlink
 if the file is incorrect then just use ln -sf to create the symlink

  On commenting out
   (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
  ${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Broken SDK

2012-05-29 Thread Navani Srivastava
Hi Lianhao,

These patches worked for me.But still I am failing to create symbolic link
of mkspecs. It throws below mentioned error-

ln -s
/opt/poky/1.0/sysroots/arm-poky-linux-gnueabi/usr/share/qtopia/mkspecs
mkspecs
| ln: creating symbolic link `mkspecs': File exists

On commenting out
 (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s
${SDKTARGETSYSROOT}/usr/share/qtopia/mkspecs mkspecs;)

section of meta-toolchain-qte.bb, I can successfully create the SDK
including my cross toolchain of specified architecture. Do I need to change
any path?

On Mon, May 28, 2012 at 11:29 AM, Lu, Lianhao lianhao...@intel.com wrote:

 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/ directory. On untaring this Toolchain I found
  that cross gcc wasn't included in the SDK. Can anyone please help me in
 recognizing the problem?
 

 I think the meta-toolchain-qte was not workable in benard. You might need
 to cherry-pick other patches for the recipe meta-toolchian-qte.


 http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/meta/recipes-qt/meta/meta-toolchain-qte.bb

 Best Regards,
 Lianhao


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Broken SDK

2012-05-27 Thread Navani Srivastava
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/ directory. On untaring this Toolchain I found that cross
gcc wasn’t included in the SDK. Can anyone please help me in recognizing
the problem?





Thanks and Regards

Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Unable to Load Kernel Module

2012-04-12 Thread Navani Srivastava
Hi,

I am facing problem in loading kernel module at startup. I have added
kernel-modules in rootfs image file.
I am getting the below mentioned error-

modprobe: FATAL: Could not load
/lib/modules/2.6.35.3-433-g0fae922/modules.dep: No such file or directory
flexcan flexcan.0: writing ctrl=0x25292004
enable
Yocto (Built by Poky 5.0) 1.0 EBboard ttymxc0

I noticed that I am getting 2.6.35.3 directory under /lib/modules/ . As
per my understanding Poky is supposed to make soft link of 2.6.35.3 to
2.6.35.3-433-g0fae922. I tried making this soft link manually and it
worked. Can any one please suggest me which changes I need to make in
recipes to create this soft link?

Thanks and Regards
Navani Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Unable to find recipe for glibc-2.11.1

2012-03-26 Thread Navani Srivastava
Hi,

I am looking for recipe of glibc-2.11.1 version. I googled for it but no
success. Can anyone please suggest me the link from where i can download
the same?

Thanks and Regards
Navani Kamal Srivastava
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Problem in Compiling Qt-4.6.3

2012-03-20 Thread Navani Srivastava
Hi,

I am facing difficulty in compiling qt4-embedded_4.6.3.bb. I am compiling
qt for arm1136 arch. I have changed configuration parameters of qt in
qt4.inc as -

 -opensource -embedded arm -confirm-license -release -shared -xmlpatterns
-make libs -nomake docs -nomake demos -nomake tools -qt-gfx-linuxfb
-qt-gfx-directfb -qt-gfx-vnc -qt-gfx-qvfb -qt-gfx-transformed
-qt-gfx-multiscreen -qt-kbd-tty -qt-kbd-linuxinput -qt-kbd-qvfb
-qt-mouse-pc -qt-mouse-linuxinput -no-mouse-linuxtp -qt-mouse-tslib
-qt-mouse-qvfb -depths all -no-sql-sqlite -no-sql-ibase -no-sql-mysql
-no-sql-odbc -no-sql-psql -no-sql-sqlite2 -accessibility -no-qt3support
-no-mmx -no-3dnow -no-sse -no-sse2 -no-neon -no-glib -no-openssl -no-opengl
-no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit
-no-cups -no-nis -no-dbus -no-libmng -no-libtiff -no-gif -no-libjpeg
-no-scripttools -exceptions -iconv -largefile 

On issuing  bitbake -v meta-toolchain-qte command I am getting following
error-


floatmath auto-detection... ()
| compiling floatmath.cpp
| floatmath.cpp:44:5: warning: unused parameter 'argc'
| floatmath.cpp:44:5: warning: unused parameter 'argv'
| linking floatmath
| floatmath enabled.
| zlib auto-detection... ()
| compiling zlib.cpp
| linking zlib
| zlib enabled.
| libpng auto-detection... ()
| compiling libpng.cpp
| linking libpng
| libpng enabled.
| DB2 auto-detection... ()
| compiling db2.cpp
| db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
| compilation terminated.
| make: *** [db2.o] Error 1
| DB2 disabled.
| OCI auto-detection... ()
| compiling oci.cpp
| oci.cpp:42:17: fatal error: oci.h: No such file or directory
| compilation terminated.
| make: *** [oci.o] Error 1
| OCI disabled.
| unknown SQL driver: sqlite_symbian
| TDS auto-detection... ()
| compiling tds.cpp
| tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
| compilation terminated.
| make: *** [tds.o] Error 1
| TDS disabled.
| EGL (EGL/egl.h) auto-detection... ()
| compiling egl.cpp
| egl.cpp:42:21: fatal error: EGL/egl.h: No such file or directory
| compilation terminated.
| make: *** [egl.o] Error 1
| EGL (EGL/egl.h) disabled.
| EGL (GLES/egl.h) auto-detection... ()
| compiling egl4gles1.cpp
| egl4gles1.cpp:42:22: fatal error: GLES/egl.h: No such file or directory
| compilation terminated.
| make: *** [egl4gles1.o] Error 1
| EGL (GLES/egl.h) disabled.
| DirectFB auto-detection... ()
| compiling directfb.cpp

 Stdint enabled.
| ./configure: line 6403: $(OE_QMAKE_CXX): command not found
| Testing size of pointers ...
(/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-gnueabi-oe-g++
yes
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3)
| rm -f ptrsizetest.o
| rm -f *~ core *.core
| arm-poky-linux-gnueabi-g++ -march=armv6j -mtune=arm1136jf-s
-mfloat-abi=softfp
-mfpu=vfp -mthumb-interwork -mno-thumb
--sysroot=/home/navani/Poky/poky-bernard-5.0/build/tmp/sysroots/EBboard -c
-pipe
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb
-feliminate-unused-debug-types -fexpensive-optimizations
-fomit-frame-pointer
-frename-registers -O2 -ggdb -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -o
ptrsizetest.o ptrsizetest.cpp
| ptrsizetest.cpp: In function 'int main(int, char**)':
| ptrsizetest.cpp:59:12: error: 'PointerSize' is not a member of
'QPointerSizeTest4'
| make: *** [ptrsizetest.o] Error 1
| Pointer size: 4

|
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/bin/qmake
-spec
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-gnueabi-oe-g++
-o
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/./src/phonon
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/src/phonon/
phonon.pro
|
| Qt is now configured for building. Just run 'make'.
| Once everything is built, you must run 'make install'.
| Qt will be installed into /usr/
|
| To reconfigure, run 'make confclean' and 'configure'.
|
| sed: can't read
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/translations/Makefile:
No such file or directory
| ERROR: Function 'do_configure' failed (see
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/temp/log.do_configure.27870
for further