Check system information:
Empty trash:
Using netplan
file:
Add this to the file:
Using interfaces
file:
Add this to the file:
Install minicom:
Check which serial port a device connected to:
Connect to specific device in minicom:
Create PetaLinux project:
Configure HW using HDF file:
Configure HW using XSA file:
Configure rootfs boot source:
Image Packaging Configuration → Root filesystem type (xxxx) → EXT4 (SD/eMMC/SATA/USB)
Enable gcc
command:
Filesystem Packages → misc → packagegruop-core-buildessential
Enable iptables
command:
Networking support → Networking options → Network packet filtering framework (Netfilter) → (Enable all)
Filesystem Packages → misc → iptables
Build PetaLinux:
Build results are generated in images/linux
Package BOOT.BIN image:
Write the boot image to the BOOT partition:
Write the rootfs image to the root partition: