25.12.2012 Views

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Blackfin Processor Booting<br />

must perform the decompression on a compressed boot stream in a boot<br />

process. The default initialization executable files with decompression<br />

functions are included in <strong>VisualDSP++</strong>.<br />

The loader -compression switch directs the loader utility to perform the<br />

boot stream compression from the comm<strong>and</strong> line. <strong>VisualDSP++</strong> also<br />

offers a dedicated loader property page (see Figure 2-39) to manage the<br />

compression from the IDDE.<br />

The loader utility takes two steps to compress a boot stream. First, the<br />

utility generates the boot stream in the conventional way (builds data<br />

blocks), then applies the compression to the boot stream. The decompression<br />

initialization is the reversed process: the loader utility decompresses<br />

the compressed stream first, then loads code <strong>and</strong> data into memory segments<br />

in the conventional way.<br />

The loader utility compresses the boot stream on the .dxe-by-.dxe basis.<br />

For each input .dxe file, the utility compresses the code <strong>and</strong> data together,<br />

including all code <strong>and</strong> data from any associated overlay (.ovl) <strong>and</strong> shared<br />

memory (.sm) files.<br />

Compressed Streams<br />

Figure 2-33 illustrates the basic structure of a loader file with compressed<br />

streams.<br />

The initialization code is on the top of the loader file. The initialization<br />

code is loaded into the processor first <strong>and</strong> is executed first when a boot<br />

process starts. Once the initialization code is executed, the rest of the<br />

stream is brought into the processor. The initialization code calls the<br />

decompression routine to perform the decompression operation on the<br />

stream, <strong>and</strong> then loads the decompressed stream into the processor’s memory<br />

in the same manner a conventional boot kernel does when it<br />

encounters a compressed stream. Finally, the loader utility loads the<br />

uncompressed boot stream in the conventional way.<br />

2-56 <strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!