Microphase, run linux tutorial
2026-09-13
!!! This is not the perfect guide, during the compilation it got errors, ask gemini. https://share.gemini.google/bFyDzMtkYZVk
Step 1: Install Tools
Step 1: Install Vitis (it has Vivado)
Step 2: Install petalinux https://www.amd.com/en/products/software/adaptive-socs-and-fpgas/embedded-software/petalinux-sdk.html


chmod+x petalinux-v20XX.X-final-installer.run
./petalinux-v20XX.X-final-installer.run


Project name : petalinux_boot_from_flash_vivado











Step 2: Build the image using petalinux
source /opt/petalinux/settings.sh
petalinux-create --type project --template zynq --name petalinux_boot_from_flash
cd petalinux_boot_from_flash
find .. -name "*.xsa"
cp ../petalinux_boot_from_flash_vivado/design_1_wrapper.xsa .
petalinux-config --get-hw-description=.

(Just save and exit)
petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --u-boot images/linux/u-boot.elf --force
now you got BOOT.BIN
