[linux-yocto] yocto-layer vs bsp-layer : criteria of choice of approach toward a custom image
New B
newbnz at yahoo.com
Mon Mar 31 16:27:17 PDT 2014
Hi,
I am v new to yocto; read most of the doc'n and skimmed through the rest. I git cloned the dora branch, tag yocto 1.5.1 final
Here are my questions:
1- how come yocto-bsp tool wont work except when invoked within the poky/build dir though e doc'n implies that new layers should be at the top level within the source directory? Does it even make sense to create the bsp layer in a disposable directory that is not part of the repo?
2- ditto for hob?
My task is to build an arm8 linux image, where the specific board has not yet been designed (because of stuff i signed, i can only share that the image is being used as an element into modeling what the board should look like). So:
3- how do you decide the approach you take in building custom image?
A- Do i build a64-bit arm8 linux distro using "yocto-layer create" and add within it a conf/machine? Example?
B- Do i build a64-bit arm8 bsp layer using "yocto-bsp create" and add within it a conf/recipes-kernel ? Example?
And yes: i looked at linaro but it is too deep and too wide/versatile for my needs, that I feel it is more productive to properly understand the build system and the right fundamentals/philosophies and do things as simplistically as possible.
Much Appreciated ...
Sent from my iPad
> On Mar 31, 2014, at 10:44 AM, Maroua Ben <ben_attia_maroua at hotmail.fr> wrote:
>
> Hello,
>
> i installed yocto with Lttng in pandaboard ES REV B1, but i could not have syscall events.
>
> steps:
>
> $ git clone git://git.yoctoproject.org/poky.git -b dora$ cd poky
> $ git clone http://git.yoctoproject.org/git/meta-ti
> $ git clone https://github.com/openembedded/meta-oe.git
> $source oe-init-build-env pandaboard
>
> i added BB_NUMBER_THREADS ?= "4" PARALLEL_MAKE ?= "-j 4" MACHINE ?= "pandaboard" to local.conf
> also CORE_IMAGE_EXTRA_INSTALL = "lttng-ust lttng-modules lttng-tools "
>
> $ time bitbake core-image-sato
> $ wget http://jcrom.net/release/yocto/mksdcard_panda_yocto.sh
> $ LANG=C sudo ./mksdcard_panda_yocto.sh /dev/sdb
>
>
> Thanks,
> --
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20140331/ab4c2637/attachment.html>
More information about the linux-yocto
mailing list