My name is Sven Andersson and I
work as a consultant in embedded
system design, implemented in ASIC
In my spare time I write this blog
and I hope it will inspire others to
learn more about this fantastic field.
I live in Stockholm Sweden and have
my own company
You are welcome to contact me
and ask questions or make comments
about my blog.
The PetaLinux Tools offers everything necessary to customize, build and deploy Embedded Linux solutions on Xilinx processing systems. Tailored to accelerate design productivity, the solution works with the Xilinx hardware design tools to ease the development of Linux systems for Zynq®-7000 All Programmable SoC, MicroBlaze and PowerPC.
PetaLinux for MicroBlaze
I have already used PetaLinux in my FPGA design from scratch blog to run Linux on MicroBlaze.
cd $HOME/Downloads sudo ./petalinux-v2013.10-final-installer.run /opt/PetaLinux
Packages required by PetaLinux
PetaLinux requires a number of standard development tools and libraries to be installed on your Linux hostworkstation. The PetaLinux installation process checks for these packages, and reports an error if any are missing, however it does not attempt to install them - you must do this manually. This section describes the required packages, and how to install them on different Linux workstation environments.
I installed the following libraries and programs before installing and running PetaLinux.
Included are reference designs for us to start working with and customise for our own projects. These are provided in the form of installable BSP (Board Support Package) files, and include all necessary design and configuration files, including pre-built and tested hardware and software images, ready for download to our board or for booting in the QEMU system simulation environment.
Create a project directory
We will create a new project directory where we will run all our PetaLinux projects from:
cd $HOME/Projects mkdir PetaLinux
Run the BSP install script
To install the board support packages we run the following commands:
cd $HOME/Projects/PetaLinux petalinux-create -t project -s /home/svenand/Downloads/avnet-digilent-Zedboard-v2013.10-final.bsp
We will use the Avnet-Digilent-ZedBoard-2013.3 BSP.
I hope this will help everybody else as much as it did for me ...
P.S.: Keep on pushing, Sven - good job until now !
Thorsten June 5, 2014 09:47 PM PDT
hi, I have installed all the packages you mention (only ia32-libs is not avail on Ubuntu 14.05) - but when I do petalinux-build I get at the step "expanding stagefs" an error ".../bin/dpkg returned an error code (127)".
I have seen in the Xilinx forum that this error seems to be related to the ia32-libs - but as they aren't avail any more I'm stuck with Ubuntu 14. If you have any feedback - let me know ...
sn June 4, 2014 06:36 PM PDT
i have installed ise. with its own license
but now that i want to install petalinux i must merge the licenses and load the new license again in xlcm. but how can i launch xlcm? when i type cammand "xlcm" it says: cammand not found