Rainbow Electronics QIL-A9260-C11 User Manual

Page 25

Advertising
background image

first the Linux kernel image is uncompressed and copied into RAM, then the ramdisk image is
loaded to RAM, and finally control is passed to the Linux kernel, passing information about the
location and size of the ramdisk image.

To boot a Linux kernel image without a initrd ramdisk image, the following command can be used:

=> bootm $(kernel_addr)

If a ramdisk image is used, type:

=> bootm $(kernel_addr) $(ramdisk_addr)

Both examples imply that the variables used are set to correct addresses for a kernel and an initrd
ramdisk image.When booting images that have been loaded to RAM (for instance using TFTP
download) you have to be careful that the locations where the (compressed) images were stored do
not overlap with the memory needed to load the uncompressed kernel. For instance, if you load a
ramdisk image at a location in low memory, it may be overwritten when the Linux kernel gets
loaded. This will cause undefined system crashes.

bootp - boot image via network using BootP/TFTP protocol
bootp [loadAddress] [bootfilename]

cmp - memory compare

cmp [.b, .w, .l] addr1 addr2 (count)

The cmp command tests of the contents of two memory areas and determines whether or not the
contents of the two memory areas are identical or not. The command will either test the whole area
as specified by the 3rd (count) argument or stop at the first difference if the count argument is not
specified.

coninfo - print console devices and information

The coninfo command (short: conin) displays information about the available console I/O devices.

QIL-A9260> coninfo
List of available devices:
serial 80000003 SIO stdin stdout stderr

The output contains the device name, flags, and the current usage. For example, the output “serial
80000003 SIO stdin stdout stderr” means that the serial device is a system device (flag'S') which
provides input (flag 'I') and output (flag 'O') functionality and is currently assigned to the 3 standard
I/O streams stdin, stdout, and stderr.

Datasheet GSG-00006-A01

25/34

Advertising