vitis2024.1创建Linux应用

环境安装

软件下载路径

环境

vitis 2024.1

ubutnu 22.04

简介

一般使用pretalinux编译后的文件,制作为文件系统后,在/usr/bin/找到编译后的可执行程序。

首先我的开发板已经使用petalinux 2024.1制作好了系统,硬件层面也使用vivado2024.1做好了配置,网络连接没有问题,后续的程序烧录是通过网络连接,我的开发板制作了自启动。

安装 vitis 2024.1,选择Vitis Embedded Development

vitis

lnstals Vitis Core Development Kit for embedded software and application acceleration development on AMD platforms. Vitisinstallation includes Vivado Design Suite, Users can also install Vitis Model Composer to design for Al Engines and ProgrammableLogic in MATLAB and Simulink, There is an option to install Power Design Manager for power estimation of Versal, Ultrascale+.and Kria products.

内置 Vitis Core 开发套件,用于在 AMD 平台上进行嵌入式软件和应用加速开发。Vitis安装包括 Vivado Design Suite,用户还可以安装 Vitis Model Composer 以在 MATLAB 和 Simulink 中为 Al 引擎和 ProgrammableLogic 进行设计,还可以选择安装 Power Design Manager,用于 Versal、Ultrascale+ 和 Kria 产品的功耗估算。

Vivado

includes the full complement of Vivado Design Suite tools for design, including C-based design with Vitis High-evel synthesis,implementation, verification and device programming. Complete device support, cable driver, and Document Navigator included.Users can also install vitis Model Composer to design for Al Engines and Programmable Logic in MATLAB and simulink. Users canselect to installthe vitis =mbedded pevelonment which is an embedded sotware develonment nackade, here is an ontion toinstall Power Desian Manager for power estimation of Versal, UitraScale+, and Kria products.

包括用于设计的全套 Vivado Design Suite 工具,包括基于 C 语言的 Vitis High-evel 综合、实现、验证和器件编程。包括完整的设备支持、电缆驱动程序和 Document Navigator。用户还可以安装 vitis Model Composer,以便在 MATLAB 和 Simulink 中针对 Al 引擎和可编程逻辑进行设计。用户可以选择安装 vitis =mbedded pevelonment,这是一个嵌入式软件开发工具,这是一个安装 Power Desian Manager 的工具,用于 Versal、UitraScale+ 和 Kria 产品的功耗估算。

Vitis Embedded Development

The Vitis Embedded Development is a standalone embedded software development package for creating, building. debugging.optimizing, and downloading software applications for AMD FPGA processors, it includes a new Vitis iDE with its new backend vitisServer, as well as the classic command line utilities such as hw server, bootgen and program flash

Vitis 嵌入式开发是一款独立的嵌入式软件开发包,用于创建、构建。调试、优化和下载面向 AMD FPGA 处理器的软件应用程序,它包括一个新的 Vitis iDE 及其新的后端 vitisServer,以及经典的命令行实用程序,如硬件服务器、bootgen 和程序闪存

平台工程

创建平台工程

选择对应XXX.xsa文件

选择linux

点击编译

应用工程

参考例子创建工程



我的是这个目录:

/opt/pkg/vitis/2024.1/Vitis/2024.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/cortexa9t2hf-neon-xilinx-linux-gnueabi

配置clangd path

没有配置会找不头文件!!!

点击编译

下载验证

首先将开发板启动起来,保证开发板和ubuntu 在同一网段下

配置好开发板网络


1、是点击设计图标

2、是选择连接板子

3、是选择编译好的文件

4、是选择一个板子上的路径

5、是点击运行

最后在板子的/run/media/boot-mmcblk0p1目录项目会有一个可执行文件linux_hello_world.elf,可以直接运行。

相关推荐
爱学习的张哥17 分钟前
UDP--DDR--SFP,FPGA实现之指令监测模块实现
fpga开发·udp·指令
charlie11451419120 分钟前
内核深入学习3——分析ARM32和ARM64体系架构下的Linux内存区域示意图与页表的建立流程
linux·学习·架构·内存管理
Caron_xcb1 小时前
大数据——解决Matplotlib 字体不足问题(Linux\mac\windows)
大数据·linux·matplotlib
水水沝淼㵘1 小时前
嵌入式开发学习日志(数据结构--顺序结构单链表)Day19
linux·服务器·c语言·数据结构·学习·算法·排序算法
愚润求学1 小时前
【Linux】基础 IO(一)
linux·运维·服务器·开发语言·c++·笔记
大白的编程日记.2 小时前
【Linux学习笔记】理解一切皆文件实现原理和文件缓冲区
linux·笔记·学习
孞㐑¥2 小时前
Linux之进程控制
linux·开发语言·c++·经验分享·笔记
愚润求学2 小时前
【Linux】简单设计libc库
linux·运维·开发语言·c++·笔记
chennalC#c.h.JA Ptho3 小时前
Bodhi linux 系统详解
linux·经验分享·笔记·系统架构·系统安全
碎碎思3 小时前
FPGA+ESP32 = GameBoy 是你的童年吗?
fpga开发