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 />

model<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

model – sysModel( ) test<br />

bspVal options model<br />

This test verifies that the target board matches the target configuration file. To do this, it<br />

verifies the return value of the sysModel( ) routine. This value is extracted from the target<br />

information stored at target server. The entire test should not take more than a few<br />

seconds to run. See bspVal.sh for an explanation of options.<br />

This is the first test run if the -all option is specified for bspVal.<br />

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

does not list all possible reasons.<br />

The first (and only) test compares the return value of sysModel( ) to the string specified<br />

by T1_MODEL. If this test fails, check that the sysModel( ) routine in sysLib.c returns the<br />

correct target model information.<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.<br />

CONFIGURATION PARAMETERS<br />

T1_MODEL<br />

Expected result of sysModel( ). (required)<br />

EXAMPLE<br />

SEE ALSO<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 />

Model Test :<br />

sysModel() return value<br />

: PASS<br />

Tests RUN 1<br />

Tests PASSED 1<br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

bspVal.sh, bspPkCommonProc.tcl, envLib.tcl<br />

384

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

Saved successfully!

Ooh no, something went wrong!