User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
9
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.3 U-Boot Commands
Following chapters describes the most used commands in alphabetic order.
3.3.1 base - print or set address offset
Abbreviation: ba
=> help base
base
- print address offset for memory commands
base off
- set address offset for memory commands to 'off'
=>
With this command you can set the base address of the memory region you like to access. When set, you need only to
work with the offsets to this address. Example:
=> ba
Base Address: 0x00000000
=> md ffc00000 20
ffc00000: 27051956 65d6b450 3cbc2652 003738ef '..Ve..P<.&R.78.
ffc00010: 00000000 00000000 43450692 05070401 ........CE......
ffc00020: 6b65726e 656c2061 6e642069 6e697472 kernel and initr
ffc00030: 6420666f 72205049 50343035 00000000 d for PIP405....
ffc00040: 000e3231 002906af 00000000 1f8b0808 ..21.)..........
ffc00050: beb7ba3c 0203766d 6c696e75 7800e45b ...<..vmlinux..[
ffc00060: 0d745465 7a7eefcc 042624ca 20131925 .tTez~...&$. ..%
ffc00070: 2413889a 90498c1a b6779249 98846ccf $....I...w.I..l.
=> ba ffc00000
Base Address: 0xffc00000
=> md020
ffc00000: 27051956 65d6b450 3cbc2652 003738ef '..Ve..P<.&R.78.
ffc00010: 00000000 00000000 43450692 05070401 ........CE......
ffc00020: 6b65726e 656c2061 6e642069 6e697472 kernel and initr
ffc00030: 6420666f 72205049 50343035 00000000 d for PIP405....
ffc00040: 000e3231 002906af 00000000 1f8b0808 ..21.)..........
ffc00050: beb7ba3c 0203766d 6c696e75 7800e45b ...<..vmlinux..[
ffc00060: 0d745465 7a7eefcc 042624ca 20131925 .tTez~...&$. ..%
ffc00070: 2413889a 90498c1a b6779249 98846ccf $....I...w.I..l.
=>
3.3.2 bdinfo - print Board Info structure
Shows the Board Information Structure which is used to pass information from the U-Boot to the Operating System.
Abbreviation:
bdi
=>bdi
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFFF80000
flashsize = 0x00400000
flashoffset = 0x00048B00
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0xF0000000
procfreq = 198 MHz
plb_busfreq = 99 MHz
pci_busfreq = 33 MHz
ethaddr = 00:60:C2:08:00:00
IP addr = 192.168.3.31
baudrate = 9600 bps
=>