31.01.2013 Views

using the bootstrap loader

using the bootstrap loader

using the bootstrap loader

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WRITING A CUSTOM FIRST-STAGE DRIVER<br />

5.5 USING THE MULTIBUS® II TRANSPORT PROTOCOL<br />

If <strong>the</strong> driver you are creating functions within a MUL TIBUS I environment, you need not<br />

read this section. Skip to Section 5.6.<br />

If <strong>the</strong> driver you are creating functions within a MUL TIBUS II environment, you must<br />

write <strong>the</strong> driver code to use <strong>the</strong> MUL TIBUS II message transport protocol. To help you<br />

accomplish this task, Intel provides a small, single-thread communication system that<br />

enables Bootstrap Loader drivers to communicate with device controllers within a<br />

MUL TIBUS II environment. This communication system is called <strong>the</strong> Bootstrap Loader<br />

Communication System.<br />

The following paragraphs provide an overview of <strong>the</strong> Bootstrap Loader Communication<br />

System, which uses concepts similar to <strong>the</strong> Nucleus Communication System. Should you<br />

desire a more complete description of <strong>the</strong>se communication system concepts, refer to <strong>the</strong><br />

iRMX® II Nucleus User's Guide.<br />

The Bootstrap Loader Communication System can be thought of as a subset of <strong>the</strong> Nucleus<br />

Communication System. It fully conforms to <strong>the</strong> MUL TIBUS II transport protocol<br />

suitable for a limited bootloading environment. Unlike <strong>the</strong> Nucleus Communication<br />

System, <strong>the</strong> Bootstrap Loader Communication system is designed to handle <strong>bootstrap</strong><br />

loading only. As a result, <strong>the</strong> system is synchronous in nature. In o<strong>the</strong>r words, procedures<br />

execute to completion one after <strong>the</strong> o<strong>the</strong>r; no multitasking or need to handle asynchronous<br />

events exists.<br />

MUL TIBUS II transport protocol functions supported by <strong>the</strong> Bootstrap Loader<br />

Communication System include:<br />

• control and data message types,<br />

• a subset of <strong>the</strong> request/response transaction model,<br />

• send and receive transaction models,<br />

• message broadcasting,<br />

• access to device interconnect space.<br />

To support <strong>the</strong>se functions, Intel supplies a set of system utilities grouped toge<strong>the</strong>r in a<br />

Bootstrap Loader Message Passing System Module. As a programmer, you have access to<br />

<strong>the</strong>se utilities through system calls you place in your driver code. The remainder of this<br />

section explains <strong>the</strong> supported functions in <strong>the</strong> Bootstrap Loader Communications System<br />

and shows you how to use each of <strong>the</strong> utilities.<br />

Bootstrap Loader 5-11

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

Saved successfully!

Ooh no, something went wrong!