Annexe, Uboot list commands – Rainbow Electronics QIL-A9260-C11 User Manual

Page 24

Advertising
background image

A

NNEXE

UBOOT list commands

Here is the list of the u-boot commands

? - alias for 'help'

autoscr - run script from memory

The autoscr command allows “shell” scripts to run under U-Boot. To create a U-Boot script image,
commands are written to a text file. Then the mkimage tool [of a suitable compiler] is used to
convert this text file into a U-Boot image using the image type script. This image can be loaded like
any other image file. Autoscr runs the commands in this image.

base - print or set address offset

base - print address offset for memory commands

base off - set address offset for memory commands to 'off'

Use the base command (short: ba) to print or set a "base address" used as an address offset for all
memory commands; the default value of the base address is 0, so all addresses you enter are used
unmodified. However, when you repeatedly have to access a certain memory region it can be very
convenient to set the base address to the start of this area and then use only the offsets.

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

The bootd (short: boot) executes the default boot command, i.e. what happens when you don't
interrupt the initial countdown. This is a synonym for the run bootcmd command.

bootm - boot application image from memory

bootm [addr [arg ...]]

- boot application image stored in memory passing arguments 'arg...'; when booting a
Linuxkernel,‘arg' can be the address of an initrd image. The bootm command is used to start
operating system images. From the image header it gets information about the type of the operating
system, the file compression method used (if any), the load and entry point addresses, etc. The
command will then load the image to the required memory address, uncompressing it on the fly if
necessary. Depending on the OS it will pass the required boot arguments and start the OS at it's
entry point. The first argument to bootm is the memory address (in RAM, ROM or flash memory)
where the image is stored, followed by optional arguments that depend on the OS. For Linux,
exactly one optional argument can be passed. If it is present, it is interpreted as the start address of a
initrd ramdisk image (in RAM, ROM or flash memory). In this case the bootm command consists
of three steps:

Datasheet GSG-00006-A01

24/34

Advertising