当前位置:网站首页>MPSoC QSPI Flash 升级办法
MPSoC QSPI Flash 升级办法
2022-07-05 08:43:00 【hankfu】
启动分区
在系统设计时,在PetaLinux工程里,为boot.bin预留多个启动分区。使用命令cat /proc/mtd或者ls /dev/mtd*,看得到多个分区。
传输新版本boot.bin
通过网络或者其它方式,把新版本boot.bin传输到单板的Linux文件系统。
写新版本boot.bin到QSPI Flash启动分区
使用flashcp 把新版本boot.bin写到QSPI Flash启动分区/dev/mtd0
flashcp -v ./smaple.bin /dev/mtd0
升级保护
使用fallback模式,做升级保护。 比如先把/dev/mtd0,备份到/dev/mtd1;再使用新版本boot.bin写到/dev/mtd0
升级脚本
Xilinx的FAE设计了相关脚本。如果有需要,可以联系FAE。
参考文档
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841901/Linux+ZynqMP+GQSPI+Driver
边栏推荐
- IT冷知识(更新ing~)
- Business modeling of software model | overview
- 图解八道经典指针笔试题
- One dimensional vector transpose point multiplication np dot
- Arduino burning program and Arduino burning bootloader
- Numpy pit: after the addition of dimension (n, 1) and dimension (n,) array, the dimension becomes (n, n)
- Basic number theory - factors
- Arduino operation stm32
- Halcon Chinese character recognition
- Matlab tips (28) fuzzy comprehensive evaluation
猜你喜欢
随机推荐
Example 006: Fibonacci series
我从技术到产品经理的几点体会
Halcon blob analysis (ball.hdev)
js异步错误处理
Pytorch entry record
每日一题——替换空格
[牛客网刷题 Day4] JZ55 二叉树的深度
Guess riddles (11)
TypeScript手把手教程,简单易懂
2022.7.4-----leetcode.1200
golang 基础 ——map、数组、切片 存放不同类型的数据
ABC#237 C
Bluebridge cup internet of things competition basic graphic tutorial - clock selection
How to manage the performance of R & D team?
[matlab] matlab reads and writes Excel
每日一题——输入一个日期,输出它是该年的第几天
Typescript hands-on tutorial, easy to understand
Meizu Bluetooth remote control temperature and humidity access homeassistant
第十八章 使用工作队列管理器(一)
Bit operation related operations