首先按照https://blog.csdn.net/weixin_44882546/article/details/11479470完成安装依赖项,创建安装目录等。 reboot后: hrstekhbj2022@ubuntu:~$ ls Desktop Downloads Pictures snap tools Documents Music Public Templates Videos hrstekhbj2022@ubuntu:~$ cd Downloads hrstekhbj2022@ubuntu:~/Downloads$ ls code-stable-x64-1646928009.KZj1jD4G.tar.gz.part code-stable-x64-1646928009.tar.gz ‘lantern-devel(1).zip’ lantern-devel.zip petalinux_installation_log petalinux-v2021.2-final-installer.run xilinx_unified_2021.2_1021_0703_lin64.bin Xilinx_Unified_2021.2_1021_0703_Lin64.bin Xilinx_Unified_2021.Jty-xu7a.2_1021_0703_Lin64.bin.part hrstekhbj2022@ubuntu:~/Downloads$ ./petalinux-v2021.2-final-installer.run --dir /opt/pkg/petalinux/2021.2 INFO: Checking installation environment requirements… WARNING: This is not a supported OS INFO: Checking free disk space INFO: Checking installed tools INFO: Checking installed development libraries INFO: Checking network and other services INFO: Checking installer checksum… INFO: Extracting PetaLinux installer…
LICENSE AGREEMENTS
PetaLinux SDK contains software from a number of sources. Please review the following licenses and indicate your acceptance of each to continue.
You do not have to accept the licenses, however if you do not then you may not use PetaLinux SDK.
Use PgUp/PgDn to navigate the license viewer, and press ‘q’ to close
Press Enter to display the license agreements Do you accept Xilinx End User License Agreement? [y/N] > y Do you accept Third Party End User License Agreement? [y/N] > y INFO: Installing PetaLinux… INFO: Checking PetaLinux installer integrity… INFO: Installing PetaLinux SDK to “/opt/pkg/petalinux/2021.2/.” INFO: Installing buildtools in /opt/pkg/petalinux/2021.2/./components/yocto/buildtools INFO: Installing buildtools-extended in /opt/pkg/petalinux/2021.2/./components/yocto/buildtools_extended INFO: PetaLinux SDK has been installed to /opt/pkg/petalinux/2021.2/. hrstekhbj2022@ubuntu:~/Downloads$