
Ubuntu 20.04에서 Petalinux 설치를 실행할 수 없습니다.
abc@alpha:/scratch2/abc/Xilinx$ /petalinux-v2021.1-final-installer.run /scratch2/abc/Xilinx/Petalinux
이 오류가 발생합니다.
-bash: /usr/bin/python: No such file or directory
터미널로 내 질문을 편집합니다. 내가 뭘 잘못하고 있는지 잘 모르겠습니다.
abc@alpha:/scratch2/abc/Xilinx$ ls
Downloads Petalinux petalinux-v2021.1-final-installer.run Vitis Vivado
DocNav Model_Composer Projects Vitis_HLS xic
abc@alpha:/scratch2/abc/Xilinx$ ./petalinux-v2021.1-final-installer.run /scratch2/abc/Xilinx/Petalinux
ERROR: Invalid options: /scratch2/abc/Xilinx/Petalinux
PetaLinux installer.
Usage:
petalinux-v2021.1-final-installer.run [--log <LOGFILE>] [-d|--dir <INSTALL_DIR>] [options]
Options:
--log <LOGFILE> specify where the logfile should be created.
it will be petalinux_installation_log
in your working directory by default.
-d|--dir [INSTALL_DIR] specify the directory where you want to
install the tool kit. If not specified,
it will install to your working directory.
-p|--platform <arch_name> specify the architecture name.
aarch64 : sources for zynqMP and versal
arm : sources for zynq
microblaze_lite : sources for microblaze_lite
microblaze_full : sources for microblaze_full
EXAMPLES:
Install the tool in specified location:
$ ./petalinux-v2021.1-final-installer.run -d/--dir <INSTALL_DIR>
To get only desired sources:
$ ./petalinux-v2021.1-final-installer.run --dir <INSTALL_DIR>
This will install the sources for all(zynq,zynqMP,versal,microblaze_lite,microblaze_full).
$ ./petalinux-v2021.1-final-installer.run --dir <INSTALL_DIR> --platform "arm"
This will install the sources for zynq only.
$ ./petalinux-v2021.1-final-installer.run --dir <INSTALL_DIR> --platform "arm aarch64"
This will install the sources for zynq,zynqMP and versal.
$ ./petalinux-v2021.1-final-installer.run --dir <INSTALL_DIR> --platform "microblaze_lite microblaze_full"
This will install the sources for microblaze_lite
Please refer to the PetaLinux Tools Installation Guide.
답변1
아마도 Python3 심볼릭 링크를 설치해야 할 것입니다(/usr/빈/파이썬→/usr/bin/python3) 에 의해
sudo apt-get install python-is-python3
그런 다음 설치 프로그램을 다시 실행해 보세요.
또한 상담해 보세요https://xilinx.github.io/kria-apps-docs/main/build/html/docs/build_petalinux.html.
답변2
1단계: 가상 머신 생성
Download, install and launch VirtualBox from here.
Create a new virtual machine using these options:
Linux
Ubuntu 64-bit
16 GB RAM (8GB minimum according to user guide)
VirtualBox Disk Image
Dynamic (resizable) hard disk
200 GB size (the resulting VM will have about 113GB free after all of these installs so you can reduce this if you like)
Xilinx 도구는 많은 공간을 사용하고 BSP는 각각 몇 GB를 차지할 수 있으며 PetaLinux 프로젝트는 일반적으로 많은 공간을 사용하기 때문에 동적 유형의 하드 디스크를 사용하는 것이 좋습니다. 따라서 공간이 얼마나 되는지 정확히 알기 어렵습니다. 당신은 결국 필요하게 될 것입니다. 고정된 크기의 HDD를 사용하는 경우 VirtualBox를 사용하여 쉽게 변경할 수 없으므로 동적을 사용한다고 합니다.
자세한 내용은 h를 방문하십시오.ttps://www.fpgadeveloper.com/how-to-install-petalinux-2020.1/