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.

VxWorks 5.5<br />

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

NOTE: This reference entry lists the most likely reasons for a test’s failure. However, it<br />

does not list all possible reasons.<br />

The first test verifies the return value of scsiShow( ) routine. If this test fails, it is assumed<br />

that SCSI is not configured properly and the next test (for read/write operations on the<br />

device) is skipped.<br />

The second test calls pkTestOneUnit( ) to test the SCSI device specified by T1_SCSI_ID<br />

and T1_SCSI_LUN. A pattern is written to every block of the device, then each block is<br />

read to verify the pattern. If this test fails, check that the SCSI ID and LUN are properly<br />

configured and that the device appears in the output from the scsiShow( ) command.<br />

Barring serious hardware or software limitations (such as an identifiable VxWorks<br />

problem), the target board must pass all tests for the <strong>BSP</strong> to be validated. Of course, if<br />

SCSI is not supported by the target board, then SCSI testing is not a <strong>BSP</strong> validation<br />

requirement.<br />

CONFIGURATION PARAMETERS<br />

T1_SER_DEVICE<br />

Serial device used for target.<br />

T1_SER_BAUD<br />

Serial baud rate used for target.<br />

T1_SCSI_ID<br />

SCSI ID of the device under test.<br />

T1_SCSI_LUN<br />

SCSI LUN of the device under test.<br />

T1_SCSI_BUFSIZE<br />

Buffer size, in bytes (optional).<br />

T1_SCSI_NBBUF<br />

Number of buffers to write (optional).<br />

T1_SCSI_NBLOOP<br />

Number of loops to perform (optional).<br />

T1_TMO_SCSI<br />

Timeout value, in seconds (optional).<br />

EXAMPLE<br />

Output consists of:<br />

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

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

Target server : t53-160<br />

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

: mv147<br />

Log file<br />

: /tmp/bspValidationLog.5219<br />

SCSI Test :<br />

394

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

Saved successfully!

Ooh no, something went wrong!