首先,先看看uboot都有那些命令:(这里我使用的是OKMX6ULL-S2开发板的linux版),不同的开发板的系统中的命令可能会稍有差异,对于我们学习影响不大。

=> help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bmode   - sd1|sd2|qspi1|normal|usb|sata|ecspi1:0|ecspi1:1|ecspi1:2|ecspi1:3|esdhc1|esdhc2|esdhc3|esdhc4 [noreset]
bmp     - manipulate BMP image data
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
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
clocks  - display clocks
clrlogo - fill the boot logo area with black
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dcache  - enable or disable data cache
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
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4size- determine a file's size
ext4write- create a file in the root directory
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
fdt     - flattened device tree utility commands
flinfo  - print FLASH memory information
fstype  - Look up a filesystem type
fuse    - Fuse sub-system
go      - start application at address 'addr'
gpio    - query and control gpio pins
help    - print command description/usage
i2c     - I2C sub-system
icache  - enable or disable instruction cache
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
load    - load binary file from a filesystem
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
md      - memory display
mdio    - MDIO utility commands
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
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)
ping    - send ICMP ECHO_REQUEST to network host
pmic    - PMIC
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
save    - save file to a filesystem
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
size    - determine a file's size
sleep   - delay execution for some time
source  - run script from memory
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version

每个命令都有功能说明 ,如果还是不清除,可以使用 help  *** ,来查看详细的指令说明如:

=> help print
printenv - print environment variablesUsage:
printenv [-a]- print [all] values of all environment variables
printenv name ...- print value of environment variable 'name'

后面会将一部分命令的使用逐步展开。欢迎跟踪。

嵌入式系统学习笔记之五-- uboot常用命令 概述相关推荐

  1. 嵌入式系统学习笔记之五-uboot常用命令之补充

    1.nand 命令 uboot 也支持 NAND Flash 的操作命令,现在我们使用的 NAND 版的开发板,进行本节讲解. 输入"help nand"即可查看 NAND 相关命 ...

  2. 嵌入式系统学习笔记之五-- uboot常用命令 环境变量

    uboot 中环境变量的作用就是在不改变源码.不用重新编译的情况下,可以使我们通过设置环境变量的值来改变 uboot 的一些设置.uboot 开机时会一次性从存储介质(启动介质)中读取全部的环境变量到 ...

  3. Linux学习笔记:Linux常用命令总结

    文章目录 前言 Linux学习笔记:Linux常用命令总结 1. 目录命令 1.1 Linux目录结构 1.2 cd命令 切换工作目录 1.3 ls命令 显示目录下文件 1.4 mkdir命令 创建目 ...

  4. uboot和系统移植2(uboot常用命令)

    1.5.uboot的常用命令1 1.5.1.类似linux终端的行缓冲命令行 (1)行缓冲的意思就是:当我们向终端命令行输入命令的时候,这些命令没有立即被系统识别,而是被缓冲到一个缓存区(也就是系统认 ...

  5. 嵌入式系统想学习笔记之五--uboot之常用命令

    1. 常用操作命令 1..1 网络命令 使用网络命令之前,首先需要设置开发板的 IP 地址和 mac 地址: => setenv ipaddr 192.168.0.232=> setenv ...

  6. 嵌入式系统学习笔记之ftp

    虽然在嵌入式系统中,我们可以通过串口的Xmodem模式传送小的文件,但是毕竟不符合我们的使用习惯,并且串口传输速率太低,不能满足我们大部分的需求,要传输文件的时候,我们还是使用网络较为熟悉,今天我将我 ...

  7. Linux学习笔记(四)-Linux常用命令

    常用命令格式 #command(指令) [-options] parameter1(参数1) parameter2(参数2)... 大小写区分,tab自动补全 Shell特殊字符 通配符 管道Pipe ...

  8. Emacs学习笔记(6):常用命令备忘(打印版)

    博客搬家,加上换办公区,Emacs的学习计划就耽搁了. 可能是因为年纪大了,记性大不如以前,新学的很多Emacs快捷键/命令都记不住.所以要整理一个常用命令清单(与当初学习Vim一样),并且打印出来贴 ...

  9. Linux学习笔记之Linux常用命令

    从事IT行业的很多人都会使用Linux的常用命令,但是知道这些常用命令全称的人并不多,让我们来看看这些常用命令对应的全称吧! Linux命令大全(手册) https://www.linuxcool.c ...

最新文章

  1. 酷炫的深度学习网络图怎么绘制出来的?
  2. 怎样解决样本不平衡问题
  3. DIV与Table布局在大型网站的可用性比较
  4. 知识图谱理论与实践(以问答系统为例)
  5. TCP 三次握手 和 四次挥手
  6. 1792 关于数论中的互质数的最大不能组合数
  7. JavaScript事件捕获与事件冒泡原理 IE和DOM之间存在哪些主要差别
  8. uinty粒子系统子物体变大_Unity的粒子系统(一)基础篇
  9. 持有数字货币的手机丢了,数字货币还能找回来吗?该注意些什么?
  10. Eclipse 取消 Import 堆叠
  11. Silverlight 游戏开发小技巧:实现街霸4的选人界面
  12. 2021桂花开得真晚,晚了将近一个月
  13. 求任意多边形面积(凹多边形和凸多边形)
  14. java socket 发对象_Java Socket 发送对象
  15. 细数SAP Business One主流实施与服务商
  16. 一个完整的数据挖掘项目-纽约市建筑能源之星预测
  17. iwork09破解方法及解决SFCompatibility错误方法
  18. k8s节点NotReady状态
  19. visual studio 2019 + WinDDK 7600.16385.0编写驱动
  20. 叠加dgv中相同的行信息

热门文章

  1. cefsharp 发送请求服务器_WEB服务器之HTTP协议
  2. strut2服务器与android交互数据,用Android搭建客户端 手机和服务器交互开发
  3. MySQL8.0新特性——锁读取
  4. 剑指offer-面试题20.顺时针打印矩阵
  5. hdu 1598 find the most comfortable road
  6. JavaEE路径陷阱之getRealPath
  7. 转载:如何区分空间参考、坐标系统、投影、基准面和椭圆体?
  8. SQL学习笔记 where子句用法,like关键字 嵌套查询
  9. 接手一个网站后应做什么
  10. scrum工具leangoo缺陷管理看板示例