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

bootline<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

bootline – functionality test for bootline<br />

bspVal options bootline<br />

This test verifies the commands executable from the VxWorks boot ROM prompt. It has a<br />

run-time of up to a few minutes. See bspVal.sh for an explanation of options.<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 reboots the target while sending characters to the serial console, causing<br />

possible problems with pending serial interrupts. If this test fails, check that CPU<br />

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

serial device interrupts are disabled and cleared in the sysLib routine, sysSerialHwInit( ).<br />

The second and third tests check the bus error exception handling functionality (local and<br />

off-board addresses, respectively). If these tests fail, check that the memory controller is<br />

initialized properly and that any memory watchdog timers are configured to reasonable<br />

values (if present).<br />

If there is not a local (on-board) memory address that can cause a bus error when<br />

accessed, the macro T1_BOOT_LOCAL_ERR_ADRS should be set to an invalid off-board<br />

address.<br />

The fourth test checks that the bootline commands and booting mechanisms all act as<br />

expected. This test can fail for a variety of reasons. Check that the memory controller is set<br />

up properly and that the network connection is attached.<br />

This test script does not work properly with a VxWorks standalone image in ROM. If the<br />

target can execute VxWorks only out of ROM, this test script should not be part of the <strong>BSP</strong><br />

validation procedure.<br />

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

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

reset is 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_BOOT_LOCAL_ERR_ADRS<br />

Local memory address that causes bus error. (required)<br />

T1_BOOT_OFFBOARD_ERR_ADRS<br />

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

376

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

Saved successfully!

Ooh no, something went wrong!