User manual
U-Boot for MPL SBC
User Manual
2003 by MPL AG
10
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.3.3 bootd - boot default, i.e run ‘bootcmd’
Abbreviation:
bootd
This command is an alias to the command ‘run bootcmd’. If invoked, the commands in the environment variable
bootcmd will be executed. This variable contains the necessary commands to boot the default way. Example:
=> printenv bootcmd
bootcmd=usb stop; diskboot 400000 0:1; bootm
=>
run bootd:
=> bootd
stopping USB..
Loading from IDE device 0, partition 1: Name: hda1
Type: U-Boot
Image Name: Linux- mip405
Created: 2003-05-20 20:56:01 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 698265 Bytes = 681.9 kB
Load Address: 00000000
Entry Point: 00000000
## Booting image at 00400000 ...
Image Name: Linux- mip405
Created: 2003-05-20 20:56:01 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 698265 Bytes = 681.9 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.21-rc2 (root@localhost) (gcc version 3.1 20020604 (Red Hat Linux
Rawhide 3.1-6)) #1 Tue May 20 18:59:04 UTC 2003
3.3.4 bootm - boot application image from memory
This command is used to execute the u-boot image residing in the Memory.
Abbreviation:
bootm
=> help bootm
bootm [addr [arg ...]]
- boot application image stored in memory
passing arguments 'arg ...'; when booting a Linux kernel,
'arg' can be the address of an initrd image
=>
Information about the type of operating system, compression, load and entry point are retrieved from the image header. If
loading a Linux kernel and a RAMdisk the address of the RAMdisk image is the second argument.
Example:
=> bootm 400000
## Booting image at 00400000 ...
Image Name: Linux- mip405
Created: 2003-05-20 20:56:01 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 698265 Bytes = 681.9 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.21-rc2 (root@localhost) (gcc version 3.1 20020604 (Red Hat Linux
Rawhide 3.1-6)) #1 Tue May 20 18:59:04 UTC 2003
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 root=/dev/hda5
Calibrating delay loop... 395.67 BogoMIPS