Getting Started With The Petalinux Sdk - Xilinx Zynq-7000 User Manual

Hide thumbs Also See for Zynq-7000:
Table of Contents

Advertisement

GCC tools
Integrated QEMU full system simulator
Automated tools
Developers can use these tools to customize the boot loader, Linux kernel, or Linux
applications. They can add new device drivers, applications, libraries, and boot and test
software stacks on the included full system simulator (QEMU) or on physical hardware via
network or JTAG.
The PetaLinux SDK complements use of the Xilinx SDK by allowing application developers
to continue using the Xilinx SDK to build and deploy against any Linux system that is
configured with the PetaLinux SDK tools.

Getting Started with the PetaLinux SDK

The PetaLinux SDK provides tools to create project, user application, libraries, modules, and
templates for either C or C++ based templates. These templates include application source
code and makefiles so that you can easily configure and compile applications for PetaLinux
systems, and install them into the root file system.
To create a PetaLinux project and add user application/libraries:
1. Create a PetaLinux project based on the ZYNQ default template:
bash>petalinux-create -t project -n <PROJECT_NAME> --template
zynq
2. Create a PetaLinux user application:
bash>petalinux-create -t apps -n <APP_NAME>
3. Create a PetaLinux user library:
bash>petalinux-create -t libs
4. Create PetaLinux binaries:
bash>petalinux-build
PetaLinux Deployable Binaries (SD Boot mode)
The PetaLinux SDK has three deployable components:
• BOOT.bin
• image.ub
• autostart.sh
Zynq-7000 AP SoC ZC702 Base TRD
UG925 (v6.0) February 21, 2014
Getting Started with the PetaLinux SDK
-n <LIB_NAME>
www.xilinx.com
59
Send Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents