VxWorks BSP Developer's Reference : VxWorks BSP Validation Test Suite
ram - RAM tests
bspVal options ram
This test verifies RAM read operations. See bspVal.sh for an explanation of options.
The three tests in this script call pkRead( ) to perform read operations of the RAM locations between LOCAL_MEM_LOCAL_ADRS and sysMemTop( ). The reads are done using 1-, 2-, and 4-byte accesses, depending on which test is being run. If any of these tests fail, but the memory hardware is known to be functioning properly, check that the memory controller is initialized to the correct values. Make sure that LOCAL_MEM_LOCAL_ADRS and LOCAL_MEM_SIZE are set to the correct values. If an MMU is present, it might need to be configured so that the entire RAM space is accessible. Check that sysMemTop( ) returns the correct values.
NOTE: This reference entry lists the most likely reasons for a test's failure. However, it does not list all possible reasons. Barring serious hardware or software limitations (such as an identifiable VxWorks problem), the target board must pass all tests for the BSP to be validated.
None.
Output consists of:
BSP VALIDATION TEST ------------------- Target server : t53-160 BSP : mv147 Log file : /tmp/bspValidationLog.5219 RAM Test : 1-byte read of RAM : PASS 2-byte read of RAM : PASS 4-byte read of RAM : PASS Tests RUN 3 Tests PASSED 3 Tests FAILED 0 Tests SKIPPED 0
bspVal.sh, bspPkCommonProc.tcl, pkLib.c