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,可以直接运行。

相关推荐
mCell2 小时前
从删库到跑路?这50个Linux命令能保你职业生涯
linux·windows·macos
杰克逊的日记2 小时前
GPU运维常见问题处理
linux·运维·gpu
誰能久伴不乏3 小时前
Linux系统调用概述与实现:深入浅出的解析
linux·运维·服务器
程序员学习随笔3 小时前
Linux进程深度解析(2):fork/exec写时拷贝性能优化与exit资源回收机制(进程创建和销毁)
linux·运维·服务器
mmoyula3 小时前
【RK3568 PWM 子系统(SG90)驱动开发详解】
android·linux·驱动开发
hahaha60163 小时前
差模干扰 & 共模干扰
fpga开发
-SGlow-3 小时前
MySQL相关概念和易错知识点(2)(表结构的操作、数据类型、约束)
linux·运维·服务器·数据库·mysql
代码改变世界ctw4 小时前
Linux内核设计与实现 - 第14章 块I/O层
linux·运维·服务器
璞致电子4 小时前
【PZ-KU060-KFB】——Kintex UltraScale 纯 FPGA 开发平台,释放高速并行计算潜能,高性价比的 FPGA 解决方案
fpga开发·fpga
van叶~6 小时前
Linux网络-------1.socket编程基础---(TCP-socket)
linux·网络·tcp/ip