beautypg.com

3 standard u-boot commands, Standard u-boot commands, Smarc-samx6i / bootloader operation – Kontron SMARC-sAMX6i User Manual

Page 31

background image

SMARC-sAMX6i / Bootloader Operation

5.3

Standard U-Boot Commands

U-Boot is provided with a library of standard commands for which documentation is provided on the DENX website. Some
of the below listed standard commands have sub-groups which can be displayed when help for the main group command is
requested.

Where relevant, further information concerning the usage of standard commands is provided in this guide to assist users
in performing specific functions.

COMMAND

DESCRIPTION

?

Alias for 'help'

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

clocks

Display clocks

clrlogo

Fill the boot logo area with black

cmp

Memory compare

coninfo

Print console devices and information

cp

Memory copy

crc32

Checksum calculation

dcache

enable or disable data cache

dhcp

Boot image via network using DHCP/TFTP protocol

echo

Echo args to console

editenv

Edit environment variable

env

Environment handling commands

exit

Exit script

ext2load

Load binary file from a Ext2 filesystem

ext2ls

List files in a directory (default /)

false

Do nothing, unsuccessfully

fatinfo

Print information about filesystem

fatload

Load binary file from a dos filesystem

fatls

List files in a directory (default /)

fdt

Flattened device tree utility commands

go

Start application at address 'addr'

gpio

input/set/clear/toggle gpio pins

grepenv

search environment variables

help

Print command description/usage

i2c

I2C subsystem

icache

enable or disable instruction cache

iminfo

Print header information for application image

imxotp

One-Time Programable sub-system for i.MX processors

imxtract

Extract a part of a multi-image

itest

Return true/false on integer compare

loadb

Load binary file over serial line (kermit mode)

loads

Load S-Record file over serial line

loady

Load binary file over serial line (ymodem mode)

loop

Infinite loop on address range

ls

List files in a directory (default /)

md

Memory display

mdio

MDIO utility commands

mii

MII utility commands

mm

Memory modify (auto-incrementing address)

mmc

MMC sub system

mmcinfo

Display MMC info

mtest

Simple RAM read/write test

mw

Memory write (fill)

nfs

boot image via network using NFS protocol

nm

Memory modify (constant address)

pci

List and access PCI Configuration Space

ping

Send ICMP ECHO_REQUEST to network host

31