Petalinux Zynq configuration order
April 08, 2026 —
Nazim
This is a short reminder to myself on how to configure the Petalinux for Zynq 7000.
First, source the settings.sh from the Petalinux root folder.
source ./settings.sh
Create the project from Vivado hardware definintion export. It's a good idea to provide a complete path to the xsa file.
petalinux-config --get-hw-description /data2/hw/nasrm/usb_wrapper.xsa
This will present a configuration screen. Don't forget to set the serial devices for boot messages and terminal access.

Then, configure the kernel with all of the necessary modules. Basically it's a good old linux menuconfig.
petalinux-config -c kernel