$  Copyright(c) 1996 Sun Microsystems, Inc.
$  All rights reserved.

$  #ident  "@(#)o1ktest.msg  1.8  97/10/02  SMI"

$ Message ID ranges:
$ VERBOSE  1 ~ 1999
$ INFO     2000 ~ 3999
$ WARNING  4000 ~ 5999
$ ERROR    6000 ~ 7999
$ FATAL    8000 ~ 9998
$ 9999 is reserved by test library for old style messages.
$ 0 is reserved and is an invalid message for all tests.

$ *********************************************
$ VERBOSE messages
$ *********************************************
$ TEST_RUN_VMSG 1
1	"Running functional test..."

$ *****************************************************
$ INFO messages (including INFO, CONSOLE, and LOGFILE)
$ No double quotes (" ") is needed for INFO messages.
$ *****************************************************

$ TEST_USAGE_INFOMSG_a 2000
2000	%s specific arguments [defaults]:\n\
     Separate multiple parameters with commas.  For example:\n\
       o1ktest -o dev=o1k3,S=0x9,B=2,F=2\n\n\
     dev=device_name :\n\
       Device under test (assumed in the /dev directory) [device_name=o1k0].\n\

$ TEST_USAGE_INFOMSG_b 2001
2001      S=n : Subtests to be run.  The following subtests can be selected:\n\
	 - Test Open Device		(n = 0x01)\n\
	 - Test SRAM			(n = 0x02)\n\
	 - Test Reseting Device		(n = 0x04)\n\
	 - Test DRAM			(n = 0x08)\n\
	 - Test Audio			(n = 0x10)\n\
	 - Test DMA			(n = 0x20)\n\
     \n\

$ TEST_USAGE_INFOMSG_c 2002
2002      More than one subtest can be selected by ORing their subtest numbers.\n\
     Example: n = 0x03 will test opening the device, and test the SRAM.\n\
     A hexadecimal number must be proceeded by 0x, lest it be considered \n\
     decimal [n=0x7f].\n\
     \n\
     F=n : Number of times to repeat each subtest [n=1].\n\
     B=n : Number of times to repeat each loop before passin [n=1].\n\n

$ TEST_ARGLIST_INFOMSG 2003
2003	[dev=device_name] [S=n] [F=n] [B=n]

$O1K_INFO_ALERT_VALUE
2100 Alert(0x%.4x)

$O1K_INFO_ALERT_EXIT
2101 Dram Test Complete

$O1K_INFO_ALERT_JUMP
2102 Detected 'Jump_Done'.

$01K_INFO_SET_AUDIO_FORMAT
2103 Setting Audio Format

$01K_INFO_DESIRED_CLOCK_RATE
2104 Desired clock rate  = %1d

$01K_INFO_INFO_DESIRED_DATA_FORMAT
2105 Desired data format = %1d

$01K_INFO_DESIRED_CHANNELS
2106 Desired channels    = %1d

$01K_INFO_AUDIO_FORMAT
2107 Audio Format: %d

$01K_INFO_AUDIO_SELECTION
2108 Audio Selection: %d

$01K_INFO_AUDIO_CHANNELS
2109 Audio Channels: %d

$01K_INFO_AUDIO_RATE	
2110 Audio Rate: %d

$01K_INFO_TURN_OFF_RIGHT
2111 Turning off right output

$01K_INFO_TURN_OFF_LEFT
2112 Turning off left output

$01K_INFO_TURN_ON_BOTH
2113 Turning on both right & left outputs

$O1K_UNKNOWN_MESSAGE
2114 NoDataCallback: Unknown Message %x

$O1K_MESSAGE_STRING
2115 <%s>

$O1K_ENV_MSG
2116 Setting Flags due to env var to %x

$O1K_INFO_AUDIO_PLAYING	     
2117 Audio Playing...

$O1K_INFO_SAVING_RGB_RAS	         
2118 Capturing and saving as raster file %s

$O1K_INFO_SAVING_YUV_RAW         
2119 Saving captured image in raw yuv file %s

$01K_TEST_OPEN	
2900 Testing opening the device.

$01K_TEST_SRAM	
2901 Testing the SRAM on the device.

