qshinoの日記

Powershell関係と徒然なこと

Petalinux

memo

$ ./petalinux-v<petalinux-version>-final-installer.run --dir 
<INSTALL_DIR> --platform "arm aarch64"
$ source <path-to-installed-PetaLinux>/settings.sh

Design flow

1. Hardware platform creation (for custom hardware only) 

Vivado® design tools

2. Create a PetaLinux project

petalinux-create -t project

3. Initialize a PetaLinux project (for custom hardware only) 

petalinux-config --get-hw-description

4. Configure system-level options 

petalinux-config

5. Create user components 

petalinux-create -t COMPONENT

6. Configure the Linux kernel 

petalinux-config -c kernel

7. Configure the root filesystem 

petalinux-config -c rootfs

8. Build the system petalinux-build
Package for deploying the system 

petalinux-package

9. Boot the system for testing 

petalinux-boot

10. Upgrades the workspace 

petalinux-upgrade

11. Use Yocto devtools command 

petalinux-devtool

12. Use debug utilities 

petalinux-util