02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

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.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

NOTE: The <strong>BSP</strong> VTS needs exclusive access to the serial device specified as<br />

T1_SER_DEVICE in bspname.T1 (or T2_SER_DEVICE in bspname.T2). Thus, you<br />

must quit all applications or modules that access the specified serial device before<br />

you can run a <strong>BSP</strong> VTS test. In addition, the T1_SER_DEVICE (or T2_SER_DEVICE)<br />

serial device must be the one to which the target console is connected.<br />

Windows Hosts<br />

UNIX Hosts<br />

To run the <strong>BSP</strong> VTS on a Windows host:<br />

1. Change directories to:<br />

windbase\host\x86-win32\bin<br />

windbase is the directory pointed to by the WIND_BASE environment variable.<br />

2. Edit bashrc.bspVal to configure the Tornado environment. The instructions<br />

are in the file.<br />

3. Invoke the bash shell:<br />

bash -rcfile bashrc.bspVal<br />

After the bash shell responds with a prompt (bash$), type in the bspVal<br />

command exactly as you would on a UNIX host (described below). For example:<br />

bash$ bspVal tgtSvr1 -b mv147 -s tgtSvr2 -sb mv147 -all<br />

To start the <strong>BSP</strong> VTS test, run the UNIX shell script host/hostType/bin/bspVal on<br />

the host.<br />

For example:<br />

% bspVal tgtSvr1 -b mv147 -s tgtSvr2 -sb mv147 -all<br />

The host should respond:<br />

<strong>BSP</strong> VALIDATION TEST<br />

-------------------<br />

Target server<br />

: tgtSvr1<br />

<strong>BSP</strong><br />

: mv147<br />

Second target server<br />

: tgtSvr2<br />

Second <strong>BSP</strong><br />

: mv147<br />

Log file<br />

: /folk/lyle/bspValidationLog.671<br />

Model Test :<br />

sysModel() return value : PASS<br />

154

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

Saved successfully!

Ooh no, something went wrong!