[yocto] qemux86 and generic86

2015-08-05 Thread Amit Kumar
Hi,

I have a basic doubts on qemux86 build application image is not working on 
generic86 target.
Suppose I have a application which I would like to test on target board, but 
the target board is not yet ready. If I will want to test that application I 
will use the qemu  to test.
But if I build the application for qemu, it does not work for actual target 
board.
Could you please let me know the details reason. If I want to do like that what 
I should have to do.


Thanks  Regards
Amit

LT Technology Services Ltd

www.LntTechservices.comhttp://www.lnttechservices.com/

This Email may contain confidential or privileged information for the intended 
recipient (s). If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] kernel config required for rt-kernel

2013-11-04 Thread Amit Kumar
Hi,
   I need help to build a rt-kernel. Is anyone knows about the 
real-time kernel configurations? How can I build a real-time kernel?
What all are the kernel configuration need to be enable for rt-kernel?


Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] telnetd is not running with core-image-basic

2013-10-28 Thread Amit Kumar
Hi,
I have fixed this issue to write the own recipe for  
inetutils-mytelnetd. 
Because with the inetutils- compile and install the success but telnetd does 
not be copied into the /usr/sbin 
So using the own recipe I have used the telnetd default installed location 
which is  /usr/libexec/
It's working well now. 



Thanks Regards
Amit K 

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Amit Kumar
Sent: Monday, October 28, 2013 12:14 PM
To: Gary Thomas; yocto@yoctoproject.org
Subject: Re: [yocto] telnetd is not running with core-image-basic

Hi,
I have tried with adding the  CORE_IMAGE_EXTRA_INSTALL += inetutils 
inetutils-telnetd in locl.conf file.
But it doesn't work. I have doubt here the inetutils is a package not the 
binary which includes the telnet,telnetd,tftp,tftpd and others.
So, here I tried to add the telnetd instead of inetutils, but still it not 
working, I did not get the binary on target.

I want to run the telned and tftpd binary or daemons at bootup time. Which is 
not happening. Even after boot telnetd and tftpd binary itself not present on 
target.
Please help me on that.


Thanks
Amit K



-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Gary Thomas
Sent: Sunday, October 27, 2013 10:29 PM
To: yocto@yoctoproject.org
Subject: Re: [yocto] telnetd is not running with core-image-basic

On 2013-10-25 23:17, Amit Kumar wrote:
 Hi,
   I tried to run the telnetd with core-image-basic. I follow up the 
 following step to enable the telnetd support in my layer.
 I have build the latest inetutils recipe with my layer, the latest version of 
 inteutils is intetutils_1.9.1. I have build the packages successful.
 But the telnetd is not available in my core-image-basic. When i run the the 
 image under QEMU, there is no telnetd under /usr/sbin/ or /usr/bin.
 It's not present at all.

 I have also tried to add the initscript-telnetd refer from meta-arago. But 
 not succeed.

 Please guild me- how can i will get it with my core-image-basic image. Am i 
 missing any step here for that?

Building the package is not enough by itself.  You need to get it added to the
image that you are using.  This can be done either at build time or at run time.

To add the package at build time, simply add this to your local.conf:
   CORE_IMAGE_EXTRA_INSTALL += inetutils inetutils-telnetd

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
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] telnetd is not running with core-image-basic

2013-10-27 Thread Amit Kumar
Hi,
I have tried with adding the  CORE_IMAGE_EXTRA_INSTALL += inetutils 
inetutils-telnetd in locl.conf file.
But it doesn't work. I have doubt here the inetutils is a package not the 
binary which includes the telnet,telnetd,tftp,tftpd and others.
So, here I tried to add the telnetd instead of inetutils, but still it not 
working, I did not get the binary on target.

I want to run the telned and tftpd binary or daemons at bootup time. Which is 
not happening. Even after boot telnetd and tftpd binary itself not present on 
target.
Please help me on that.


Thanks
Amit K



-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Gary Thomas
Sent: Sunday, October 27, 2013 10:29 PM
To: yocto@yoctoproject.org
Subject: Re: [yocto] telnetd is not running with core-image-basic

On 2013-10-25 23:17, Amit Kumar wrote:
 Hi,
   I tried to run the telnetd with core-image-basic. I follow up the 
 following step to enable the telnetd support in my layer.
 I have build the latest inetutils recipe with my layer, the latest version of 
 inteutils is intetutils_1.9.1. I have build the packages successful.
 But the telnetd is not available in my core-image-basic. When i run the the 
 image under QEMU, there is no telnetd under /usr/sbin/ or /usr/bin.
 It's not present at all.

 I have also tried to add the initscript-telnetd refer from meta-arago. But 
 not succeed.

 Please guild me- how can i will get it with my core-image-basic image. Am i 
 missing any step here for that?

Building the package is not enough by itself.  You need to get it added to the
image that you are using.  This can be done either at build time or at run time.

To add the package at build time, simply add this to your local.conf:
   CORE_IMAGE_EXTRA_INSTALL += inetutils inetutils-telnetd

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] telnetd is not running with core-image-basic

2013-10-25 Thread Amit Kumar
Hi,
 I tried to run the telnetd with core-image-basic. I follow up the 
following step to enable the telnetd support in my layer.
I have build the latest inetutils recipe with my layer, the latest version of 
inteutils is intetutils_1.9.1. I have build the packages successful.
But the telnetd is not available in my core-image-basic. When i run the the 
image under QEMU, there is no telnetd under /usr/sbin/ or /usr/bin.
It's not present at all.

I have also tried to add the initscript-telnetd refer from meta-arago. But 
not succeed.

Please guild me- how can i will get it with my core-image-basic image. Am i 
missing any step here for that?




Thanks  Regards
Amit K



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] FW: How to enable the LTP in “core-image-basic”

2013-10-20 Thread Amit Kumar
Hi, 
  I wants to share that - LTP packages has been build with 
core-image-basic. Now the core-image-basic includes the ltp test scripts. 
 I got the ltp test script on the QEMU and target under the /opt/ltp.
