@[linux](PetaLinux 2024.1安装笔记)
作者使用 AMD Vitis™
系统是ubuntu 22.04.1 LTS
PetaLinux简介
PetaLinux 是一个嵌入式 Linux 软件开发工具包 (SDK),旨在为基于 FPGA 的系统芯片 (SoC) 设计或 FPGA 设计提供支持。
您需要具备以下基本技能:
Linux 基础知识:能够执行 Linux 命令。
操作系统及主机系统功能:了解操作系统版本、Linux 发行版、安全权限,以及 Yocto 的基本概念。
PetaLinux 工具包包含以下组件:
Yocto 可扩展 SDK (eSDK):用于创建和维护嵌入式 Linux 系统。
XSCT 和工具链:用于调试和交叉编译。
PetaLinux 命令行接口 (CLI) 工具:用于在命令行中管理和配置 PetaLinux 项目。
从 2024.1 版本开始,有两种方法可以构建 PetaLinux 镜像。
- XSCT Flow
Using the XSCT flow by providing xsa file as input to petalinux-config. - system-device-tree
Using system-device-tree, you can also build the images without relying on XSCT. The input to petalinux-config is system-device-tree instead of XSA
XSCT and tool chains
PetaLinux tool uses the XSCT underneath to configure and build all the embedded software applications.
- XSCT tool chain path: $PETALINUX/components/xsct
PetaLinux Command Line Interface (CLI) tools
This contains all the PetaLinux commands th