02-23-2015 03:56 PM
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:
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?
02-24-2015 11:27 AM
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?
03-24-2015 04:29 PM
For question 3, I've found this mailing list message to be useful:
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:
Also, this message and subsequent messages are about the future intention of the kernel recipes:
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.
07-07-2015 04:48 PM
@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
by default fido seems to use 3.14.2, which is pretty dated at this point.
07-07-2015 05:25 PM
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:
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.