I have executed the LTP test script successfully on QEMU as well as target. 

Thanks a lot for the support. 




Thanks  Regards
Amit K




From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] On Behalf 
Of Amit Kumar [amit.ku...@lntinfotech.com]
Sent: Sunday, October 20, 2013 7:24 AM
To: yocto@yoctoproject.org
Subject: [yocto] How to enable the LTP in “core-image-basic”

Hi,

How to enable the LTP in “core-image-basic”

I have tried to enable the LTP for “core-image-basic”  for that i have edit
“core-image-basic.bb” --  IMAGE_FEATURES += ssh-server-openssh ltp but the 
final executable image does not contains the ltp utiltiy.

Than i tried the add the “tools-testapp” but in that case also in final image 
no ltp.
Also tried to add the RDEPEND_${PN} += ltp in the image recipe file but still 
in am not able to see the ltp image in my final running image on qemu.

In all the cases during the bitbake build the ltp packages has been build but 
the image is not yet added in final running image.

Could you please suggest me what setp is missing, why it's not get added in my 
final image?



Thanks  Regards
Amit K

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
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] How to enable the LTP in “core-image-basic”

2013-10-19 Thread Amit Kumar
Hi,

How to enable the LTP in “core-image-basic”

I have tried to enable the LTP for “core-image-basic”  for that i have edit
“core-image-basic.bb” --  IMAGE_FEATURES += ssh-server-openssh ltp but the 
final executable image does not contains the ltp utiltiy.

Than i tried the add the “tools-testapp” but in that case also in final image 
no ltp.
Also tried to add the RDEPEND_${PN} += ltp in the image recipe file but still 
in am not able to see the ltp image in my final running image on qemu.

In all the cases during the bitbake build the ltp packages has been build but 
the image is not yet added in final running image.

Could you please suggest me what setp is missing, why it's not get added in my 
final image?



Thanks  Regards
Amit K

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] how to enable the LTP in core-image-basic

2013-10-17 Thread Amit Kumar
Hi,
   I wants to use the LTP test suite provided by yocto project. But I 
don't know how to enable it for core-image-basic.
Can anyone help me to enable the LTP in core-image-basic?


Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Build all linux utility's without busybox

2013-09-15 Thread Amit Kumar
Hi,
I wanted to build the poky image core-image-minimal without busybox 
support. Is that possible?
If it's possible how can we do it. I wants to build the all busybox supported 
utility without busybox. I wants to build them separately.
I don't want the busybox, if anyone has an idea please let me know how can we 
do it.



Thanks  Regards
Amit K

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] OE recipes- linphone build error in poky-9.0.0 build environment

2013-08-29 Thread Amit Kumar
Thanks for replay,

 I have follow the steps suggested by Mr. Paul, but still i am 
facing an error.
I wants to build the linphone along with my Yocto Project build environment 
setup. I found linphone recipes in openembedded git. I have added that recipe 
and also add the dependancy recipes libosip2 and also modify .bb files. But 
still i am getting build error.
//
Loading cache: 100% 
|#|
 ETA:  00:00:00
Loaded 1128 entries from dependency cache.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.04
TARGET_SYS= arm-poky-linux-gnueabi
MACHINE   = qemuarm
DISTRO= poky
DISTRO_VERSION= 1.4
TUNE_FEATURES = armv5 thumb dsp
TARGET_FPU= soft
meta
meta-yocto
meta-yocto-bsp
meta-linphone = unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Fetcher failure for URL: 
'http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-1.6.0.tar.gz'.
 No checksum specified for 
/home/yocto/YOCTO/poky-dylan-9.0.0/build/downloads/linphone-1.6.0.tar.gz, 
please add at least one to the recipe:
SRC_URI[md5sum] = fb345125e23c787df0818ff7caad5515
SRC_URI[sha256sum] = 
ba1c32207fd62d374c9397a81fb1247da93edb859e30d0d855dc65e5457f690b
ERROR: Function failed: Fetcher failure for URL: 
'http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-1.6.0.tar.gz'.
 No checksum specified for 
/home/yocto/YOCTO/poky-dylan-9.0.0/build/downloads/linphone-1.6.0.tar.gz, 
please add at least one to the recipe:
SRC_URI[md5sum] = fb345125e23c787df0818ff7caad5515
SRC_URI[sha256sum] = 
ba1c32207fd62d374c9397a81fb1247da93edb859e30d0d855dc65e5457f690b
ERROR: Logfile of failure stored in: 
/home/yocto/YOCTO/poky-dylan-9.0.0/build/tmp/work/armv5te-poky-linux-gnueabi/linphone/1.6.0-r3/temp/log.do_fetch.3098
ERROR: Task 358 
(/home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/linphone/linphone_1.6.0.bb,
 do_fetch) failed with exit code '1'
