Development environment-command analysis under uboot

There are only a few commands commonly used in uboot, and many of them are unfamiliar. If you understand briefly, you may use them later,

 

There are many commands that may be "customized". At the same time, you need to understand the implementation of custom CMD under uboot, so I won't talk about it this time.

 

 

The commands under current uboot are as follows:

?       - alias for 'help'
          打印当前注册的所有命令
base    - print or set address offset
		  打印或设置地址偏移量
bdinfo  - print Board Info structure
		  打印板级信息结构
boot    - boot default, i.e., run 'bootcmd'
		  run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
		  run 'bootcmd'
bootelf - Boot from an ELF image in memory
		  从内存中的ELF镜像启动
bootm   - boot application image from memory
		  从内存中引导应用镜像启动
bootp   - boot image via network using BOOTP/TFTP protocol
		  通过BOOTP/TFTP协议使用网络启动镜像
bootvx  - Boot vxWorks from an ELF image
		  使用ELF镜像启动vxWorks
cipher_test- CIPHER Encrypt And Decrypt Test
		  密码加密和解密测试
cmp     - memory compare
		  内存比较
coninfo - print console devices and information
		  打印控制台设备和信息
cp      - memory copy
		  内存拷贝
crc32   - checksum calculation
		  CRC32校验和计算
dcache  - enable or disable data cache
		  使能/失能数据cache
ddr     - ddr training function
		  内存训练函数
decjpg  - jpgd   - decode jpeg picture.
		  解码jpeg图像
decjpg [format]
dhcp    - boot image via network using DHCP/TFTP protocol
		  使用DHCP/TFTP协议通过网络启动映像
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
		  退出脚本
false   - do nothing, unsuccessfully
		  什么也不做,但没有成功
flinfo  - print FLASH memory information
		  打印闪存信息
getinfo - print hardware information
		  打印硬件信息
go      - start application at address 'addr'
		  在地址“addr”启动应用程序
go_a53cpu1- start a53-cpu1 at address 'addr'
		  在地址“addr”启动a53-cpu1
gzwrite - unzip and write memory to block device
		  解压并写入内存以阻止设备
hash    - Calcluate hash.
		  计算哈希散列值
hash_test- hash_test [x]:[0] SHA1; [1] SHA256; [2] HMAC-SHA1; [3] HMAC-SHA256;
help    - print command description/usage
		  打印命令描述/使用
icache  - enable or disable instruction cache
		  使能/失能Icacha
iminfo  - print header information for application image
		  打印应用程序图像的标题信息
imxtract- extract a part of a multi-image
		  提取multi-image的一部分
itest   - return true/false on integer compare
		  对整数比较返回true/false
klad_test- KLAD Test
loadb   - load binary file over serial line (kermit mode)
		  通过串行线加载二进制文件(kermit模式)
loads   - load S-Record file over serial line
		  通过串行线加载S-Record文件
loadx   - load binary file over serial line (xmodem mode)
		  通过串行线加载二进制文件(xmodem模式)
loady   - load binary file over serial line (ymodem mode)
		  通过串行线加载二进制文件(ymodem模式)
loop    - infinite loop on address range
		  地址范围无限循环
md      - memory display
		  内存显示
mii     - MII utility commands
		  MII实用程序命令
mm      - memory modify (auto-incrementing address)
		  内存修改(自动递增地址)
mw      - memory write (fill)
		  内存写(填充)
nfs     - boot image via network using NFS protocol
		  使用NFS协议通过网络引导映像
nm      - memory modify (constant address)
		  内存修改(常量地址)
part    - disk partition related commands
		  与磁盘分区相关的命令
ping    - send ICMP ECHO_REQUEST to network host
		  发送ICMP回显请求到网络主机
printenv- print environment variables
		  打印环境变量
protect - enable or disable FLASH write protection
		  启用或禁用FLASH写保护
pxe     - commands to get and boot from pxe files
		  从pxe文件获取和引导的命令
reset   - Perform RESET of the CPU
		  执行CPU重置
rng_test- RNG Test
rsa_enc_test- RSA PKCS1# V1_5 encrypt/decrypt Test
		  RSA PKCS1# V1 5加密/解密测试
rsa_sign_test- RSA PKCS1# V1_5 Sign Test
		  RSA PKCS1# V1 5符号测试
run     - run commands in an environment variable
		  在环境变量中运行命令
saveenv - save environment variables to persistent storage
		  将环境变量保存到持久存储中
setenv  - set environment variables
		  设置环境变量
setexpr - set environment variable as the result of eval expression
		  将环境变量设置为eval表达式的结果
setvobg - setvobg   - set vo backgroud color.
	- setvobg [dev color]
		  设置vo背景颜色。
sf      - SPI flash sub-system
		  SPI flash子系统
showvar - print local hushshell variables
		  打印本地hushshell变量
sleep   - delay execution for some time
		  延迟执行一段时间
source  - run script from memory
		  从内存中运行脚本
startgx - startgx   - open graphics layer.
	- startgx [layer addr stride x y w h]
	  开放图像层。
startvl - startvl   - open video layer.
	- startvl [layer addr stride x y w h]
	  开放视频层。
startvo - startvo   - open vo device with a certain output interface.
	- startvo [dev intftype sync]
	  打开具有特定输出接口的vo设备。
stopgx  - stopgx   - close graphics layer.
	- stopgx [layer]
	  关闭图像层。
stopvl  - stopvl   - close video layer.
	- stopvl [layer]
	  关闭视频层。
stopvo  - stopvo   - close interface of vo device.
	- stopvo [dev]
	  关闭vo设备接口。
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
unzip   - unzip a memory region
		  解压缩内存区域
usb     - USB sub-system
		  USB子系统
usbboot - boot from USB device
		  USB设备引导
version - print monitor, compiler and linker version
		  打印编译器和链接器版本

 

 

After reading it... it feels useless...=.=

Guess you like

Origin blog.csdn.net/Ivan804638781/article/details/100193302