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: