当前位置: 首页 > news >正文

PL 侧驱动和fpga 重加载的方法

在这里插入图片描述

可以解决很多的问题

  • 时钟稳定后加载特定fpga ip (要不内核崩的一塌糊涂)
  • fpga 稳定复位
  • 软件决定fpga ip 加载的时序
dluash load /usr/local/scripts/si5512_setup.lua
usleep 30
mkdir -p /lib/firmware
cp -rf /usr/local/firmare/{*.bit.bin,*.dtbo} /lib/firmware
echo 0 > /sys/class/fpga_manager/fpga0/flags 
mkdir -p /sys//kernel/config/device-tree/overlays/full
echo -n "pl.dtbo" > /sys/kernel/config/device-tree/overlays/full/path

部分加载fpga 需要 fpga 工程师 进行设置

Makefile 中设备树的编译

# AUTHOR: HONGDAYUall:gcc -I my_dts -E -nostdinc -undef -D__DTS__ -x assembler-with-cpp -o system-top.dts.tmp system-top.dtsdtc -I dts -O dtb -o system-top.dtb system-top.dts.tmp -@dtc -O dtb -o pl.dtbo -b 0 -@ pl.dtsiclean:rm -rf *.dtbo *.tmp *.dtb

之前peta 的工具链 不支持 C++ 的 异常抛出 , 现在可以了,这个就可以安心的用

http://www.lryc.cn/news/133149.html

相关文章:

  • 【2023最新爬虫】用python爬取知乎任意问题下的全部回答
  • Bingchat和ChatGPT主要区别
  • Docker容器:docker镜像的创建及dockerfile
  • Vue3 父子组件数据传递
  • Eureka:集群环境配置
  • springboot之多数据源配置
  • 无涯教程-PHP - 静态变量函数
  • 2023-08-20力扣今日二题
  • 【地理专题】2023年最新全国A级景区数
  • Elasticsearch实战(一):Springboot实现Elasticsearch统一检索功能
  • 更改计算机睡眠时间
  • Matplotlib数据可视化(一)
  • LLM提示词工程和提示词工程师Prompting and prompt engineering
  • Python开发环境(Visual Studio Code、Anaconda、PyInstaller、Enigma Virtual Box)
  • Unreal Engine 测试总结
  • Air780EG —— 合宙4G定位解决方案
  • 【算法刷题之数组篇(2)】
  • chromedriver.exe 的所有版本下载地址
  • C++ 网络编程项目fastDFS分布式文件系统(四)-fastCGI项目相关技术以及linux搜狗输入法相关问题。
  • 【HarmonyOS】服务卡片 API6 JSUI跳转不同页面
  • 【linux】debian10安装vim
  • 文件同步工具rsync
  • 【嵌入式开发 Linux 常用命令系列 12 -- linux 下 log 输出重定向 详细介绍 】
  • gin中关于参数注入问题
  • 记录首次面试2023-08-18
  • 【Apollo学习笔记】——规划模块TASK之LANE_CHANGE_DECIDER
  • rabbitmq的死信队列
  • 利用网络对拷工具进行系统安装与恢复
  • opencv-python使用鼠标点击图片显示该点坐标和像素值IPM逆透视变换车道线二值化处理
  • AIGC绘画:kaggle部署stable diffusion项目绘画