D.2 auto boot from a disk – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 268

Advertising
background image

Auto Boot

MOTLoad Firmware Package User’s Manual (6806800C24D)

268

D.2

Auto Boot From a Disk

To auto boot from a floppy disk, hard disk, or CD-ROM, use the diskBoot command.
MOTLoad selects the boot device from a scan list provided as part of the command-line
arguments (if stored in mot-script-boot) or from the diskBoot’s corresponding GEV: mot-boot-
path
. Refer to

Reserved GEVs

on page 236

for additional information on this GEV.

Note Because the building of the device tree is performed in background, it is possible to enter
a race condition between discovery of the boot device by MOTLoad and a boot request by
diskBoot

(whether manually entered or in mot-script-boot). It is advised that users precede a

diskBoot

command by waitProbe to ensure that the boot device has been discovered and

added to the device tree.

The following depicts an example of setting up an auto boot from a disk:

MOTLoad>gevEdit mot-script-boot

(Blank line terminates input.)

diskBoot<cr>

<cr>

MOTLoad>

MOTLoad>gevEdit mot-boot-path

(Blank line terminates input.)

/dev/scsi0/hdisk0\1\\boot\os.bin<cr>

<cr>

MOTLoad>

In the above example, MOTLoad downloads the file to the user download area by default. The
execution address offset is 0, also by default. The boot file is located on device
/dev/scsi0/hdisk0

, in partition 1, under the /boot directory, and the name of the file

isos.bin

mot-script-boot: diskBoot –f/dev/scsi0/hdisk0\1\\boot\os.bin

mot-boot-path: <leave undefined>

In the above examples, auto boot is initiated on the next reset or power cycle of the board.

Advertising