PetaLinux Quick Start Guide

Download and install

See the Installation Guide for details

Environment setup

  • To set up your computer's environment, change to the PetaLinux root directory and run the setup script:
    $ cd petalinux
    $ sh ./settings.sh
    PetaLinux environment set to '/opt/projects/petalinux'
    $
    

Note that you must run this settings script each time you login or open a new terminal window.

Configuration

  • Run the uClinux configuration program
    $ cd software/petalinux-dist
    $ make menuconfig
    

Alternatively, if you are on an X-windows system, you can use the graphical configuration tool:

$ make xconfig

Build

  • Build the Linux kernel and user space applications

For 2.4 kernel

$ make dep
$ make all

For 2.6 kernel

$ make all