PetaLinux 2018.2 BSP


Xilinx has posted a PetaLinux 2018.2 BSP for the Ultra96 board here:



I am assuming this is to be used with the Peta Linux installer?


Yes, sorry this wasn’t more clear. To use this BSP you will also need to have Xilinx PetaLinux installed. Instructions for installing PetaLinux - and the Ultra96 BSP - can be found here:



I gave this a go… and the following error popped up

[sahaj@fedora xilinx-ultra96-reva-2018.2]$ petalinux-build
[INFO] building project
[INFO] generating Kconfig for project
[INFO] oldconfig project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating bbappends for project . This may take time ! 
rsync: change_dir "/home/sahaj/Xilinx/Peta/components/yocto/source/arm/layers/core/meta/recipes-core/init-ifupdown/init-ifupdown-1.0" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
[INFO] oldconfig rootfs
[INFO] generating
INFO: bitbake petalinux-user-image
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    You system needs to support the en_US.UTF-8 locale.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project
[sahaj@fedora xilinx-ultra96-reva-2018.2]$ locale
[sahaj@fedora xilinx-ultra96-reva-2018.2]$

As you can see LANG is set to en_US.UTF-8. Running on Fedora 28.
I was able to get through using this forum post


I was able to get it to build properly but had to switch to ubuntu environment.

A few notable things (in case someone lands on this thread):

  1. I Verified SD card boot and it looks nice, Display Port works haven’t tested USB3 but there is no reason it won’t work
  2. You don’t necessarily have to compile from source, there are prebuilts present in the bsp
  3. the above mentioned documentation doesn’t mention (on page 38) that the sdcard needs to be partitioned into two, one for boot and the other for rootfs (rootfs.ext4 is built during compilation)
  4. The hardware folder under the BSP contains a pre-configured project template that can be opened with vivado.


Once the process is confirmed, it will be of much more use in the 96Boards/documentation repo under “installation” folder.

@ric96 What do you think?


The PDF Doc is fairly comprehensive, we can create basic/beginner instructions under the installation/building section of the doc.
I was also thinking if we can host the prebuits at ?


Agreed. @ric96

To host pre-builts, we will need to give them over to @fabo - Thought, how different are these images provided a month or so ago here:



Functionally about the same but the major difference, apart from having a different Desktop environment, is that these are “official” images and have been tested by Xilinx.