02.03.2014 Views

Tornado

Tornado

Tornado

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.

4<br />

Projects<br />

Configuring Boot Parameters<br />

To customize a boot program for your development environment, you must edit<br />

$WIND_BASE/target/config/bspname/config.h (the configuration file for your BSP).<br />

The file contains the definition of DEFAULT_BOOT_LINE, which includes<br />

parameters identifying the boot device, IP addresses of host and target, the path<br />

and name of the VxWorks image to be loaded, and so on. For information about<br />

the boot line parameters defined by DEFAULT_BOOT_LINE, see 2.6.4 Description of<br />

Boot Parameters, p.48 and<br />

Help>Manuals contents>VxWorks Reference Manual>Libraries>bootLib.<br />

4<br />

Building a Boot Image<br />

To build the new boot program, select Build>Build Boot ROM from the Workspace<br />

window. Select the BSP for which you want to build the boot program and the type<br />

of boot image in the Build Boot ROM dialog box (Figure 4-48). Then click OK.<br />

Figure 4-48<br />

Build Boot ROM<br />

The three main options for a boot images are:<br />

bootrom<br />

A compressed boot image.<br />

bootrom_uncmp<br />

An uncompressed boot image.<br />

bootrom_res<br />

A ROM-resident boot image.<br />

The .hex options are variants of the main options, with Motorola S-Record output.<br />

145

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

Saved successfully!

Ooh no, something went wrong!