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# 60931

PetaLinux 2013.10 - When enabling busybox - Syslog, petalinux-build command fails.

Description

When I enable busybox-syslog in the root filesystem, petalinux-build fails with the following message:
 

[ERROR] Errors were encountered while processing:
[ALL  ]  busybox-syslog
[ERROR] E: Sub-process /proj/gsd/petalinux/2013.10.patch/tools/packagemanager/bin/dpkg returned an error code (1)
[ERROR] make[2]: *** [pkg_rootfs_expand] Error 255
[ALL  ] make[2]: Leaving directory `/group/bcapps/seemas/cases/1010457/peta_proj/build/linux/rootfs/packages-repo'
[ERROR] make[1]: *** [sub_install_component_/none/packages-repo/single/plnx-repo] Error 2
[ALL  ] make[1]: Leaving directory `/group/bcapps/seemas/cases/1010457/peta_proj/build/linux/rootfs'
[ALL  ] make: *** [sub_install_component_/none/rootfs/single/petalinux-rootfs] Error 2
[ALL  ] make: Leaving directory `/group/bcapps/seemas/cases/1010457/peta_proj/build/linux'
[INFO ] config linux/rootfs

Solution

This is fixed in PetaLinux version 2014.2. 

For earlier versions, this can be worked around by following the steps below.

You can create a user app and install the syslog startup scripts with the user app.

 
Here are the steps:
  1. Disable busybox-syslog from petalinux-config -c rootfs
  2. Run the following command:
    petalinux-create -t apps -n setup-syslog --template --install --enable
  3. Manually edit <proj>/components/apps/setup-syslog/ to install syslog startup scripts.
 
The attached file (setup-syslog.zip) is an example of the startup scripts. 

It can be modified to suit the demands of a specific system.

Attachments

Associated Attachments

Name File Size File Type
setup-syslog.zip 4 KB ZIP
AR# 60931
Date Created 06/03/2014
Last Updated 10/16/2014
Status Active
Type Design Advisory
Devices
  • SoC
  • FPGA Device Families
Tools
  • PetaLinux
  • PetaLinux - 2013.10