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 小时前
MySQL运维三部曲初级篇:从零开始打造稳定高效的数据库环境
linux·运维·数据库·mysql·性能优化
soulermax2 小时前
数字ic后端设计从入门到精通2(含fusion compiler, tcl教学)
java·linux·服务器
黑心老人2 小时前
Mac OS系统下kernel_task占用大量CPU资源导致系统卡顿
linux·运维·服务器·macos
Zenexus2 小时前
Linux学习笔记协议篇(六):SPI FLASH设备驱动
linux·笔记·arm
口嗨农民工2 小时前
ubuntu18.04启动不了修复
linux·运维·ubuntu
辣个蓝人QEX3 小时前
【ZYNQ MP开发】Linux下使用bootgen命令生成BOOT.bin报错架构不对问题探究
linux·arm开发·xilinx·zynq·mpsoc·bootgen·u-boot移植
Vesan,3 小时前
无人机飞控运行在stm32上的RTOS实时操作系统上,而不是linux这种非实时操作系统的必要性
linux·stm32·无人机
GalaxyPokemon4 小时前
Muduo网络库实现 [十六] - HttpServer模块
linux·运维·服务器·网络
Huazie4 小时前
在WSL2 Ubuntu中部署FastDFS服务的完整指南
服务器·后端·ubuntu
易知嵌入式小菜鸡4 小时前
STM32CubeMX-H7-15-SPI通信协议读写W25Q64
stm32·嵌入式硬件·fpga开发