02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

D<br />

VxWorks Boot Sequence<br />

Table D-1 documents the sequence of initialization for a ROMmed VxWorks or<br />

boot ROM image. This sequence only applies to images built from the traditional<br />

command line.<br />

NOTE: You can expect, in a future release, that this old initialization sequence will<br />

be obsoleted in favor of project and component initialization groups.<br />

Images built from the project facility follow a different but similar initialization<br />

sequence based on initGroups described in the component description files. See<br />

E.3 Project Initialization Order, p.238 for the project component initialization order.<br />

Table D-1<br />

VxWorks Boot Sequence<br />

Functions Activity File<br />

1. romInit( ) (a) disable interrupts romInit.s<br />

(b)<br />

(c)<br />

save boot type (cold/warm)<br />

enable DRAM and DRAM refresh<br />

(hardware independent)<br />

(d) branch to romStart( )<br />

(position independent code)<br />

2. romStart( ) (a) copy text (and data) segment from ROM to<br />

RAM<br />

bootInit.c<br />

(b)<br />

(c)<br />

clear memory (if necessary)<br />

decompress (if necessary)<br />

223

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

Saved successfully!

Ooh no, something went wrong!