$01K_TEST_RESET	
2902 Testing resetting the device.

$01K_TEST_DRAM	
2903 Testing the DRAM on the device.

$01K_TEST_AUDIO	
2904 Testing the Audio on the device.

$01K_TEST_DMA	
2905 Testing the DMA on the device.

$01K_TEST_EMPTY	
2906 Not testing the device with this test.

$O1K_INFO_MEM_TEST_0     
3328  -------- Random Data Test --------

$O1K_INFO_MEM_TEST_1     
3329  ---------- Address Test ----------

$O1K_INFO_MEM_TEST_2     
3330  --------- Increment Test ---------

$O1K_INFO_MEM_TEST_3     
3331  -------- Flat Field Test ---------

$O1K_INFO_MEM_TEST_4   
3332  ----------- Ramp Test ------------

$O1K_INFO_MEM_TEST_5   
3333  ----------- Sine Test ------------ 

$O1K_INFO_DRAM_PARAM   
3584  Info Param %x

$O1K_INFO_DRAM_WRITE   
3585  Writing data to dram.......... 

$O1K_INFO_DRAM_READ    
3586  Reading data from dram........ 

$O1K_INFO_DONE_1       
3587  Done: Errors, Good

$O1K_INFO_DONE_2       
3588  Done: Errors, Good

$O1K_INFO_DRAM_SIZE    
3589  Detected x Meg of DRAM

$O1K_INFO_DRAM_BANNER  
3590  SYSTEM ON-BOARD DIAGS v2.2

$O1K_INFO_DRAM_WAIT    
3591  wating for stream setup

$O1K_INFO_DRAM_DONE    
3592  Done with DRAM memory test


$ *********************************
$ WARNING messages
$ *********************************
$O1K_AVCERR_OK 
4000	@flag AVCERR_OK | No error when 0 or positive.

$O1K_WARN_DMA_CMP        
4001 DMA Image compare failed: line %d byte %d

$O1K_WARN_DMA_SAVE        
4002 Could not open %s to save dma'ed image

$O1K_WARN_DMA_REF_OPEN 
4003 Could not open %s to compare dma'ed image

$O1K_WARN_AUDIO_FORMAT_UNKNOWN
4004 Audio Format Unknown %d

$O1K_WARN_AUDIO_CHANNELS_UNKNOWN
4005 Audio Channels Unknown %d

$O1K_WARN_AUDIO_FREQ_UNKNOWN	
4006 Audio Frequency Unknown %d

$ *********************************
$ ERROR messages
$ *********************************
$ TEST_ARGUMENT_ERRMSG  6000	
6000    Bad argument.  Use 'o1ktest -u' to find proper arguments.

$ BAD_OPTIONS_ERRMSG 	6001
6001    Bad options argument.  Use 'o1ktest -u' to find proper arguments.

$ SUBTEST_ERRMSG  	6002 
6002	Subtest Error: invalid subtest choice.  Use 'o1ktest -u' to find \n\
proper subtest choices.

$ TEST_SAMPLE_ERRMSG  	6003
6003	Sample error mesg.

$ TEST_FINAL_ERRMSG 	6004
6004	FInal error.


$O1K_ERR_STREAM_STOP_AUDRECSID
6100 AVCStreamStop AUD_REC_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_STOP_AUDPLAYSID
6101 AVCStreamStop AUD_PLAY_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_RETBUF_AUDRECSID
6102 AVCStreamReturnBuffers AUD_REC_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_RETBUF_AUDPLAYSID
6103 AVCStreamReturnBuffers AUD_PLAY_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_CLOSE_AUDRECSID
6104 AVCStreamClose AUD_REC_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_CLOSE_AUDPLAYSID
6105 AVCStreamClose AUD_PLAY_SID %d\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_OPEN		
6106 AVCOpen Failed. \n\
 Probable_Cause(s): <System error not finding h/w> <h/w error>\n\
 Recommended_Action(s): <check /dev and /devices for o1k entries>\n\
  <If the problem persists, call your authorized Sun service provider.>
 
$O1K_ERR_RESET		
6107 AVCResetSystem Failed.\n\
 Probable_Cause(s): <h/w subcomponent error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_LOAD		