ERROR: libosip2: Recipe file does not have license file information 
(LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: 
/home/yocto/YOCTO/poky-dylan-9.0.0/build/tmp/work/armv5te-poky-linux-gnueabi/libosip2/3.5.0-r0/temp/log.do_configure.3078
ERROR: Task 1024 
(/home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/libosip2/libosip2_3.5.0.bb,
 do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4749 tasks of which 4747 didn't need to be rerun 
and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
//

Do anyone knows how to fix the LIC_FILES_CHKSUM for libosip2 .bb file or 
linphone .bb file.
Please suggest me how to fix this error.

Thanks  Regards
Amit K.



From: Paul Eggleton [paul.eggle...@linux.intel.com]
Sent: Wednesday, August 28, 2013 1:43 PM
To: Amit Kumar
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] OE recipes- linphone build error in poky-9.0.0 build 
environment

Hi Amit,

On Wednesday 28 August 2013 09:05:28 Amit Kumar wrote:
  I wants to build the recipes name linphone(SIP-based IP phone) with
 poky-9.0.0 build environment. I found he linphone recipes under the
 angstrom-openembedded. In my poky build environment I have created the
 new layer, name linphone, and copy the .bb files. But when i am building it
 through an dependency error.

 Do anyone have done it before, please guide me how to fix this error.

 
  yocto@yocto-HP:~/YOCTO/poky-dylan-9.0.0/build$ bitbake
 linphone-image Loading cache: 100%
 |##
 ###| ETA:  00:00:00 Loaded 1126 entries from dependency
 cache.

 Build Configuration:
 BB_VERSION= 1.18.0
 BUILD_SYS = i686-linux
 NATIVELSBSTRING   = Ubuntu-12.04
 TARGET_SYS= arm-poky-linux-gnueabi
 MACHINE   = qemuarm
 DISTRO= poky
 DISTRO_VERSION= 1.4
 TUNE_FEATURES = armv5 thumb dsp
 TARGET_FPU= soft
 meta
 meta-yocto
 meta-yocto-bsp
 meta-linphone = unknown:unknown

 NOTE: Resolving any missing task queue dependencies
 ERROR: Nothing PROVIDES 'libosip2' (but
 /home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/linphone/
 linphone_1.6.0.bb DEPENDS on or otherwise requires it) NOTE: Runtime target
 'linphone' is unbuildable, removing...
 Missing or unbuildable dependency chain was: ['linphone', 'libosip2']
 ERROR: Required build target 'linphone-image' has no buildable providers.
 Missing or unbuildable dependency chain was: ['linphone

[yocto] OE recipes- linphone build error in poky-9.0.0 build environment

2013-08-27 Thread Amit Kumar
Hi,
 I wants to build the recipes name linphone(SIP-based IP phone) with 
poky-9.0.0 build environment.
I found he linphone recipes under the angstrom-openembedded. In my poky build 
environment I have created the new layer, name linphone, and copy the .bb files.
But when i am building it through an dependency error.

Do anyone have done it before, please guide me how to fix this error.


yocto@yocto-HP:~/YOCTO/poky-dylan-9.0.0/build$ bitbake linphone-image
Loading cache: 100% 
|#|
 ETA:  00:00:00
Loaded 1126 entries from dependency cache.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.04
TARGET_SYS= arm-poky-linux-gnueabi
MACHINE   = qemuarm
DISTRO= poky
DISTRO_VERSION= 1.4
TUNE_FEATURES = armv5 thumb dsp
TARGET_FPU= soft
meta
meta-yocto
meta-yocto-bsp
meta-linphone = unknown:unknown

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libosip2' (but 
/home/yocto/YOCTO/poky-dylan-9.0.0/meta-linphone/recipes-linphone/linphone/linphone_1.6.0.bb
 DEPENDS on or otherwise requires it)
NOTE: Runtime target 'linphone' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['linphone', 'libosip2']
ERROR: Required build target 'linphone-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['linphone-image', 'linphone', 
'libosip2']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
///



Thanks  Regards
Amit K

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Build packages-ssh, telnet, alsa and other package for arm

2013-08-16 Thread Amit Kumar
Hi Raj,
Thanks for the suggestion, I have built the image as 
core-image-base , now I got the ssh, sftp working with my image.
But some more packages I need like- gtk+, I have taken those packages using the 
hob and build the image bitbake core-image-base,
But when I check that image using QEMU the libgtk does not present. I am not 
able to test or run my gtk app in QEMU.

How do I get it in my image. If I build core-image-sato the libgtk present and 
I can test my app, but the image size is too big.
Is there anyway either reduce the image-sato size or include the gtk support in 
core-image-base?


Thanks  Regards
Amit K

From: Khem Raj [mailto:raj.k...@gmail.com]
Sent: Wednesday, August 14, 2013 11:37 AM
To: Amit Kumar
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Build packages-ssh,telnet,alsa and other package for arm


On Aug 13, 2013, at 10:49 PM, Amit Kumar 
amit.ku...@lntinfotech.commailto:amit.ku...@lntinfotech.com wrote:


Hi,

Using the Yocto Project 1.4, I want to build the packages like ssh, 
telnet, alias and other library packages for arm. I am not getting an idea how 
I should have to add those packages in my build environment. I want to build 
them and test, using the QEMU, is that possible? I want to build them for arm.


You can start by building a reference image e.g. core-image-basic and then add 
the packages as you want extra I would encourage to read through the
manual

https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html

especially IMAGE_FEATURES and IMAGE_INSTALL and CORE_IMAGE_EXTRA_INSTALL 
variables.





Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.orgmailto:yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

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


[yocto] Build packages-ssh,telnet,alsa and other package for arm

2013-08-13 Thread Amit Kumar
Hi,

Using the Yocto Project 1.4, I want to build the packages like ssh, 
telnet, alias and other library packages for arm. I am not getting an idea how 
I should have to add those packages in my build environment. I want to build 
them and test, using the QEMU, is that possible? I want to build them for arm.



Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] FW: Regarding offline build

2013-07-25 Thread Amit Kumar
Hi,
 I am still struggling to build the yocto project offline. Please find 
below the details of DL_DIR after the bitbake -c fetchall core-image-minimal 
step.
If anyone have idea about this, please guide me.

Thanks  Regards
Amit K


From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] On Behalf 
Of Amit Kumar [amit.ku...@lntinfotech.com]
Sent: Wednesday, July 24, 2013 10:05 PM
To: Gary Thomas; yocto@yoctoproject.org
Subject: Re: [yocto] FW:  Regarding offline build

 Hi,
   I have tried the steps suggested by Mr. Paul.
 But still i am facing an error to build yocto project offline.
 First - I use the machine that have full Internet access and execute the  - 
 bitbake -c fetchall core-image-minimal Before that i have enabled the DL_DIR 
 in conf/local.conf file.

 One the fetching done, i remove the internet and build the image - bitbake -k 
 core-image-minimal But still i am facing an error, some packages still 
 required internet access during build.

 Please find the attached error log with this mail.
 Please let me know if i missed out any step.

This process should have worked.  What files were in your DL_DIR at
the end of the fetchall step?



  After the end of fetchall step.. the files avaliable under the download 
is -

amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ cd downloads/
backport/debian/  eglibc-2.17/ etc/ git2/licenses/
share/
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$
///

