[meta-xilinx] Building linux-yocto

Nathan Rossi nathan at nathanrossi.com
Tue May 12 19:24:15 PDT 2015


On Wed, May 13, 2015 at 12:11 AM, SMITH Peter T
<peter.t.smith at alstom.com> wrote:
> Hi All,
>
>
>
> I am new to Yocto and wish to build the linux-yocto kernel for my ZC702. I
> understood from reading various posts that I need to
>
>
>
> 1)      Set MACHINE to zc702-zynq7 in local.conf
>
> 2)      Set PREFERRED_PROVIDER_virtual/kernel to "linux-yocto" in local.conf
>
> 3)      Set PREFERRED_VERSION_linux-yocto = "3.19%" in local.conf
>
>
>
> However when I did this after building the automatically selected kernel for
> Zynq i.e. I did not add 2) and 3) to my local.conf I got a shed load of
> errors. Sorry but I have accidentally lost the error output (my bad). Can
> someone confirm that this is the correct way to select and build
> linux-yocto.

The configured you have is correct to build the linux-yocto_3.19
kernel. Without seeing the error output I can only guess as to the
error you are seeing.

It is likely to be the error that refers to shared install files being
provided by two sources
(https://github.com/openembedded/openembedded-core/blob/master/meta/classes/sstate.bbclass#L198).
If that is the message you are seeing the simplest way to resolve it
is to delete your 'tmp' directory and rebuild your image (which will
be quick as it will populate from shared state cache). This occurs
because you have built the linux-xlnx kernel first.

Regards,
Nathan



More information about the meta-xilinx mailing list