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