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.

J<br />

<strong>BSP</strong> Validation Test Suite Reference Entries<br />

OPTIONS<br />

If you specify a two-target test, make sure that the second target (reference board) is a<br />

valid <strong>BSP</strong>. In addition, the required command-line arguments for bspVal varies according<br />

to whether you select a single-target or a two-target test. For single-target tests, the<br />

required parameters are:<br />

serverID<br />

Specifies the target server name.<br />

-b bspName<br />

Specifies the name of the <strong>BSP</strong> being validated.<br />

testName<br />

Specifies the name of the test to be performed.<br />

For two-target tests, you must specify all the parameters shown above, as well as the<br />

following:<br />

-s secondServerID<br />

Specifies the reference board target server name.<br />

-sb secondBspName<br />

Specifies the reference board <strong>BSP</strong> name<br />

Use the other bspVal options as follows:<br />

-t1SerDev T1SerialDevice<br />

Specifies the host serial device of the main target.<br />

-t1SerBaud T1SerialBaud<br />

Specifies baud rate of the host serial device of the main target.<br />

-t2SerDev T2SerialDevice<br />

Specifies the host serial device of the reference board target.<br />

-t2SerBaud T2SerialBaud<br />

Specifies baud rate of the host serial device of the reference board target.<br />

-h<br />

Print the usage information about VTS.<br />

-r<br />

Cancel Reboot of target(s) before starting the test.<br />

-c<br />

Delete the previous log files.<br />

-all<br />

Run all tests.<br />

J<br />

CONFIGURATION FILES<br />

The VTS uses a configuration file called bspName.T1. Where bspName is the name of the<br />

<strong>BSP</strong> you want to validate. It must reside in the $WIND_BASE/host/resource/test/bspVal<br />

directory. If you want to perform tests involving two targets (network, rlogin, busTas),<br />

367

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

Saved successfully!

Ooh no, something went wrong!