6108 AVCLoad Failed.\n\
 Probable_Cause(s): <ucode files missing?> <h/w subcomponent error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_JUMP		
6109 AVCJump Failed.\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_GET_VAR_ADDR_FAIL
6110 AVCGetVarAddress Failed: %s %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SET_VAR_FAIL	
6111 AVCSetVar Failed: %s %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_GET_VAR_ADDR_VCP_CLOCK
6112 AVCGetVarAddress vcp_clock_rate Failed: %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_GET_VAR_ADDR_VCP_FORMAT
6113 AVCGetVarAddress vcp_data_format Failed: %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_GET_VAR_ADDR_VCP_CHANNELS
6114 AVCGetVarAddress vcp_channels Failed: %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_GET_VAR_ADDR_VCP_SETTINGS
6115 AVCGetVarAddress vcp_change_settings Failed: %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SET_VAR_VCP_CLOCK
6116 Error setting vcp_clock_rate\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SET_VAR_VCP_FORMAT
6117 Error setting vcp_data_format\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SET_VAR_VCP_CHANNELS
6118 Error setting vcp_channels\n\
 Probable_Cause(s): <vcp error> <dsp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SET_VAR_VCP_SETTINGS
6119 Error setting vcp_change_settings\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_MEMORY	
6123 AVCStreamMemory failed.  %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_OPEN	
6124 AVCStreamOpen failed.  %d\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_AUTO	
6125 AVCStreamAuto failed.\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_STREAM_ADD_BUFFER
6126 AVCStreamAddBuffer Failed %x\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_UPDATE_FAIL
6127 VCP settings did not update\n\
 Probable_Cause(s): <vcp error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SRAM_FAIL			        
6128 Sram Test Failed\n\
 Probable_Cause(s): <Bad sram, sram pins shorted>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SETGRAPHICS  
6200 Error AVC_VPICSetGraphics: %d\n\
 Probable_Cause(s): <vpic error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SETSCREEN    
6201 Error AVC_VPICSetScreen: %d\n\
 Probable_Cause(s): <vpic error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_SCREENDMA    
6202 Error AVC_VPICScreenDma: %d\n\
 Probable_Cause(s): <vpic error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_PREAD        
6203 Failed to dma test image, errno %x\n\
 Probable_Cause(s): <vpic, vcp error> <system error>\n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_DMA_CMP        
6204 DMA Image compare failed.\n\
 Probable_Cause(s): <vpic, vcp error> <system error>\n\
 Recommended_Action(s): <Set O1K_SVTS_FLAGS env var to 2 and rereun, then check sunraster file in /tmp>\n\
  <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_DRAM_PARAM  
7680 Error Param %x

$O1K_ERR_1           
7681 Error: @ x=, y=, expected, read\n\
 Probable_Cause(s): <dram error, shorted dram pins?> \n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_FILE        
7682 Couldn't open file on host for writing\n\
 Probable_Cause(s): <System load too heavy?> <System error?> <Missing file, too may files open?>\n\
 Recommended_Action(s): <Reduce the system load>\n\
  <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_2           
7683 Error: @ x=, y=, expected, read\n\
 Probable_Cause(s): <dram error, shorted dram pins?> \n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_3           
7684 More errors!!!\n\
 Probable_Cause(s): <dram error, shorted dram pins?> \n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_VECTOR_1    
7685 Error vector, suspect data bits:\n\
 Probable_Cause(s): <dram error, shorted dram pins?> \n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_VECTOR_2    
7686 Error vector/vector suspect data bits:\n\
 Probable_Cause(s): <dram error, shorted dram pins?> \n\
 Recommended_Action(s): <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_BITS_1      
7687 Bit: Package U / IO / Pin

$O1K_ERR_BITS_2      
7688 Bit: Package U / IO / Pin 

$O1K_ERR_MALLOC_FAIL 
7689 !!!! malloc() failed!!!!\n\
 Probable_Cause(s): <System load too heavy?> <System error?>\n\
 Recommended_Action(s): <Reduce the system load>\n\
  <If the problem persists, call your authorized Sun service provider.>

$O1K_ERR_DRAM_ABORT  
7690 Errors detected -- aborting

$ ********************************
$ FATAL messages
$ ********************************
