User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
13
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
Booting from a CD-ROM is slightly different, since CD-ROMs doesn’t have partitions. Only CD-ROMs with bootfile (no
harddisk or floppy emulation) are supported.
=> ide part
Partition Map for IDE device 1 -- Partition Type: ISO
Part Start Sect x Size Type
0 194229 1744 2048 U-Boot
1 190743 1741 2048 U-Boot
=>
The term ‘Part’ denotes the image number.
Please note that the image number starts with 0.
=> diskboot 400000 1:0
Loading from IDE device 1, partition 0: Name: (C) 2002 MPL AG Switzer Type: U-Boot
Image Name: kernel and initrd for PIP405
Created: 2002-04-15 11:29:27 UTC
Image Type: PowerPC Linux Multi-File Image (gzip compressed)
Data Size: 3571541 Bytes = 3487 kB=3MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 930353 Bytes = 908 kB=0MB
Image 1: 2641173 Bytes = 2579 kB=2MB
=>
3.3.13 docboot - boot from DOC device
The DiskOnChip boot uses similar parameters as the diskboot.
Abbreviation:
docb
=> help docb
docboot loadAddr dev
=>
3.3.14 doc - Disk-On-Chip sub-system
The doc commands are used for manipulating DiskOnChip devices.
Abbreviation:
doc
=> help doc
doc info - show available DOC devices
doc device [dev] - show or set current device
doc read addr off size
doc write addr off size - read/write `size' bytes starting at offset `off'
to/from memory address `addr'
doc erase off size - erase `size' bytes of DOC from offset `off'
=>
3.3.15 erase - erase FLASH memory
The erase command is used to erase the flash before writing to it.
Abbreviation:
era
=> help erase
erase start end
- erase FLASH from addr 'start' to addr 'end'
erase N:SF[-SL]
- erase sectors SF-SL in FLASH bank # N
erase bank N
- erase FLASH bank # N
erase all
- erase all FLASH banks
=>
Example:
=> era FFC00000 FFF7FFFF
Erase Flash from 0xffc00000 to 0xfff7ffff
........................................................ done
Erased 56 sectors
=>
Please note that the ‘start’ and ‘end’ parameter must contain the exactly start and endaddress of the sector.