In general, the PetaLinux tools follow a sequential workflow model. The table below provides an example design workflow, demonstrating the order in which the tasks should be completed and the corresponding tool or workflow for that task.
| Design Flow Step | Tool / Workflow |
|---|---|
| Hardware platform creation (for custom hardware only) | Vivado® design tools |
| Create a PetaLinux project |
petalinux-create -t project
|
| Initialize a PetaLinux project (for custom hardware only) |
petalinux-config --get-hw-description
|
| Configure system-level options |
petalinux-config
|
| Create user components |
petalinux-create -t COMPONENT
|
| Configure the Linux kernel |
petalinux-config -c kernel
|
| Configure the root filesystem |
petalinux-config -c rootfs
|
| Build the system |
petalinux-build
|
| Package for deploying the system |
petalinux-package
|
| Boot the system for testing |
petalinux-boot
|
| Upgrades the workspace |
petalinux-upgrade
|
| Use Yocto devtools command |
petalinux-devtool
|
| Use debug utilities |
petalinux-util
|