type
Post
status
Published
date
Feb 27, 2025
slug
petalinux
summary
tags
FPGA
category
FPGA
icon
password
上次编辑时间
Apr 15, 2025 12:36 PM
AI summary
Petalinux 命令
参考《UG 1157 PetaLinux Command Line Reference Guide》

Petalinux 设置本地编译
Xilinx下载中心
首先在下载中心下载 petalinux 对应版本的"arm sstate-cache"和"download"包。
将下载好的文件解压到
/opt/pkg/tools/ 文件路径下,使用 petalinux-config 配置工程。配置过程可见《领航者 ZYNQ 之嵌入式 Linux 开发指南 V 3.2》6.4 节。

与正点原子教程不同的地方
正点原子的修改 project-spec/meta-user/conf/petalinuxbsp. Conf 的代码如下:
但是 2023.2 版本的 petalinux 不支持这个语法,需改为: