[yocto] remaining comments on current BSP developers guide
Tom Zanussi
tom.zanussi at intel.com
Mon Apr 22 09:14:40 PDT 2013
On Mon, 2013-04-22 at 12:00 -0400, Robert P. J. Day wrote:
> (again, someone up the food chain can decide what's worth
> processing.)
>
Thanks for all your comments - I'll submit some patches to the docs when
I get a chance, but see below..
> 1.6.1 Common Features
>
> * "Both tools [yocto-bsp and yocto-kernel] reside in the scripts/
> subdirectory of the Source Directory." no, they don't, they're in
> meta-yocto/scripts/, so simply sourcing oe-init-build-env isn't
> sufficient to add them to the search path, is it? (i'm guessing it
> used to be, but no longer.)
>
Not sure what you're looking at to see that. This is what I have:
[trz at empanada dylan-cur]$ pwd
/home/trz/yocto/dylan-cur
[trz at empanada dylan-cur]$ ls
bitbake LICENSE meta-intel meta-yocto-bsp README
build meta meta-skeleton oe-init-build-env README.hardware
documentation meta-hob meta-yocto poky-extras scripts
[trz at empanada dylan-cur]$ ls -al meta-yocto
total 24
drwxrwxr-x. 6 trz trz 4096 Apr 17 11:31 .
drwxrwxr-x. 14 trz trz 4096 Apr 17 14:20 ..
drwxrwxr-x. 2 trz trz 4096 Apr 17 11:31 classes
drwxrwxr-x. 3 trz trz 4096 Apr 17 11:31 conf
drwxrwxr-x. 5 trz trz 4096 Apr 17 11:31 recipes-core
drwxrwxr-x. 3 trz trz 4096 Apr 17 11:31 recipes-kernel
[trz at empanada dylan-cur]$ ls -al scripts/yocto*
-rwxrwxr-x. 1 trz trz 5302 Apr 17 11:31 scripts/yocto-bsp
-rwxrwxr-x. 1 trz trz 12957 Apr 17 11:31 scripts/yocto-kernel
-rwxrwxr-x. 1 trz trz 4840 Apr 17 11:31 scripts/yocto-layer
No scripts/ in meta-yocto, etc. So things should work as expected with
sourcing oe-init-build-env, etc.
> 1.6.2 Creating a new BSP Layer ...
>
> $ yocto-bsp list karch
> Architectures available:
> qemu
> x86_64
> i386
> powerpc
> arm
> mips
>
> but if you run that, you get the additional arch "layer". where's
> that coming from? is it a holdover from before there was a yocto-layer
> command? i never noticed that before now.
>
Right, that's a bug - 'layer' does come from the new yocto-layer command
and shouldn't be there..
> * "Assuming you have sourced the environment ..." Again, you don't get
> these utilities in your PATH by sourcing the environment, you need to
> do that manually.
>
See above..
Tom
> * "...pressing enter and providing an invalid response..." um, what is
> that supposed to say?
>
> * Point 6. Do you actually need to include the meta-yocto and
> meta-yocto-bsp layers in this new layer's bblayers.conf file? I don't
> see why but maybe I'm missing something obvious.
>
> * also, typo "BBLAYERS = ?"
>
> i think that's everything.
>
> rday
>
More information about the yocto
mailing list