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

All tests run by this script are concerned with verifying the rlogin process. After issuing<br />

an rlogin to the target on the reference board, the first test verifies that “IN USE” appears<br />

on the console of the target board. The second test confirms the rlogin session by calling<br />

version( ) from the VxWorks shell and attempting to match the address for the target<br />

board. The third test exercises the pty by spawning printLogo( ). The fourth test checks<br />

the operation of logout( ). This process is then repeated for rlogin from the target to the<br />

reference board and the rlogin session is confirmed with tests five through eight. If any of<br />

these tests fail, check that the IP address or backplane address for the target board<br />

(T1_BOOT_E or T1_BOOT_B) and reference board IP or backplane address<br />

(T2_BOOT_E or T2_BOOT_B) are set correctly. Check also that their respective target<br />

names (T1_BOOT_TN and T2_BOOT_TN) are set to their proper values.<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 />

NOTE: This test does not require a backplane. It is enough if there is a network<br />

connection between the two targets. If the boards reside on separate sub-nets, the routing<br />

tables for each must be set up appropriately.<br />

CONFIGURATION PARAMETERS<br />

T1_BOOT_TN<br />

Target name (required).<br />

T1_BOOT_E<br />

Target IP address (required).<br />

T2_BOOT_B<br />

Target backplane address (required if T1_BOOT_E is not set).<br />

T2_BOOT_TN<br />

Reference target name (required).<br />

T2_BOOT_E<br />

Reference target IP address (required if T2_BOOT_B is not set).<br />

T2_BOOT_B<br />

Reference target backplane address (required if T2_BOOT_E is not set). Because the<br />

default is to use the Ethernet, if you set both T2_BOOT_E and T2_BOOT_B, the test<br />

uses the reference target IP address.<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 />

Second target server : t214-2<br />

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

: mv147<br />

392

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

Saved successfully!

Ooh no, something went wrong!