Check again after the build error -


amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build/downloads$ ls
0001-crtstuff.c-USE_PT_GNU_EH_FRAME-Define-for-systems-us.patch.done  
host.conf.done
0001-eglibc-menuconfig-support.patch.done 
hostname.sh.done
0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch.donehosts.done
0001-Fixing-keyboard_force_release.sh-shell-script-path.patch.done
hwclock.sh.done
0001-libffi-update-for-3.0.11.patch.done  
improve_auto_header_gen.patch.done
0001-Makefile.in-vis_hide-gen-hide-list-Do-not-make-defin.patch.done  
inetd.conf.done
0001-man-disable-man-page-generation-because-we-don-t-hav.patch.done  inetd.done
0001-R_ARM_TLS_DTPOFF32.patch.doneinit.done
0002-eglibc-menuconfig-hex-string-options.patch.done  
initgroups_keys.patch.done
0003-eglibc-menuconfig-build-instructions.patch.done  
inittab.done
04-default-is-optimized.patch.done
input.patch.done
05-enable-ctypes-cross-build.patch.done   
inputrc.done
06-ctypes-libffi-fix-configure.patch.done 
install.patch.done
100-uclibc-conf.patch.done
interfaces.done
10-distutils-fix-swig-parameter.patch.done
int-is-not-the-same-size-as-size_t.patch.done
11-distutils-never-modify-shebang-line.patch.done 
IO-acquire-lock-fix.patch.done
12-distutils-prefix-is-inside-staging-area.patch.done issue.done
187b7b1646ee.patch.done   
issue.net.done
200-uclibc-locale.patch.done  
kconfig-frontends-3.8.0.0.tar.xz
203-uclibc-locale-no__x.patch.done
kconfig-frontends-3.8.0.0.tar.xz.done
204-uclibc-locale-wchar_fix.patch.done
ldflags.patch.done
205-uclibc-locale-update.patch.done   
lib-build-fix.patch.done
301-missing-execinfo_h.patch.done 
libcap2_2.22.orig.tar.gz
302-c99-snprintf.patch.done   
libcap2_2.22.orig.tar.gz.done
303-c99-complex-ugly-hack.patch.done  
libffi-3.0.11.tar.gz
304-index_macro.patch.done
libffi-3.0.11.tar.gz.done
305-libmudflap-susv3-legacy.patch.done
libgcc-sjlj-check.patch.done
306-libstdc++-namespace.patch.done
libgcrypt-1.5.0.tar.gz
64bithack.patch.done  
libgcrypt-1.5.0.tar.gz.done
740-sh-pr24836.patch.done 
libgpg-error-1.11.tar.bz2
800-arm-bigendian.patch.done  
libgpg-error-1.11.tar.bz2.done
aarch64-adding-build-support.patch.done   
libiberty_path_fix.patch.done
ac_config_links.patch.done
libmpc_fix_for_automake-1.12.patch.done
acinclude.m4.done

[yocto] FW: Regarding offline build

2013-07-24 Thread Amit Kumar


-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Amit Kumar
Sent: Wednesday, July 24, 2013 8:10 AM
To: Paul Eggleton
Cc: yocto@yoctoproject.org; lee_ball...@dell.com
Subject: Re: [yocto] Regarding offline build

Hi,
 I have tried the steps suggested by Mr. Paul.
But still i am facing an error to build yocto project offline.
First - I use the machine that have full Internet access and execute the  - 
bitbake -c fetchall core-image-minimal Before that i have enabled the DL_DIR in 
conf/local.conf file.

One the fetching done, i remove the internet and build the image - bitbake -k 
core-image-minimal But still i am facing an error, some packages still required 
internet access during build.

Please find the attached error log with this mail.
Please let me know if i missed out any step.


 Thanks  Regards
Amit K



From: Paul Eggleton [paul.eggle...@linux.intel.com]
Sent: Tuesday, July 23, 2013 4:05 PM
To: Amit Kumar
Cc: lee_ball...@dell.com; yocto@yoctoproject.org
Subject: Re: [yocto] Regarding offline build

Amit Kumar wrote:
  To build the Yocot Project offline, i have done the following- [1] 
  Downloaded the Poky-latest.tar.bz2 [2] Untar it. and enter the 
  poky dir.
  [3] execute the - source oe-init-build-env [4] edit the 
  conf/local.conf file as per ur suggesion.
  [5] Build the image - bitbake core-image-minimal
 
  But still i am getting an error-
  To have to look into the error plz find the attached error log-

The missing step is you haven't populated DL_DIR (defaults to downloads/ under 
the build directory) with files that would normally be downloaded by the 
system, so it is attempting to download them and stopping because BB_NO_NETWORK 
is set, hence:

| ERROR: Function failed: Network access disabled through BB_NO_NETWORK

The easiest thing to do is to go to a machine that does have full internet 
access, untar poky, source oe-init-build-env and then run:

 bitbake -c fetchall imagename

Then copy the contents of DL_DIR to the machine without network access and you 
should be ready to go.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ bitbake -c fetchall 
core-image-minimal
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% 
|##|
 Time: 00:02:58
Parsing of 813 .bb files complete (0 cached, 813 parsed). 1120 targets, 27 
skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.10
TARGET_SYS= i586-poky-linux
MACHINE   = qemux86
DISTRO= poky
DISTRO_VERSION= 1.4.1
TUNE_FEATURES = m32 i586
TARGET_FPU= 
meta  
meta-yocto
meta-yocto-bsp= unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be rerun and 
all succeeded.
Loading cache: 100% 
||
 ETA:  00:00:00
