[meta-xilinx] Building linux-yocto

SMITH Peter T peter.t.smith at alstom.com
Mon May 18 02:22:24 PDT 2015


Nathan,

Yes that was indeed the error message. All is well now after deleting the tmp directory.

Peter

-----Original Message-----
From: Nathan Rossi [mailto:nathan at nathanrossi.com]
Sent: 13 May 2015 03:24
To: SMITH Peter T
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] Building linux-yocto

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

________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.


More information about the meta-xilinx mailing list