Difference between revisions of "U-Boot quick reference"

From Compulab Mediawiki
Jump to: navigation, search
m (1 revision(s))
 
Line 1: Line 1:
This page provides quick U-Boot command reference. Please refer to the [http://www.denx.de/wiki/U-Boot/Documentation U-Boot project documentation] for detailed descriptions of the features listed below.
+
#REDIRECT [[U-Boot: Quick reference]]
To get more information about a specific command, type {{cmd|help [command]}} in the U-Boot command line.
 
 
 
== Information commands ==
 
* {{cmd|bdinfo}} -  print Board Info structure
 
* {{cmd|coninfo}} -  print console devices and information
 
* {{cmd|flinfo}} -  print FLASH memory information
 
* {{cmd|help}} -  print online help
 
 
 
== Memory commands ==
 
* {{cmd|base}} -  print or set address offset
 
* {{cmd|crc32}} -  checksum calculation
 
* {{cmd|cmp}} -  memory compare
 
* {{cmd|cp}} -  memory copy
 
* {{cmd|md}} -  memory display
 
* {{cmd|mm}} -  memory modify (auto incrementing)
 
* {{cmd|mtest}} -  simple RAM test
 
* {{cmd|mw}} -  memory write (fill)
 
* {{cmd|nm}} -  memory modify (constant address)
 
* {{cmd|loop}} -  infinite loop on address range
 
 
 
== Flash memory commands ==
 
* {{cmd|cp}} -  memory copy
 
* {{cmd|flinfo}} -  print FLASH memory information
 
* {{cmd|erase}} -  erase FLASH memory
 
* {{cmd|protect}} -  enable or disable FLASH write protection
 
 
 
== Execution control commands ==
 
* {{cmd|autoscr}} -  run script from memory
 
* {{cmd|bootm}} -  boot application image from memory
 
* {{cmd|go}} -  start application at address 'addr'
 
* {{cmd|loop}} -  infinite loop on address range
 
* {{cmd|exit}} -  exit script
 
 
 
== Download commands ==
 
* {{cmd|bootp}} -  boot image via network using BOOTP/TFTP protocol
 
* {{cmd|dhcp}} -  invoke DHCP client to obtain IP/boot params
 
* {{cmd|loadb}} -  load binary file over serial line (kermit mode)
 
* {{cmd|loads}} -  load S?Record file over serial line
 
* {{cmd|rarpboot}} -  boot image via network using RARP/TFTP protocol
 
* {{cmd|tftpboot}} -  boot image via network using TFTP protocol
 
* {{cmd|nfs}} -  boot image via network using NFS protocol
 
* {{cmd|ping}} -  send ICMP ECHO REQUEST to network host
 
 
 
== Environment variables commands ==
 
* {{cmd|printenv}} -  print environment variables
 
* {{cmd|saveenv}} -  save environment variables to persistent storage
 
* {{cmd|setenv}} -  set environment variables
 
* {{cmd|run}} -  run commands in an environment variable
 
* {{cmd|bootd}} -  boot default, i.e., run 'bootcmd'
 
 
 
== File system support commands ==
 
* {{cmd|fatinfo}} -  print information about a FAT file system
 
* {{cmd|fatload}} -  load binary file from a FAT file system
 
* {{cmd|fatls}} -  list files in a FAT file system directory (default /)
 
* {{cmd|fsinfo}} -  print information about JFFS2 file system
 
* {{cmd|fsload}} -  load binary file from a JFFS2 file system image
 
* {{cmd|ls}} -  list files in a JFFS2 file system directory (default /)
 
 
 
== NAND flash support ==
 
* {{cmd|nand}} -  NAND sub-system control
 
* {{cmd|nboot}} -  boot from NAND device
 
 
 
== MMC support ==
 
* {{cmd|mmcinit}} -  detect MMC card
 
 
 
== USB support ==
 
* {{cmd|usb}} -  USB sub-system control
 
* {{cmd|usbboot}} -  boot from USB device
 
 
 
== Bitmap support ==
 
* {{cmd|bmp}} -  manipulate BMP image data
 
 
 
== Miscellaneous commands ==
 
* {{cmd|echo}} -  echo arguments to console
 
* {{cmd|reset}} -  Perform RESET of the CPU
 
* {{cmd|sleep}} -  delay execution for some time
 
* {{cmd|version}} -  print monitor version
 
* {{cmd|test}} -  minimal test, like /bin/bash
 
* {{cmd|?}} - alias for {{cmd|help}}
 

Latest revision as of 07:44, 23 December 2009