1
0
Files
irix-657m-src/stand/arcs/ide/EVEREST/cpu_diagcmds
2022-09-29 17:59:04 +03:00

205 lines
9.2 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
#
# TLB tests
#
tlb1 CMD tlb_ram Test R4K TLB as RAM
tlb2 CMD ide_tlb_probe Check TLB functionality
tlb3 CMD tlb_xlate Check TLB address translation
tlb4 CMD tlb_valid Check TLB valid exception
tlb5 CMD tlb_mod Check TLB modification exception
tlb6 CMD tlb_pid Check TLB refill exception
tlb7 CMD tlb_g Check global bit in TLB entry
tlb8 CMD tlb_c Check C bits in TLB entry
tlb9 CMD tlb_mapuc Check cached/uncached TLB access
#
#
ip1 CMD local_regtest IP19 local register test
ip2 CMD cfig_regtest IP19 configuration register test
ip4 CMD counter R4K count/compare test
ip5 CMD intr_level0 Test interrupt level 0
ip6 CMD intr_level3 Test interrupt level 3
ip7 CMD intr_timer Test IP19 RTSC and interval timer
ip8 CMD intr_group Test IP19 processor group interrupt
ip9 CMD wr_gatherer Test IP19 write gatherer
#
# commands for MP tests
#
mpmem_wr CMD mpmem_wr Memory initialization for MP
mpmem_rd CMD mpmem_rd Memory verification for MP
mpchk_cstate CMD mpchk_cstate Check cache state for MP
mpinval CMD mpinval Invalidate caches for MP
mpclear_ip CMD mpclear_ip Clears interrupts for MP
mpchk_cache CMD mpchk_cache Check cache size against bus tag RAM
# 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
#
# C A C H E T E S T S, don't know if this is the right naming
# convention, but this will do for initial checkin.
#
cache1 CMD Taghitst TAGHI Register Test
cache2 CMD Taglotst TAGLO Register Test
cache3 CMD pdtagwlk Primary data TAG RAM data line Test
cache4 CMD pdtagadr Primary data TAG RAM address line Test
cache5 CMD PdTagKh Primary data TAG Knaizuk Hartmann Test
cache6 CMD pitagwlk Primary Instruction TAG RAM data line Test
cache7 CMD pitagadr Primary Instruction TAG RAM address line Test
cache8 CMD PiTagKh Primary Instruction TAG RAM Knaizuk Hartmann Test
cache9 CMD sd_tagwlk Secondary TAG data path Test
cache10 CMD sd_tagaddr Secondary TAG address Test
cache11 CMD sd_tagkh Secondary TAG RAM Knaizuk Hartmann Test
cache12 CMD d_tagparity Primary Data TAG RAM parity Test
cache13 CMD d_tagcmp Primary Data TAG comparitor Test
cache14 CMD d_tagfunct Primary Data TAG functionality Test
cache15 CMD d_slide_data Primary Data RAM data line Test
cache16 CMD d_slide_addr Primary Data RAM address line Test
cache17 CMD d_kh Primary Data RAM Knaizuk Hartmann Test
cache18 CMD dsd_wlk Primary/Secondary Data path Test
cache19 CMD sd_aina Secondary Data RAM (address in address) Test
cache20 CMD d_function Primary Data functionality Test
cache21 CMD d_parity Primary Data parity generation Test
cache22 CMD i_tagparity Primary Instruction TAG RAM parity bit Test
cache23 CMD i_tagcmp Primary Instruction TAG RAM comparitor Test
cache24 CMD i_tagfunct Primary Instruction TAG functionality Test
cache25 CMD i_slide_data Primary Instruction data RAM data line Test
cache26 CMD i_aina Primary Instruction data RAM address in address Test
cache27 CMD i_function Primary Instruction functionality Test
cache28 CMD i_parity Primary Instruction parity generation Test
cache29 CMD i_hitinv Primary Instruction Hit Invalidate Test
cache30 CMD i_hitwb Primary Instruction Hit Writeback Test
cache31 CMD ECC_reg_tst ECC register Test
cache32 CMD dd_hitinv Primary Data Hit Invalidate Test
cache33 CMD d_hitwb Primary Data Hit Writeback Test
cache34 CMD d_dirtywbw Primary Data dirty writeback word Test
cache35 CMD d_refill Primary Data refill from Secondary Cache Test
cache36 CMD sd_dirtywbw Secondary Dirty Writeback (word) Test
cache37 CMD sd_dirtywbh Secondary Dirty Writeback (halfword) Test
cache38 CMD sd_dirtywbb Secondary Dirty Writeback (byte) Test
cache39 CMD sd_tagecc Secondary TAG ECC Test
cache40 CMD sdd_hitinv Secondary Hit Invalidate Test
cache41 CMD sd_hitwb Secondary Hit Writeback Test
cache42 CMD sd_hitwbinv Secondary Hit Writeback Invalidate Test
cache43 CMD cluster Secondary Cluster Test
cache44 CMD clusterwb Secondary Cluster Writeback Test
cache45 CMD hammer_pdcache stress primary D-cache--runs icached
cache46 CMD hammer_scache stress secondary cache--runs icached
cache47 CMD cache_stress cache stress test
cache48 CMD cache_states complete cache-state transitions test
cache49 CMD short_cache_states short cache-state transitions test
cache50 CMD scache_ecc Secondary Cache Data ECC 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