[go: up one dir, main page]

0% found this document useful (0 votes)
69 views1 page

Command For Petalinux

The document outlines a series of commands for configuring and building a PetaLinux project, including setting up the root filesystem, U-Boot, and kernel. It also details steps for creating filesystems on storage devices and programming flash memory using Vitis. Additionally, it includes commands for managing SSH keys and accessing software release URLs.

Uploaded by

farzin.vaezpour
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views1 page

Command For Petalinux

The document outlines a series of commands for configuring and building a PetaLinux project, including setting up the root filesystem, U-Boot, and kernel. It also details steps for creating filesystems on storage devices and programming flash memory using Vitis. Additionally, it includes commands for managing SSH keys and accessing software release URLs.

Uploaded by

farzin.vaezpour
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# petalinux-config

# petalinux-config -c rootfs
# petalinux-config -c u-boot
# petalinux-config -c kernel
# petalinux-build
# petalinux-package --boot --u-boot --fsbl --fpga
# sudo picocom -b 115200 -l /dev/ttyUSB0

# ssh-keygen -f "/root/.ssh/known_hosts" -R "172.20.1.11"


# petalinux-create --type project --template zynq --name ASProject
# petalinux-config --get-hw-description
# local sstate feeds url -->
/opt/Xilinx/PetaLinux/sstate-cache/sstate_arm_2023.2_10121051/arm
# pre-mirror url path --> file:///opt/Xilinx/PetaLinux/downloads
# source /opt/Xilinx/PetaLinux/settings.sh
# petalinux-build --sdk
# petalinux-package --sysroot
# http://petalinuxt.xilinx.com/sswreleases/rel-v${PETALINUX_MAJOR_VER}/arm/
sstate-cache

# mkfs.vfat -F 32 -n boot /dev/sdb1


# mkfs.ext4 -L root /dev/sdb2

/opt/Xilinx/Vitis/2022.2/bin/program_flash -f
~/Vitis_Projects/plnx_emmc3/design_1_wrapper/export/design_1_wrapper/sw/
design_1_wrapper/boot/BOOT.bin -offset 0 -flash_type qspi-x4-single -fsbl
~/Vitis_Projects/plnx_emmc3/design_1_wrapper/export/design_1_wrapper/sw/
design_1_wrapper/boot/fsbl.elf -url TCP:127.0.0.1:3121

# sudo tar xvfp rootfs.tar.gz -C /media/rootfs

You might also like