[yocto] Detailed steps involved in populate_sdk

2014-05-30 Thread Anooj Gopi
Hello,

I am new to yocto project and learning about the project step by step for 
one of our project.

For study purpose, I'm currently using the latest yocto git clone and 
built "bitbake core-image-minimal" successfully for "beaglebone". I have 
got all the target images to boot. At this point I assume that all the 
native tool chain binaries required to build the target image is already 
generated by yocto.

Now when I try to create the SDK with the command "bitbake 
core-image-minimal -c populate_sdk", I can see there is again native 
packages being configured and compiled. As per my understanding about 
yocto I was expecting this would have already done during "bitbake 
core-image-minimal" because all these tools are required to build the 
images. In my understanding populate_sdk would just install the "native 
package deb files" already created during "bitbake core-image-minimal". I 
know there is something wrong in my understanding. Could you please 
explain bit in detail.

Best Regards,
Anooj Gopi


Alpine Electronics R&D Europe GmbH, Vor dem Lauch 14, 70567 Stuttgart,
Registergericht Stuttgart, HRB 25265
Geschaeftsfuehrer: Satoshi Soma, Shuji Taguchi 
Working office: Vor dem Lauch 14, 70567 Stuttgart-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-05-30 Thread Kashyap Gada
Thank You. I did the following and it worked.

First Found the drive using

$ sudo fdisk -l

Then Selected the desired drive and create a directory in the /mnt path

$ sudo mkdir hda

Now Mount the sda5(can be different for you)

$ sudo mount -t auto -v /dev/sda5 /mnt/hda

after the work is done can unmount using

sudo unmount /dev/sda5 (not checked this part yet)

Thanks
Kashyap Gada
smartsys india
gada(.)kashyap(@)gmail(.)com

$sudo mount -t


On Fri, May 30, 2014 at 4:40 PM, Burton, Ross  wrote:

> On 30 May 2014 05:06, Kashyap Gada  wrote:
> >> bash:
> >> /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
> >> Permission denied
>
> You appear to be running Yocto on external media and your system has
> likely mounted it with the "noexec" flags to prevent malicious
> programs.  You'll want to remount it with the "exec" flag, using mount
> -o exec,remount /media/kashyap/3E0800DC08009555 should do the trick.
>
> Ross
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to leave original git remote in unpacked repository?

2014-05-30 Thread Alex J Lennon
Hi,

When I drop into a devshell for an unpacked SRV_REV from a particular
git SRC_URI I have the git remote origin set to a local archive in the
~/downloads tree.

Is there a build variable, say, I can set to leave the original git
remote set as well so that I can more easily push back changes I make?

(Or is that a bad idea for some reason?)

Thanks,

Alex

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


Re: [yocto] Source Command Permission Denied

2014-05-30 Thread Burton, Ross
On 30 May 2014 05:06, Kashyap Gada  wrote:
>> bash:
>> /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
>> Permission denied

You appear to be running Yocto on external media and your system has
likely mounted it with the "noexec" flags to prevent malicious
programs.  You'll want to remount it with the "exec" flag, using mount
-o exec,remount /media/kashyap/3E0800DC08009555 should do the trick.

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


Re: [yocto] [OE-core] [Repo Issue] x264: Unable to find revision

2014-05-30 Thread Paul Eggleton
Hi Hui Qing,

On Friday 30 May 2014 09:44:31 Chong, Hui Qing wrote:
> Hi, I am working on Yocto Project 1.6, Daisy branch. Previously I am able to
> build the image successfully, but now I have errors as follow:
> 
> ERROR: Fetcher failure: Unable to find revision
> 585324fee380109acd9986388f857f413a60b896 in branch master even from
> upstream ERROR: Function failed: Fetcher failure for URL:
> 'git://git.videolan.org/x264.git'. Unable to fetch URL from any source.
> 
> In the x264_git.bb file, the SRC_URI and SRCREV are:
> 
> SRC_URI = "git://git.videolan.org/x264.git \
>   file://don-t-default-to-cortex-a9-with-neon.patch \
>   "
> SRCREV = "585324fee380109acd9986388f857f413a60b896"
> 
> Does anyone notice this and is there any solution for this error? Thank you.

Yes, there is a patch here:

http://patchwork.openembedded.org/patch/72933/

It should be merged fairly soon I would think, but in the mean time you can 
apply it locally.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [Repo Issue] x264: Unable to find revision

2014-05-30 Thread Chong, Hui Qing
Hi, I am working on Yocto Project 1.6, Daisy branch. Previously I am able to 
build the image successfully, but now I have errors as follow:

ERROR: Fetcher failure: Unable to find revision 
585324fee380109acd9986388f857f413a60b896 in branch master even from upstream
ERROR: Function failed: Fetcher failure for URL: 
'git://git.videolan.org/x264.git'. Unable to fetch URL from any source.

In the x264_git.bb file, the SRC_URI and SRCREV are:

SRC_URI = "git://git.videolan.org/x264.git \
file://don-t-default-to-cortex-a9-with-neon.patch \
"
SRCREV = "585324fee380109acd9986388f857f413a60b896"

Does anyone notice this and is there any solution for this error? Thank you.

Regards,
Hui Qing

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