31.01.2013 Views

using the bootstrap loader

using the bootstrap loader

using the bootstrap loader

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONFIGURING THE FIRST STAGE<br />

• If you respond with a pathname that contains no device name, <strong>the</strong><br />

Bootstrap Loader looks for a ready device by searching through <strong>the</strong> list<br />

of devices (in <strong>the</strong> order <strong>the</strong> %DEVICE macros are listed in <strong>the</strong><br />

BS1.A86 or BSIMB2.A86 file). The search continues until a ready<br />

device is found or until no more tries are allowed (as limited by <strong>the</strong><br />

optional %RETRIES macro).<br />

• If <strong>the</strong> Bootstrap Loader finds a ready device or you respond with a<br />

pathname containing a device name, <strong>the</strong> Bootstrap Loader tries once to<br />

load <strong>the</strong> file you requested.<br />

-- If you entered a pathname is, it tries to load <strong>the</strong> file with that<br />

pathname.<br />

If you entered only a CARRIAGE RETURN, it tries to load <strong>the</strong><br />

file with <strong>the</strong> default pathname.<br />

Whenever <strong>the</strong> Bootstrap Loader's asterisk prompt appears, you can include a Debug<br />

Switch along with a device and/or filename specification. Chapter 2 describes <strong>the</strong> Debug<br />

Switch.<br />

3.2.8 %LOADFILE Macro<br />

The %LOADFILE macro causes <strong>the</strong> Bootstrap Loader to display <strong>the</strong> pathname of <strong>the</strong> file<br />

it loads. If you are loading an iRMX I system, this will be <strong>the</strong> pathname of <strong>the</strong> load file. If<br />

you are loading an iRMX II system, <strong>the</strong> pathname of <strong>the</strong> Bootstrap Loader's third stage<br />

will be displayed. The macro displays <strong>the</strong> pathname at <strong>the</strong> console after loading <strong>the</strong> second<br />

stage but before loading <strong>the</strong> load file (or third stage).<br />

If you include <strong>the</strong> %LOADFILE macro, you must also include ei<strong>the</strong>r <strong>the</strong> %CONSOLE or<br />

%MANUAL macros to enable <strong>the</strong> Bootstrap Loader to access <strong>the</strong> console.<br />

The syntax of <strong>the</strong> %LOADFILE macro is<br />

%LOADFILE<br />

There are no parameters associated with this macro.<br />

3.2.9 %DEFAULTFILE Macro<br />

The %DEFAULTFILE macro specifies <strong>the</strong> complete pathname of <strong>the</strong> default file. The<br />

default file is <strong>the</strong> file that <strong>the</strong> second stage loads whenever no o<strong>the</strong>r file is specified.<br />

The syntax of <strong>the</strong> %DEFAULTFILE macro is<br />

%DEF A UL TFILE('pathname')<br />

Bootstrap Loader 3-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!