Loaded 1121 entries from dependency cache.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.10
TARGET_SYS= i586-poky-linux
MACHINE   = qemux86
DISTRO= poky
DISTRO_VERSION= 1.4.1
TUNE_FEATURES = m32 i586
TARGET_FPU= 
meta  
meta-yocto
meta-yocto-bsp= unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://www.zlib.net/zlib-1.2.7.tar.bz2, attempting 
MIRRORS if available
WARNING: Failed to fetch URL 
http://www.apache.org/dist/apr/apr-util-1.5.1.tar.gz, attempting MIRRORS if 
available
WARNING: Failed to fetch URL 
http://www.apache.org/dist/subversion/subversion-1.7.8.tar.bz2, attempting 
MIRRORS if available
NOTE: Tasks Summary: Attempted 282 tasks of which 59 didn't need to be rerun 
and all succeeded.

Summary: There were 3 WARNING messages shown.
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ vim conf

Re: [yocto] FW: Regarding offline build

2013-07-24 Thread Amit Kumar
  
sysvinit-2.88dsf.tar.bz2
git2_git.gnome.org.gtk-doc-stub.tar.gz
sysvinit-2.88dsf.tar.bz2.done
git2_git.gnome.org.gtk-doc-stub.tar.gz.done   
testsuite-du-du-k-works-fix-false-positive.patch.done
git2_github.com.philb.update-rc.d.git.tar.gz  
tic-hang.patch.done
git2_github.com.philb.update-rc.d.git.tar.gz.done 
tinylogin-1.4.tar.bz2
git2_git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.tar.gz 
tinylogin-1.4.tar.bz2.done
git2_git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.tar.gz.done
trailingslash.patch.done
git2_git.yoctoproject.org.linux-yocto-3.8.git.tar.gz  
trunk_opkg.googlecode.com_.svn_649_.tar.gz
git2_git.yoctoproject.org.linux-yocto-3.8.git.tar.gz.done 
trunk_opkg.googlecode.com_.svn_649_.tar.gz.done
git2_git.yoctoproject.org.yocto-kernel-tools.git.tar.gz   
tzselect-awk.patch.done
git2_git.yoctoproject.org.yocto-kernel-tools.git.tar.gz.done  
tzselect-sh.patch.done
glib-2.0_fix_for_x32.patch.done   
uclibc-__progname-conflict.patch.done
glib-2.34.3.tar.xz
udev-182.tar.gz
glib-2.34.3.tar.xz.done   
udev-182.tar.gz.done
glibc_crypt_fix.patch.done
udev-cache.default.done
GLIBC_DYNAMIC_LINKER.patch.done   
udev-cache.done
glibc.fix_sqrt2.patch.done
udev.rules.done
glibconfig-sysdefs.h.done 
umount.busybox.done
glib-gettextize-dir.patch.done
umountfs.done
GLRO_dl_debug_mask.patch.done 
umountnfs.sh.done
gmp-5.1.0a.tar.bz2
unifdef.c.done
gmp-5.1.0a.tar.bz2.done   
uninstall_force.patch.done
gmp_fix_for_x32.patch.done
unixccompiler.patch.done
gnu-config-20120814.tar.bz2   
urandom.done
gnu-config-20120814.tar.bz2.done  usbd.done
gnu-configize.in.done 
usb-devices-avoid-dependency-on-bash.patch.done
gnutls-2.12.21.tar.bz2
usbutils-006.tar.gz
gnutls-2.12.21.tar.bz2.done   
usbutils-006.tar.gz.done
gnutls_fix_for_automake_1.12.1.patch.done 
use-defaults.h-and-t-oe-in-B.patch.done
gnutls-openssl.patch.done 
use-includedir.patch.done
gperf-3.0.4.tar.gz
use-ml-conf-files-from-B.patch.done
gperf-3.0.4.tar.gz.done   
use_O2_option.patch.done
GPLv2.patch.done  
use-sysroot-in-libpath.patch.done
guess-fix.patch.done  
util-linux-2.22.2.tar.bz2
guilt_0.33.orig.tar.gz
util-linux-2.22.2.tar.bz2.done
guilt_0.33.orig.tar.gz.done   
util-linux-ng-2.16-mount_lock_path.patch.done
guilt-bash.patch.done 
util-linux-ng-replace-siginterrupt.patch.done
guilt-import-commit.patch.done
v86d-0.1.10.tar.bz2
guilt-init.patch.done 
v86d-0.1.10.tar.bz2.done
guilt.patch.done  
volatiles.done
guilt-pop.patch.done  
watch.in.usr-bin.patch.done
guilt-push-no-series.patch.done   
wcast-qual-PR55383.patch.done
guilt-push.patch.done 
wget_dl_dir_fix.patch.done
guilt-update-supported-git-versions-to-1.8.x.patch.done   
zlib-1.2.7.tar.bz2
halt.done 
zlib-1.2.7.tar.bz2.done
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build/downloads$






From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] On Behalf 
Of Gary Thomas [g...@mlbassoc.com]
Sent: Wednesday, July 24, 2013 7:17 PM
To: yocto@yoctoproject.org
Subject: Re: [yocto] FW:  Regarding offline build

On 2013-07-24 06:48, Amit Kumar wrote:


 -Original Message-
 From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] 
 On Behalf Of Amit Kumar
 Sent: Wednesday, July 24, 2013 8:10 AM
 To: Paul

Re: [yocto] Regarding offline build

2013-07-23 Thread Amit Kumar
Hi Mr. Lee
Thanks for replay and suggesion to build Yocoto project offline.
To build the Yocot Project offline, i have done the following-
[1] Downloaded the Poky-latest.tar.bz2
[2] Untar it. and enter the poky dir.
[3] execute the - source oe-init-build-env
[4] edit the conf/local.conf file as per ur suggesion.
[5] Build the image - bitbake core-image-minimal

But still i am getting an error- 
To have to look into the error plz find the attached error log- 



If u have any idea about that error but guide me to fix it.


Thnaks  Regards
Amit K


From: lee_ball...@dell.com [lee_ball...@dell.com]
Sent: Monday, July 22, 2013 7:49 PM
To: Amit Kumar; yocto@yoctoproject.org
Subject: RE: Regarding offline build

Here are the lines in our local.conf that make it work.  If you want you can 
use a local http mirror instead of file.

DL_DIR ?= ${TOPDIR}/tmp/downloads-keepout
SSTATE_DIR ?= ${TOPDIR}/sstate-cache

