User manual

U-Boot for MPL SBC
User Manual
2003 by MPL AG
15
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.3.20 ide - IDE sub-system
The IDE subsystem is controlled with the ide command.
Abbreviation:
ide
=> help ide
ide reset - reset IDE controller
ide info - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
to/from memory address `addr'
=>
ide reset reinitializes the IDE controller and shows the available devices:
=> ide reset
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: TOSHIBA MK2104MAV Firm: E4.02 A Ser#: 68I32705
Type: Hard Disk
Capacity: 2067.1 MB = 2.0 GB (4233600 x 512)
Device 1: not available
=>
ide info shows the available devices
ide device shows/sets the current device. This is used with the commands ide read, ide write end ide part.
=> ide dev
IDE device 0: Model: TOSHIBA MK2104MAV Firm: E4.02 A Ser#: 68I32705
Type: Hard Disk
Capacity: 2067.1 MB = 2.0 GB (4233600 x 512)
=>
ide part shows the partition table of the current device or of the device specified by the parameter:
=> ide part 0
Partition Map for IDE device 0 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 63 19089 4
2 19152 19152 4
3 38304 4195296 5 Extd
5 38367 4094433 83
6 4132863 100737 82
=>
ide read/write are used to read from / write to the current device. These commands are rarely used. To boot from ide
use the command 3.3.12 diskboot- boot from IDE device instead.
Note for CD-ROMs:
CD-ROMs (ATAPI Devices) don’t contain a partition table, but they may contain one or more bootrecords. Supported are
only boot images with no emulation. The bootrecords are listed like partitions on a harddisk but with the first boot entry
number starting at 0.
3.3.21 isdram - print SDRAM configuration information
SDRAM configuration information is only available if the SDRAM consist of a DIMM. It prints the values from the SPD
EEPROM of the SDRAM DIMM.
Abbreviation:
isdram
=> help isdram
isdram chip
- print SDRAM configuration information
(valid chip values 50..57)
=>
An example of this command is not provided, because this command is seldom used and the information relays only on
the DIMM manufacturer.