User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
16
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.3.22 iminfo - print header information for application image
Print information about the loaded image in the memory. The images are created with the mkimage command, see
Chapter 3.5.4 Creating bootable kernel images.
Abbreviation:
imi
=> help imi
iminfo addr [addr ...]
- print header information for application image starting at
address 'addr' in memory; this includes verification of the
image contents (magic number, header and payload checksums)
Example, information about a kernel image residing in the flash of a PIP405.
=> imi ffc00000
## Checking Image at ffc00000 ...
Image Name: kernel and initrd for PIP405
Created: 2002-04-16 13:25:38 UTC
Image Type: PowerPC Linux Multi-File Image (gzip compressed)
Data Size: 3619055 Bytes = 3.5 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 930353 Bytes = 908.5 kB
Image 1: 2688687 Bytes = 2.6 MB
Verifying Checksum ... OK
=>
3.3.23 irqinfo - print information about IRQs
Abbreviation:
irq
=> irq
Interrupt-Information:
Nr Routine Arg Count
25 03fca2d0 00000000 5
31 03fcbcb8 00000000 59528
=>
The Nr indicates the Interrupt line, routine shows the address of the interrupt handler, arg shows with which parameters
the routine is called an the count shows the number of handled interrupt.
Please note that the U-Boot is designed to access all devices without interrupt whenever possible. So for most
configurations the list is empty.
3.3.24 loadb - load binary file over serial line (kermit mode)
Used to receive the image via the serial line in kermit mode.
Abbreviation:
loadb
=> help loadb
loadb [ off ] [ baud ]
- load binary file over serial line with offset 'off' and baudrate 'baud'
=>
Example:
=> loadb 400000 57600
## Switch baudrate to 57600 bps and press ENTER ...
Here you have to change the baudrate of your terminal to 57600. Then press enter.
## Ready for binary (kermit) download to 0x00400000 at 57600 bps...
Now you can send the image in kermit mode, please refer to the documentation of your terminal program how to do this.
## Total Size = 0x000187e6 = 100326 Bytes
## Start Addr = 0x00400000
## Switch baudrate to 9600 bps and press ESC ...
Here you have to change the baudrate of your terminal back to 9600. Then press escape.
=>