UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
6,718 Views
Registered: ‎09-19-2014

Latest Linux 3.17 kernel with OpenEmbedded/Yocto

I'm currently building my Linux system using the OpenEmbedded linux-xlnx_3.14 recipe in the meta-xilinx layer.

I've noticed that SDK 2014.4 produces a somewhat different device tree to previous versions, which I assume has to do with the newer 2014.4 now using kernel version 3.17 instead of 3.14.

 

1. What is the closest recipe that PetaLinux 2014.4 is based off?

The figure 1 here seems to show meta-xilinx and PetaLinux draw from the same sources, but PetaLinux isn't exactly derived directly from meta-xilinx recipes: http://www.wiki.xilinx.com/Linux

These are the current list of kernel recipes:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/recipes-kernel/linux

 

2. When might there be a linux-xlnx_3.17 recipe?

 

3. Is the linux-yocto_3.17 recipe good enough to try instead if I want the 3.17 kernel? What are the differences between linux-xlnx and linux-yocto practically speaking?

0 Kudos
4 Replies
Visitor methspringer
Visitor
6,688 Views
Registered: ‎02-24-2015

Re: Latest Linux 3.17 kernel with OpenEmbedded/Yocto

I'd like to ask for that as well.

Xilinx released the SDK some time ago, and there must be some sort of recipe to build the petalinux SDK - can Xilinx release that?

0 Kudos
Adventurer
Adventurer
6,489 Views
Registered: ‎09-19-2014

Re: Latest Linux 3.17 kernel with OpenEmbedded/Yocto

For question 3, I've found this mailing list message to be useful:

https://lists.yoctoproject.org/pipermail/meta-xilinx/2015-January/000896.html

 

Basically, linux-xlnx includes some useful/necessary Zynq drivers, depending on your needs. The list of ones that are and aren't included are here:

http://www.wiki.xilinx.com/Linux+Drivers

 

Also, this message and subsequent messages are about the future intention of the kernel recipes:

https://lists.yoctoproject.org/pipermail/meta-xilinx/2015-March/000927.html

They are intending to have just about everything that is used by the majority in the mainline linux-yocto kernel, so that linux-xlnx is only for testing development things. Kernel 3.19 and onwards has more Zynq drivers included towards this goal. So to partially answer question 2, it seems there may not be a linux-xlnx-3.17, but either a mainline linux-yocto_3.19+ or linux-xlnx-dev kind of thing that follows the latest.

0 Kudos
Adventurer
Adventurer
5,936 Views
Registered: ‎06-05-2014

Re: Latest Linux 3.17 kernel with OpenEmbedded/Yocto

@sam_jaeschke If I'm using fido, is there a way to tell bitbake to use the 3.19 kernel instead of 3.14?

 

I see this but I'm sorta new to this so not entirely clear how to "activate" the use of the new kernel

https://github.com/Xilinx/meta-xilinx/blob/fido/recipes-kernel/linux/linux-yocto_3.19.bbappend

by default fido seems to use 3.14.2, which is pretty dated at this point.

 

0 Kudos
Highlighted
Adventurer
Adventurer
5,928 Views
Registered: ‎09-19-2014

Re: Latest Linux 3.17 kernel with OpenEmbedded/Yocto

linux-yocto is the one that has some but not all of the Xilinx drivers.

If you're okay with it, you can use build it:

> bitbake linux-yocto

 

The version is determined by PREFERRED_VERSION_linux-XXXXX, which the default is set here:

https://github.com/Xilinx/meta-xilinx/blob/fido/conf/machine/include/machine-xilinx-default.inc

You may have overriden that value, because it looks like it should be 3.19.

 

If you still need the Xilinx drivers, you could try using linux-xlnx-dev ("bitbake linux-xlnx-dev"), which is the bleeding edge, but may not be stable.

Or you could try the master branch (in development) to see if that fits your needs too.

0 Kudos