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!

AR# 67416

2016.1 PetaLinux - Installer Automatically Appends Sub-Directory to Target Installation Path

Description

After I install PetaLinux and run petalinux-build I receive the following error:

petalinux-build -c rootfs -x do_gen_sysroot
INFO: Checking component...
INFO: Generating make files and build linux/rootfs
INFO: Generating make files for the subcomponents of linux/rootfs
INFO: Building linux/rootfs
[INFO ] do_gen_sysroot
[ERROR] ERROR: smart_install_pkgs: Failed to install pakcages because failed to do smart update.
ERROR: Failed to build linux/rootfs

My installation path is /proj/gsd/petalinux/2016.

Why is the build failing?

Solution

When installing PetaLinux, the user specifies a path similar to the above example. The PetaLinux installer then automatically appends a sub-directory of "petalinux-v2016.1-final" to this path.

In previous versions a simple work-around was to rename the appended subdirectory if required (For example, if the user needed to for their particular organization's installation scheme). 

This work-around no longer applies starting in PetaLinux 2016.1, because the Petalinux tools now include Yocto tools that have the installation path hard coded into them.

This is planned to be fixed in a future release, but the current work-around is to not rename the directory that PetaLinux installs to.

AR# 67416
Date Created 06/19/2016
Last Updated 06/21/2016
Status Active
Type Known Issues
Devices
  • Zynq UltraScale+ MPSoC
  • Zynq-7000
  • FPGA Device Families
Tools
  • PetaLinux - 2016.2
  • PetaLinux - 2016.1