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

The second test reboots the target from the shell while characters are sent to the serial<br />

console and the auxiliary clock is enabled at the maximum rate. This checks that pending<br />

interrupts do not cause problems while rebooting. If this test fails, check that CPU<br />

interrupts are properly disabled in romInit( ), which is defined in romInit.s, and that all<br />

serial device interrupts are disabled and cleared in sysSerialHwInit( ). Also, check that<br />

the auxiliary clock routine sysAuxClkRoutine( ) is initialized to NULL and, if it is NULL,<br />

that the auxiliary clock is not called in sysAuxClkInt( ).<br />

Make sure that all the boot-line parameters in the configuration file represent the actual<br />

target boot parameters. Failing to do so could leave target in a state where a power cycle<br />

reset would be necessary with change in boot parameters.<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_OFFBOARD_ERR_ADRS<br />

Off-board address that causes a bus error. (required)<br />

T1_CATASTROPHIC_ERR_MSG<br />

catastrophic error message keyword (required)<br />

T1_SER_DEVICE<br />

Serial device that is used on host. (required)<br />

T1_SER_BAUD<br />

Serial baud rate used. (required)<br />

T1_TMO_BOOT<br />

Timeout value for booting vxWorks. (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 />

Second Error Test :<br />

catastrophic error test<br />

: PASS<br />

reboot with interrupts<br />

: PASS<br />

Tests RUN 2<br />

Tests PASSED 2<br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

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

J<br />

383

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

Saved successfully!

Ooh no, something went wrong!