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!

Showing results for 
Search instead for 
Did you mean: 
Observer keyshavmor2611
Registered: ‎06-07-2018

Project Yocto vs Petalinux

Hi ,

Me and my team are currently busy developing distributions for our networking research project. Some of us are using Petalinux and some of us are using the Yocto project. Barring a few operational differences, we are unable to distinguish the difference between the two. Petalinux also comes with its own Yocto package on top of which it builds distirbutions. We are unsure about the role of Yocto by itself and how it differs from Petalinux(which includes yocto package as well). If somebody could explain the difference then it would be of immense help.




2 Replies
Xilinx Employee
Xilinx Employee
Registered: ‎03-25-2019

Re: Project Yocto vs Petalinux

Hi @keyshavmor2611,

Petalinux is based on Yocto. In a nutshell we can say that Peatlinux is Yocto + Xilinx metalayers + some other tools like petalinux commands, XSCT, XSDB, Qemu ... .
Using Petalinux or Yocto to build an image is the same. The only big difference is that Petalinux offer a higher abstraction level than Yocto, so it is pretty much easy to use.

Best regards,
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Registered: ‎04-24-2017

Re: Project Yocto vs Petalinux

Hi @keyshavmor2611 

  1. PetaLinux tool is built on top of Xilinx Yocto layers using Yocto eSDK(extensible SDK) method.
  2. Apart from eSDK petalinux has built in features to create a project based on device platform such as MicroBlaze, Zynq7000 and ZynqMP architecture. These sources code are not public.
  3. PetaLinux ships with XSCT and other xilinx tools which is required for build and deployment.
  4. PetaLinux supports built in QEMU and JTAG boot commands for all platform devices where Yocto doesn't provide this options.
  5. PetaLinux provides pre-mirrors downloads(source tar files) and sstate cache files for all the packages shipped as part of the tool.
  6. PetaLinux supports RHEL, CentOS and Ubuntu Linux distribution OS where as Yocto supports only Ubuntu, CentOS etc but not RHEL.
  7. PetaLinux provides BSP's for all Xilinx evaluation boards and pre-built images for both target and QEMU boot.
  8. PetaLinux supports template project for custom board creating all the required configurations for FSBL, PMUFW, DTG and U-boot based on hdf parsing but in case of Yocto you need define this as part of machine configuration file for your custom board.

For more details refer UG1144 and UG1157.

PetaLinux Yocto | Embedded SW Support

Don’t forget to Reply, Kudo, and Accept as Solution.