User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
25
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.3.44 usbboot - boot from USB device
Booting from USB is a little bit more complex than from other boot sources. This is because the usb subsystem must first
be started. For more information refer to 3.3.43 usb - USB sub-system.
Note: Booting via USB is only tested with floppy, although other devices may also work.
=> usb start
(Re)start USB...
USB: scanning bus for devices... 2 USB Devices found
=>
Invoke the command to scan for USB Storage devices:
=> usb scan
Scan for storage device:
scanning bus for storage devices...
Device 0: (2:0) Vendor: TEAC Prod.: FD-05PUB Rev: 1026
Type: Removable Hard Disk
Capacity: 1.4 MB = 0.0 GB (2880 x 512)
Now you can use the usb boot command:
Abbreviation:
usbo
=> help usbbo
usbboot loadAddr dev:part
=>
=> usbbo 400000 0:0
error reading partinfo...try to boot raw
Loading from USB device 0, partition 0: Name: Raw Type: U-Boot
First Block: 0, # of blocks: 2880, Block Size: 512
Image Name: Linux-2.4.20
Created: 2003-04-23 21:42:58 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 724166 Bytes = 707.2 kB
Load Address: 00000000
Entry Point: 00000000
......................................................................
=>
The ‘error reading partinfo’ can be ignored. since it is possible to boot also from a USB harddisk, the U-Boot tries to read
the partition table first.
NOTE: Please make sure that you shut down the usb sub-system before you starting the image
in the memory:
=> usb stop
3.3.45 pip405/mip405/vcma9 - Board specific Cmds
For every MPL SBC a board specific command exists. These are mostly used to program a new U-Boot to the flash, but
you can also retrieve information about Board revision, configuration options and PLD revisions.
Example for a VCMA9:
=> vcma9 info
Board: VCMA9-1 PCB Rev: A SN: 102 PLD: 0,0
SDRAM: 4 chips 4Mx8x4
=>
Depending on your MPL board different commands are supported. One command which is always available is used to
update the u-boot. Please refer to chapter 3.5.1 Updating the bootloader for further information.