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

uboot 常用命令汇总

U-boot常用命令

常用的命令

tftpboot 下载固件等tftpboot 0x44000000 xxx.imgimgaddr=0x44000000 && source $imgaddr:scriptmd 展示内存内容 md 0x44000000 128 # 打印128个地址的内容
nand erase   < start > < size >
nand erase 0x7d00000 0x4000000nand write < memory addr > < offset in flash (target addr) > < size >setenv 一些变量的配置保存和读取
saveenv
printenvubi相关命令
ubi part xxx
ubi read 0x44000000 kernel
ubifsmount
ubifsunmount
ubifsload -- 这个命令有问题,有时并不能读取数据,但是在linux下就可以正常mount. 上面两个类似
ubi check xxx 检查卷是否存在 $?看结果
ubi info 

如下是目前在QSDK中的一些命令:

IPQ5018# help
?       - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base    - print or set address offset
bdinfo  - print Board Info structure
bootelf - Boot from an ELF image in memory
bootipq - bootipq from flash device
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bootz   - boot Linux zImage image from memory
canary  - test stack canary
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dhcp    - boot image via network using DHCP/TFTP protocol
dm      - Driver model low level access
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
erase   - erase FLASH memory
exectzt - execute TZTexit    - exit script
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatsize - determine a file's size
fatwrite- write file into a dos filesystem
fdt     - flattened device tree utility commands
flash   - flash part_nameflash part_name load_addr file_sizeflasherase- flerase part_nameflinfo  - print FLASH memory information
fuseipq - fuse QFPROM registers from memorygo      - start application at address 'addr'
help    - print command description/usage
i2c     - I2C sub-system
imxtract- extract a part of a multi-image
ipq5018_mdio- IPQ5018 mdio utility commands
ipq_mdio- IPQ mdio utility commands
is_sec_boot_enabled- check secure boot fuse is enabled or notitest   - return true/false on integer compare
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
part    - disk partition related commands
pci     - list and access PCI Configuration Space
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
runmulticore- Enable and schedule secondary cores
saveenv - save environment variables to persistent storage
secure_authenticate- authenticate the signed imagesetenv  - set environment variables
setexpr - set environment variable as the result of eval expression
sf      - SPI flash sub-system
showvar - print local hushshell variables
sleep   - delay execution for some time
smeminfo- print SMEM FLASH information
source  - run script from memory
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true    - do nothing, successfully
tzt     - load and run tztuart    - UART sub-system
ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
zip     - zip a memory region

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 6.1.数据结构-c/c++堆详解下篇(堆排序,TopK问题)
  • ROS2 Nav2 - 模型预测路径积分控制器(MPPI)
  • 华为手机找不到wifi调试?不急,没有wifi调试一样可以进行局域网模式调试
  • 基于单片机的人脸识别的智能门禁系统设计
  • 小而强大!零一万物 Yi-Coder 模型震撼发布!
  • three.js使用3DTilesRendererJS加载3d tiles数据
  • 传统CV算法——基于 SIFT 特征点检测与匹配实现全景图像拼接
  • C++:入门篇(补充C语言中的不足)
  • TestCraft - GPT支持的测试想法生成器和自动化测试生成器
  • 【论文阅读】01-Survey on Temporal Knowledge Graph
  • PhpStorm 下调试功能配置
  • 粉丝+1,马斯克点赞《黑神话:悟空》
  • PHP一站式解决方案高级房产系统小程序源码
  • 【在Unity完成三维场景多人在线同时操作的实现方式】
  • 使用Protocol Buffers传输数据
  • 【跃迁之路】【444天】程序员高效学习方法论探索系列(实验阶段201-2018.04.25)...
  • Android 架构优化~MVP 架构改造
  • Create React App 使用
  • laravel5.5 视图共享数据
  • Odoo domain写法及运用
  • PAT A1120
  • rabbitmq延迟消息示例
  • React系列之 Redux 架构模式
  • Sublime text 3 3103 注册码
  • 前嗅ForeSpider采集配置界面介绍
  • 如何抓住下一波零售风口?看RPA玩转零售自动化
  • 使用权重正则化较少模型过拟合
  • 【运维趟坑回忆录 开篇】初入初创, 一脸懵
  • 阿里云服务器如何修改远程端口?
  • ![CDATA[ ]] 是什么东东
  • (C语言)二分查找 超详细
  • (HAL库版)freeRTOS移植STMF103
  • (ibm)Java 语言的 XPath API
  • (ISPRS,2021)具有遥感知识图谱的鲁棒深度对齐网络用于零样本和广义零样本遥感图像场景分类
  • (Matlab)遗传算法优化的BP神经网络实现回归预测
  • (附源码)ssm基于jsp的在线点餐系统 毕业设计 111016
  • (七)Activiti-modeler中文支持
  • (十二)devops持续集成开发——jenkins的全局工具配置之sonar qube环境安装及配置
  • (算法)硬币问题
  • (新)网络工程师考点串讲与真题详解
  • (一一四)第九章编程练习
  • ***php进行支付宝开发中return_url和notify_url的区别分析
  • .net core docker部署教程和细节问题
  • .net core webapi 大文件上传到wwwroot文件夹
  • .NET Framework .NET Core与 .NET 的区别
  • .NET 将多个程序集合并成单一程序集的 4+3 种方法
  • .net 连接达梦数据库开发环境部署
  • .net6Api后台+uniapp导出Excel
  • .net反编译的九款神器
  • .NET开源、简单、实用的数据库文档生成工具
  • .net开源工作流引擎ccflow表单数据返回值Pop分组模式和表格模式对比
  • .Net下使用 Geb.Video.FFMPEG 操作视频文件
  • :class的用法及应用
  • @SpringBootApplication 注解
  • @SuppressLint(NewApi)和@TargetApi()的区别