# we build on isolated network, so disable all network access
#don't really disable all network, as we need network to do sstate
BB_NO_NETWORK = 0
INHERIT += own-mirrors
SOURCE_MIRROR_URL ?= file://${TOPDIR}/../sources/
BB_GENERATE_MIRROR_TARBALLS = 1
BB_FETCH_PREMIRRORONLY = 1
CONNECTIVITY_CHECK_URIS=
DISABLE_NETWORK_SANITY = 1

From: Amit Kumar [mailto:amit.ku...@lntinfotech.com]
Sent: Sunday, July 21, 2013 11:44 PM
To: Ballard, Lee; yocto@yoctoproject.org
Subject: RE: Regarding offline build

Hi Mr. Lee,
Thanks for replay.
I have still doubt to build offline. I have downloaded all the tar files, now 
what I should have to do? Do I need to modify all the *.bb files.
Do you have any example to build it offline.

I wants to build the MCSDK uses the Yocto Project. So for that I have download 
the mcsdk tar ball, which gives me all tar balls.
Now I am not getting how to process to build Yocto project.

If you have any idea please let me know.

Thanks  regards
Amit K


From: lee_ball...@dell.commailto:lee_ball...@dell.com 
[mailto:lee_ball...@dell.com]
Sent: Tuesday, July 16, 2013 7:58 PM
To: Amit Kumar; yocto@yoctoproject.orgmailto:yocto@yoctoproject.org
Subject: RE: Regarding offline build

We do offline builds.  You need to download all the tar balls for all the open 
source recipes you build, or you can download pre-build images and SDK.  
Another way is to create a local mirror of all the tar balls you need.

Lee Ballard
Platform Software Principal Engineer
Dell | Enterprise Product Group


From: yocto-boun...@yoctoproject.orgmailto:yocto-boun...@yoctoproject.org 
[mailto:yocto-boun...@yoctoproject.org] On Behalf Of Amit Kumar
Sent: Tuesday, July 16, 2013 6:22 AM
To: yocto@yoctoproject.orgmailto:yocto@yoctoproject.org
Subject: [yocto] Regarding offline build

Hi,
I have quarry regarding the Yocto Project build offline.
Is that possible to build the Yocto Project with internet access?
I have download the poky-latest.tar.bz2, now I wants to build it 
independently without having internet connection.
Do I need to download any other packages also to build it offline?



Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail

Untitled 1.odt
Description: Untitled 1.odt
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Regarding offline build

2013-07-23 Thread Amit Kumar
Hi,
Please find the error log in text format.



-Original Message-
From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com]
Sent: Tuesday, July 23, 2013 3:21 PM
To: Amit Kumar
Cc: lee_ball...@dell.com; yocto@yoctoproject.org
Subject: Re: [yocto] Regarding offline build

On Tuesday 23 July 2013 12:11:33 Amit Kumar wrote:
 Hi Mr. Lee
 Thanks for replay and suggesion to build Yocoto project offline.
 To build the Yocot Project offline, i have done the following- [1]
 Downloaded the Poky-latest.tar.bz2 [2] Untar it. and enter the poky
 dir.
 [3] execute the - source oe-init-build-env [4] edit the
 conf/local.conf file as per ur suggesion.
 [5] Build the image - bitbake core-image-minimal

 But still i am getting an error-
 To have to look into the error plz find the attached error log-



 If u have any idea about that error but guide me to fix it.

Amit, sorry to be a pain but would you mind attaching the error report as a 
plain text file rather than a word processing document?

