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

相关推荐
暴躁的小胡!!!1 分钟前
Linux权限维持之协议后门(七)
linux·运维·服务器·网络·安全
dxaiofcu32 分钟前
双网卡电脑,IP地址漂移
linux·服务器·网络
ChinaRainbowSea41 分钟前
Linux: Centos7 Cannot find a valid baseurl for repo: base/7/x86_64 解决方案
java·linux·运维·服务器·docker·架构
vortex51 小时前
在Kali中使用虚拟环境安装python工具的最佳实践:以 pwncat 为例
linux·python·网络安全·渗透测试·pip·kali
LKAI.1 小时前
MongoDB用户管理和复制组
linux·数据库·mongodb
linux修理工2 小时前
moodle 开源的在线学习管理系统(LMS)部署
linux
熬夜苦读学习2 小时前
库制作与原理
linux·数据库·后端
晨曦启明7113 小时前
Linux云计算SRE-第十八周
linux·运维·云计算
暴躁的小胡!!!3 小时前
Linux权限维持之vim python 扩展后门(五)
linux·运维·服务器·网络·安全
亭墨3 小时前
linux0.11内核源码修仙传第五章——内存初始化(主存与缓存)
linux·c语言·驱动开发·学习·缓存·系统架构