119 lines
5.1 KiB
Plaintext
119 lines
5.1 KiB
Plaintext
#
|
|
# diagcmds - EVEREST CPU diagnostic functions
|
|
#
|
|
# First column is the name
|
|
# Second column is the type:
|
|
# STR for string
|
|
# CMD for command
|
|
# INT for integer constant
|
|
# Third column is value:
|
|
# CMD value is the name of the function to call
|
|
# STR value is the quoted string
|
|
# INT value is the integer
|
|
#
|
|
# Columns must be separated by exactly one TAB!
|
|
# buffoff CMD buffoff Turn off message buffering
|
|
# buffon CMD buffon Turn on message buffering
|
|
# test CMD test misc
|
|
#
|
|
wait SPEC_CMD wait Wait for <CR> to continue (usage: wait [\"message\"])
|
|
#
|
|
#
|
|
# cpu_info returns the number of active processors on the system.
|
|
# If the -s option is used, it fills the specified set(s) with those
|
|
# (virtual) processor numbers.
|
|
cpu_info SET_CMD _do_cpuinfo cpuinfo [-s SET[,SET,...]]
|
|
#
|
|
cpu_map SPEC_CMD _do_cpumap Display (slot/slice) --> vid mapping
|
|
#
|
|
testbusy SPEC_CMD _testbusy Example use of busy()
|
|
dump_mpconf SPEC_CMD dump_mpconf Display MP CONFiguration struct
|
|
dc SPEC_CMD dispconf dc slot reg -- Display config register
|
|
wc SPEC_CMD wrtconf wc slot reg val -- Write config register
|
|
dmc SPEC_CMD dispmc3 Disp mem bd regs: dmc SLOT
|
|
dio SPEC_CMD dispio4 Disp io brd regs: dio SLOT
|
|
dip SPEC_CMD dispip19 Disp ip bd regs: dip SLOT
|
|
led SPEC_CMD sickled Turn LED pattern on or off (usage: led (0..63) )
|
|
reset SPEC_CMD pod_reset reset the system
|
|
iocfl SPEC_CMD iocachef flush cache lines in IO4
|
|
show_cpu_errs SPEC_CMD cpu_err_show show_cpu_errs
|
|
clear_cpu_errs SPEC_CMD cpu_err_clear clear_cpu_errs
|
|
#
|
|
clear_intrs SPEC_CMD clear_ip19intrs clear IP19-related errors and interrupts
|
|
intrs_pending SPEC_CMD cpu_intr_pending intrs_pending
|
|
checkall_errors SPEC_CMD everest_error_show checkall_errors
|
|
clearall_errors SPEC_CMD everest_error_clear clearall_errors
|
|
|
|
# This file is borrowed from IP12. I am not sure of rest of the funtions.
|
|
# Checking them in for enabling others to build. -- Bhanu
|
|
#
|
|
# Not sure of the rest of functions.
|
|
mem1 CMD showcfg_reg Read memory configuration registers
|
|
mem2_ CMD connect Memory sockets connection test
|
|
mem3_ CMD walk_address Memory address walking test
|
|
mem4_ CMD read_write Memory data write/read test
|
|
mem5_ CMD addru Memory address in address test
|
|
mem7_ CMD march_x Memory data MarchX pattern test
|
|
mem8_ CMD march_y Memory data MarchY pattern test
|
|
mem9_ CMD mem_ecc Memory with ECC test
|
|
mem10_ CMD cachemem Memory with cache write-through test
|
|
mem11 CMD mem_pat Memory test with user specified input
|
|
mem12 CMD decode_your_addr Decode address
|
|
mem14 CMD dump_memreg Read memory configuration registers
|
|
mem16_ CMD kh_driver Knaizuk Hartmann Test
|
|
ena_bnk CMD enable_bnk Enable memory bank
|
|
dis_bnk CMD disable_bnk Disable memory bank
|
|
synd CMD dump_syndrome Continually reads syndrome
|
|
#
|
|
# io4 stuff - since we are supposed to be using names, *not* test numbers,
|
|
# these are named - the idea is that we will have a master script that
|
|
# calls all the individual tests . . .
|
|
#
|
|
#set_iocfg CMD set_iocfg Sets IO4 config data NVRAM
|
|
check_iocfg CMD check_iocfg Checks IO4 config against NVRAM
|
|
io4_regtest CMD io4_regtest Read/Write test of IO4 registers
|
|
io4_pioerr CMD io4_pioerr IO4 PIO bus error test
|
|
mapram_test CMD mapram_test Read/Write test of IO4 map ram
|
|
check_hinv CMD check_hinv Checks type of board in each slot
|
|
s1_regtest CMD s1_regtest Register Read/Write test for s1 chip
|
|
epc_regtest CMD epc_regtest Register Read/Write test for epc chip
|
|
duart_loopback CMD duart_loopback Duart loopback test
|
|
regs_95a CMD regs_95a Register Read/Write test for wd95a chip
|
|
epc_nvram CMD epc_nvram NVRAM Read/Write test
|
|
epc_rtcreg CMD epc_rtcreg RTC register/NVRAM Read/Write test
|
|
epc_rtcinc CMD epc_rtcinc RTC clock increment test
|
|
epc_rtcint CMD epc_rtcint RTC Interrupt generation test
|
|
scsi_intr CMD scsi_intr SCSI interrupt generation test
|
|
#scsi_dmaintr CMD scsi_dmaintr SCSI dma interrupt test
|
|
#scsi_dmaxfer CMD scsi_dmaxfer SCSI dma transfer test
|
|
#scsi_self CMD scsi_self SCSI devices self test
|
|
erase_nvram CMD erase_nvram NVRAM Erase Utility (Dangerous!)
|
|
epc_extint CMD epc_extint External Interrupt Read/Write Utility
|
|
enet_xmit CMD enet_xmit Ethernet Transmit Packets Test, internal loopback on
|
|
epc_plptest CMD epc_plptest Parallel Port Write Test
|
|
enet_colctr CMD enet_colctr Read ethernet collision counters Test
|
|
|
|
#
|
|
# VME subsystem Commands
|
|
#
|
|
fregs CMD fchip_test Test VMECC registers
|
|
vmeregs CMD vmecc_test Test VMECC registers
|
|
vmeintr CMD vmeintr Test VMEcc self interrupts
|
|
vmeberr CMD vme_buserr Test VMEcc bus errors
|
|
vmedma CMD vme_dmaeng Test VMEcc DMA Engine
|
|
#vmelpbk CMD vme_lpbk Test VMEcc loopback capability
|
|
cddata CMD CDSIO_data_loopback Test cdsio interrupts
|
|
cdintr CMD CDSIO_interrupt Test cdsio interrupts
|
|
#
|
|
# DANG test Commands
|
|
#
|
|
dang_regtest CMD dang_regtest DANG register R/W test
|
|
dang_gr2ram CMD dang_gr2ram DANG/GIO Gr2 shared ram test
|
|
dang_mdma CMD dang_mdma DANG Master DMA data/interrupt test
|
|
dang_gr2write CMD dang_gr2write DANG/GIO Gr2 data write utility
|
|
dang_wg CMD dang_wg DANG Write Gatherer data/interrupt test
|
|
dang_gr2writeloop CMD dang_gr2writeloop DANG/GIO Gr2 data write scope loop
|
|
dang_gr2read CMD dang_gr2read DANG/GIO Gr2 data read utility
|
|
dang_gr2readloop CMD dang_gr2readloop DANG/GIO Gr2 data read scope loop
|
|
dang_status CMD dang_status DANG chip status printout
|