Thanks,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
user@INFBA01401:~/Amitk/YOCTO/poky-dylan-9.0.1/build$ bitbake 
core-image-minimal Pseudo is not present but is required, building this first 
before the main build Loading cache: 100% 
|#| ETA:  
00:00:00 Loaded 1121 entries from dependency cache.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.04
TARGET_SYS= i586-poky-linux
MACHINE   = qemux86
DISTRO= poky
DISTRO_VERSION= 1.4.1
TUNE_FEATURES = m32 i586
TARGET_FPU= 
meta
meta-yocto
meta-yocto-bsp= unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: Network access disabled through BB_NO_NETWORK but 
access requested with command /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp 
--no-check-certificate -P /home/user/Amitk/YOCTO/poky-dylan-9.0.1/downloads 
'http://download.savannah.gnu.org/releases/quilt/quilt-0.60.tar.gz' (for url 
None)
ERROR: Logfile of failure stored in: 
/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/tmp/work/i686-linux/quilt-native/0.60-r0/temp/log.do_fetch.13432
Log data follows:
| DEBUG: Executing python function do_fetch
| DEBUG: Executing python function base_do_fetch
| DEBUG: Trying PREMIRRORS
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['cvs', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['svn', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['git', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['hg', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['bzr', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['svk', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['p4', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http', 'download.savannah.gnu.org', 
| '/releases/quilt/quilt-0.60.tar.gz', '', '', {}] comparing ['osc', 
| '.*', '/.*', '', '', {}] to ['file', '', 
| '/home/user/Amitk/YOCTO/poky-dylan-9.0.1/build/../sources/', '', '', 
| {}]
| DEBUG: For url ['http

Re: [yocto] Regarding offline build

2013-07-23 Thread Amit Kumar
Hi,
 I have tried the steps suggested by Mr. Paul.
But still i am facing an error to build yocto project offline.
First - I use the machine that have full Internet access and execute the  - 
bitbake -c fetchall core-image-minimal
Before that i have enabled the DL_DIR in conf/local.conf file.

One the fetching done, i remove the internet and build the image - bitbake -k 
core-image-minimal
But still i am facing an error, some packages still required internet access 
during build.

Please find the attached error log with this mail.
Please let me know if i missed out any step.


 Thanks  Regards
Amit K



From: Paul Eggleton [paul.eggle...@linux.intel.com]
Sent: Tuesday, July 23, 2013 4:05 PM
To: Amit Kumar
Cc: lee_ball...@dell.com; yocto@yoctoproject.org
Subject: Re: [yocto] Regarding offline build

Amit Kumar wrote:
  To build the Yocot Project offline, i have done the following-
  [1] Downloaded the Poky-latest.tar.bz2
  [2] Untar it. and enter the poky
  dir.
  [3] execute the - source oe-init-build-env
  [4] edit the
  conf/local.conf file as per ur suggesion.
  [5] Build the image - bitbake core-image-minimal
 
  But still i am getting an error-
  To have to look into the error plz find the attached error log-

The missing step is you haven't populated DL_DIR (defaults to downloads/ under
the build directory) with files that would normally be downloaded by the
system, so it is attempting to download them and stopping because
BB_NO_NETWORK is set, hence:

| ERROR: Function failed: Network access disabled through BB_NO_NETWORK

The easiest thing to do is to go to a machine that does have full internet
access, untar poky, source oe-init-build-env and then run:

 bitbake -c fetchall imagename

Then copy the contents of DL_DIR to the machine without network access and you
should be ready to go.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre

The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and  
using or disseminating the information,  and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ bitbake -c fetchall 
core-image-minimal
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% 
|##|
 Time: 00:02:58
Parsing of 813 .bb files complete (0 cached, 813 parsed). 1120 targets, 27 
skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.10
TARGET_SYS= i586-poky-linux
MACHINE   = qemux86
DISTRO= poky
DISTRO_VERSION= 1.4.1
TUNE_FEATURES = m32 i586
TARGET_FPU= 
meta  
meta-yocto
meta-yocto-bsp= unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be rerun and 
all succeeded.
Loading cache: 100% 
||
 ETA:  00:00:00
Loaded 1121 entries from dependency cache.

Build Configuration:
BB_VERSION= 1.18.0
BUILD_SYS = i686-linux
NATIVELSBSTRING   = Ubuntu-12.10
TARGET_SYS= i586-poky-linux
MACHINE   = qemux86
DISTRO= poky
DISTRO_VERSION= 1.4.1
TUNE_FEATURES = m32 i586
TARGET_FPU= 
meta  
meta-yocto
meta-yocto-bsp= unknown:unknown

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://www.zlib.net/zlib-1.2.7.tar.bz2, attempting 
MIRRORS if available
WARNING: Failed to fetch URL 
http://www.apache.org/dist/apr/apr-util-1.5.1.tar.gz, attempting MIRRORS if 
available
WARNING: Failed to fetch URL 
http://www.apache.org/dist/subversion/subversion-1.7.8.tar.bz2, attempting 
MIRRORS if available
NOTE: Tasks Summary: Attempted 282 tasks of which 59 didn't need to be rerun 
and all succeeded.

Summary: There were 3 WARNING messages shown.
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ vim conf/local.conf 
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ 
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ cd downloads/
backport/debian/  eglibc-2.17/ etc/ git2/licenses/
share/   
amit@amit-HP:~/Downloads/poky-dylan-9.0.1/build$ cd downloads/^C
amit@amit-HP

Re: [yocto] Arago project image fail to run in QEMU

2013-07-21 Thread amit kumar
Hi Sudhangathan
Thanks for replay.
So i have to build a separate image to run under the QEMU, for that do i
need to build it with my yocto project build environment with adding the
layers.
Or do i need to use the same build environment and just change the
local.conf file?
Keystone-II is a arm processor.


Thanks  Regards
Amit K





On Sat, Jul 20, 2013 at 8:41 AM, Sudhangathan BS sudhangat...@gmail.comwrote:

 Hi Amit,

 You have to build separate images to be run on qemu.. You have to set it
 in your local.conf file.. i.e. u have to change your build-target..

 Images built to run on hardware cannot be run on qemu right now..

 Virtualization is only available upto processor level, and not the
 complete hardware...!

 Which processor is keystone-II using..?

 Best,
 Sudhangathan B S


 amit kumar kumaramit...@gmail.com wrote:


 Hi,

 I have built the Arago project for keystone-II successfully. The images
 are available under the deploy/Images dir.

 I have already added my module into the kernel and recompiled the kernel
 image.



 Now my doubt is before putting the image on actual hardware I want to run
 it on QEMU. Is it possible to run the built images on QEMU?

 I tried to run using the following command but getting an error-


  /**/

 amit@amit-HP:~/OE/MCSDK/mcsdk/build$ runqemu
 arago-tmp-external-linaro-toolchain/deploy/images/uImage-keystone-evm.bin
 arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi
 Error: unknown file arg
 [arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi]

 Usage: you can run this script with any valid combination
 of the following options (in any order):
   QEMUARCH - the qemu machine architecture to use
   KERNEL - the kernel image file to use
   ROOTFS - the rootfs image file or nfsroot directory to use
   MACHINE - the machine name (optional, autodetected from KERNEL filename
 if unspecified)
   RAMFS - boot a ramfs-based image
   Simplified QEMU command-line options can be passed with:
 nographic - disables video console
 serial - enables a serial console on /dev/ttyS0
 kvm - enables KVM when running qemux86/qemux86-64 (VT-capable CPU
 required)
   qemuparams=xyz - specify custom parameters to QEMU
   bootparams=xyz - specify custom kernel parameters during boot

 Examples:
   runqemu qemuarm
   runqemu qemux86-64 core-image-sato ext3
   runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
   runqemu qemux86 ramfs
   runqemu qemux86 qemuparams=-m 256
   runqemu qemux86 bootparams=psplash=false
 amit@amit-HP:~/OE/MCSDK/mcsdk/build$

 /**/

 The build step I followed from the arago project build link-

 http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment;


 Please let me know if I have to do something else to run the image under
 QEMU.

 --
 Thanks  Regards
 Amit Kumar

 --

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


 --
 Sent from Kaiten Mail. Please excuse my brevity.




-- 
Thanks  Regards
Amit Kumar
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Arago project image fail to run in QEMU

2013-07-19 Thread amit kumar
Hi,

I have built the Arago project for keystone-II successfully. The images are
available under the deploy/Images dir.

I have already added my module into the kernel and recompiled the kernel
image.



Now my doubt is before putting the image on actual hardware I want to run
it on QEMU. Is it possible to run the built images on QEMU?

I tried to run using the following command but getting an error-


/**/

amit@amit-HP:~/OE/MCSDK/mcsdk/build$ runqemu
arago-tmp-external-linaro-toolchain/deploy/images/uImage-keystone-evm.bin
arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi
Error: unknown file arg
[arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi]

Usage: you can run this script with any valid combination
of the following options (in any order):
  QEMUARCH - the qemu machine architecture to use
  KERNEL - the kernel image file to use
  ROOTFS - the rootfs image file or nfsroot directory to use
  MACHINE - the machine name (optional, autodetected from KERNEL filename
if unspecified)
  RAMFS - boot a ramfs-based image
  Simplified QEMU command-line options can be passed with:
nographic - disables video console
serial - enables a serial console on /dev/ttyS0
kvm - enables KVM when running qemux86/qemux86-64 (VT-capable CPU
required)
  qemuparams=xyz - specify custom parameters to QEMU
  bootparams=xyz - specify custom kernel parameters during boot

Examples:
  runqemu qemuarm
  runqemu qemux86-64 core-image-sato ext3
  runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
  runqemu qemux86 ramfs
  runqemu qemux86 qemuparams=-m 256
  runqemu qemux86 bootparams=psplash=false
amit@amit-HP:~/OE/MCSDK/mcsdk/build$

/**/

The build step I followed from the arago project build link-

http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment;


Please let me know if I have to do something else to run the image under
QEMU.

-- 
Thanks  Regards
Amit Kumar
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Regarding offline build

2013-07-16 Thread Amit Kumar
Hi,
I have quarry regarding the Yocto Project build offline.
Is that possible to build the Yocto Project with internet access?
I have download the poky-latest.tar.bz2, now I wants to build it 
independently without having internet connection.
Do I need to download any other packages also to build it offline?



Thanks  Regards
Amit K


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto-1.4 Build error.

2013-07-15 Thread Amit Kumar
Hi,

I am facing an error to build the fresh Yocto Project default disto 
Poky.

I am using the following steps:

[1] Ubuntu-12.04

[2] Install the required packages.

[3] Download the latest yocto-1.4 release, poky-9.0.1.tar.bz2 [4] untar it - 
tar xvjf poky-9.0.1.tar.bz2

[5] cd poky.9.0.1

[6] source oe-init-build-env

[7] bitbake -k core-image-minimal



I am getting the following error: -





user@INFBA01401:~/Amitk/YOCTO/poky-dylan-9.0.1/build$mailto:user@INFBA01401:~/Amitk/YOCTO/poky-dylan-9.0.1/build$
 bitbake -k core-image-sato Pseudo is not present but is required, building 
this first before the main build

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 
user@INFBA01401:~/Amitk/YOCTO/poky-dylan-9.0.1/build$mailto:user@INFBA01401:~/Amitk/YOCTO/poky-dylan-9.0.1/build$





Do anyone have faced this error before, please guide me for the same?





Thanks

Amit K



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Error to Build Arago Yocto Project

2013-07-11 Thread Amit Kumar
Hi,
I am building the Arago Yocto Project first time. I have follow the 
steps given in the Arago Project link -
http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment#Detailed_Setup

Error Log is -

amit@amit-HP:~/tisdk/build$ MACHINE=am335x-evm bitbake core-image-minimal
Pseudo is not present but is required, building this first before the main build
ERROR: Unable to parse 
/home/amit/tisdk/sources/meta-arago/meta-arago-extras/recipes-qt/qt4/qt4-embedded-gles_4.8.4.bbhttp://qt4-embedded-gles_4.8.4.bb
   | ETA:  --:--:--
Traceback (most recent call last):
  File /home/amit/tisdk/sources/bitbake/lib/bb/parse/parse_py/ConfHandler.py, 
line 68, in 
include(oldfn='/home/amit/tisdk/sources/meta-arago/meta-arago-extras/recipes-qt/qt4/qt4-embedded-gles_4.8.4.bbhttp://qt4-embedded-gles_4.8.4.bb',
 fn='/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc', 
lineno=1, data=bb.data_smart.DataSmart object at 0xa14f12c, 
error_out='include required'):
 try:
ret = handle(fn, data, True)
 except IOError:
  File /home/amit/tisdk/sources/bitbake/lib/bb/parse/__init__.py, line 90, in 
handle(fn='/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc', 
data=bb.data_smart.DataSmart object at 0xa14f12c, include=True):
 if h['supports'](fn, data):
return h['handle'](fn, data, include)
 raise ParseError(not a BitBake file, fn)
  File /home/amit/tisdk/sources/bitbake/lib/bb/parse/parse_py/BBHandler.py, 
line 142, in 
handle(fn='/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc', 
d=bb.data_smart.DataSmart object at 0xa14f12c, include=True):
 if include:
bb.parse.mark_dependency(d, abs_fn)

  File /home/amit/tisdk/sources/bitbake/lib/bb/parse/__init__.py, line 76, in 
mark_dependency(d=bb.data_smart.DataSmart object at 0xa14f12c, 
f='/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc'):
 f = %s/%s % (os.getcwd(), f[2:])
deps = (d.getVar('__depends') or []) + [(f, cached_mtime(f))]
 d.setVar('__depends', deps)
  File /home/amit/tisdk/sources/bitbake/lib/bb/parse/__init__.py, line 58, in 
cached_mtime(f='/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc'):
 if f not in __mtime_cache:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
 return __mtime_cache[f]
OSError: [Errno 2] No such file or directory: 
'/home/amit/tisdk/sources/oe-core/meta/recipes-qt/qt4/qt4-4.8.4.inc'

ERROR: Command execution failed: Exited with 1

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
amit@amit-HP:~/tisdk/build$ cd ../sources/oe-core/meta/recipes-qt/


Is anybody have faced the same error or anybody know the reason of this error?
Please help me out for the same.


Thanks
AmitK



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto