6 u-boot, 1 introduction to u-boot, 2 standard u-boot commands – Kontron COMe-bP5020 User Manual
Page 47: U-boot, Introduction to u-boot, Standard u-boot commands

www.kontron.com
47
User Guide
COMe-bP5020
6 U-Boot
6.1 Introduction to U-Boot
U-Boot is an open source bootloader software developed and maintained by DENX Software Engineering GmbH (http://
www.denx.de). Kontron provides U-Boot with all its standard features as well as Kontron-specific features for usage with Kon-
tron’s COMe-bP5020 module. This sof tware is pre-installed at the factory and is ready for use on power-up.
This chapter provides specific information on Kontron’s implementation of U-Boot and its usage. Please refer to the DENX web
site for up-to-date on-line documentation of all of U-Boot’s standard features.
6.2 Standard U-Boot Commands
U-Boot is provided with a set of standard commands for which documentation is available on the DENX web site. Some of the
standard commands have sub-groups which can be displayed when help for the main group command is requested. Where rel-
evant, further information concerning the usage of standard commands is provided in this guide to assist users in performing
specific functions.
The following table indicates the standard U-boot commands configured for the COMe-bP5020. The blue-shaded table cells in-
dicate standard U-Boot commands tested by Kontron. Only the standard U-Boot commands relevant for the normal operation
of the COMe-bP5020 U-Boot bootloader have been tested by Kontron.
Table 41: Standard U- Boot Commands Configured for the COMe-bP5020
COMMAND
DESCRIPTION
?
Alias for 'help'
base
Print or set address offset
bdinfo
Print Board Info structure
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
chpart
Change active partition
cmp
Memory compare
coninfo
Print console devices and information
cp
Memory copy
cpu
Multiprocessor CPU boot manipulation and release
crc32
Checksum calculation
dhcp
Boot image via network using DHCP/TFTP protocol
echo
Echo args to console
editenv
Edit environment variable
env
Environment handling commands
errata
Report errata workarounds
exit
Exit script
ext2load
Load binary f ile from an Ext2 f ilesystem
ext2ls
List files in a directory (default /)
false
Do nothing, unsuccessfully
fatinfo
Print information about f ilesystem
fatload
Load binary f ile from a dos filesystem
fatls
List files in a directory (default /)
fdt
Flattened device tree utility commands
fsinfo
Print information about f ilesystems
fsload
Load binary f ile from a f ilesystem image
go
Start application at address 'addr'
grepenv
Search environment variables