rouboot命令linux,UBOOT超详细命令解析.pdf

UBOOT超详细命令解析.pdf

U-boot 发展到现在,他的命令行模式已经非常接近 Linux 下的 shell 了,命令行模式模式下支持“Tab”

键的命令补全和命令的历史记录功能。而且如果你输入的命令的前几个字符和别的命令不重复,那么

你就只需要打这几个字符即可,比如我想看这个 U-boot 的版本号,命令就是“ version”,但是在所有

的命令中没有其他任何一个的命令是由“v”开头的,所以只需要输入“v”即可。

[u-boot@MINI2440]# version

U-Boot 2009.11 ( 4 月 04 2010 - 12 :09:25)

[u-boot@MINI2440]# v

U-Boot 2009.11 ( 4 月 04 2010 - 12 :09:25)

[u-boot@MINI2440]# base

Base Address: 0

[u-boot@MINI2440]# ba

Base Address: 0

由于U-boot 支持的命令实在太多,一个一个细讲不现实,也没有必要。所以下面我挑一些烧写和

引导常用命令介绍一下,其他的命令大家就举一反三,或者“help”吧!

(1)获取帮助

命令:help 或 ?

功能:查看当前 U-boot 版本中支持的所有命令。

[u-boot@MINI2440]# help

? - alias for 'help'

askenv - get environment variables from stdin

base - print or set address offset

bdinfo - print Board Info structure

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

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

crc32 - checksum calculation

date - get/set/reset date & time

dcache - enable or disable data cache

dhcp - boot image via network using DHCP/TFTP protocol

echo - echo args to console

editenv - edit environment variable

eeprom - EEPROM sub-system

erase - erase FLASH memory

exit - exit script

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

flinfo - print FLASH memory information

fsinfo - print information about filesystems

fsload - load binary file from a filesystem image

go - start application at address 'addr'

help - print online help

i2c - I2C sub-system

icache - enable or disable instruction cache

iminfo - print header information for application image

imls - list all images found in flash

imx

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值