# # cpu_diagcmds - IP30 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 # Fourth column is comments that appear in help display # # Columns must be separated by exactly one TAB! # # NOTE: this list starts with the minimum necessary; # the intention is to keep useless code *out* # # unload command needed by all modules # unload CMD do_unload unload module and return to core. # # MEMORY TESTS: from IP30/mem and IP30/ecc # # this option is the original low dram test ldram CMD low_memtest Low DRAM test khlow CMD khlow_drv Knaizuk Hartmann Low DRAM test # the memtest was deleted and replaced by the expanded memtest2 version memtest CMD memory_test CPU memory test # this is created for IP30 (ECC feature) ecctest CMD ecc_test expanded ECC testing # this was retained as is help_mem CMD print_memory_diagram Print memory diagram # # cache tests: from IP30/cache. # dcache1 CMD dcache_par Data cache data parity test icache1 CMD icache_par Instruction cache data parity test icache2 CMD icache Instruction cache misc test scache1 CMD scache_ecc Secondary cache misc test scache2 CMD scache Secondary cache address and data test # # tlb tests: from IP30/tlb. # tlb CMD tlbtest TLB utlb CMD utlb_miss_exception UTLB miss exception # # HEART TESTS: from ../godzilla/heart # hr_regs CMD hr_regs Heart register read-write test (-d option tests defaults) # No system reset! ide would disappear from memory ! hr_rd CMD hr_read_reg Heart Read Register Utility (use spec address) hr_wr CMD hr_write_reg Heart Write Register Utility (use spec address) hr_piuacc CMD hr_piu_acc Heart PIU Access Tests hr_intr CMD hr_intr Heart Interrupt Register Tests hr_misc CMD hr_misc Heart Miscellaneous Register Tests hr_piowcr CMD hr_pio_wcr Heart PIO widget cfg. reg. access test # # XBOW TESTS: from ../godzilla/xbow # x_regs CMD x_regs Xbow register read-write test x_reset CMD x_reset Xbow status reset x_acc CMD x_acc Xbow register access test hx_badllp CMD hx_badllp Xbow/Heart bad LLP tests x_rd CMD x_read_reg Xbow Read Register Utility (use spec address) x_wr CMD x_write_reg Xbow Write Register Utility (use spec address) # # BRIDGE TEST: from ../godzilla/bridge # br_regs CMD br_regs Bridge register read-write test br_ram CMD br_ram Bridge internal/external RAM test br_intr CMD br_intr Bridge interrupt test (involving Heart) br_rd CMD br_read_reg Bridge Read Register Utility (use spec address) br_wr CMD br_write_reg Bridge Write Register Utility (use spec address) br_err CMD br_err Bridge error test # # HEART/BRIDGE TEST: from ../godzilla/heart_bridge # hb_status CMD hb_status Heart/Bridge status display (default=both; -h=heart; -b=bridge) hb_badllp CMD hb_badllp Heart/Bridge bad LLP tests hb_savreg CMD hb_save_regs Heart/Bridge save registers hb_rstreg CMD hb_rest_regs Heart/Bridge restore registers hb_flow CMD hb_flow_ctrl Heart/Bridge Flow Control Test hb_chkout CMD hb_chkout Heart/Bridge Sanity Check Test (default=both; -h=heart; -b=bridge) hb_reset CMD hb_reset Heart/Bridge reset the ISR/cause (default=both; -h=heart; -b=bridge) # # HEART/XBOW/BRIDGE TEST: from ../godzilla/h_x_b # hxb_savreg CMD hxb_save_regs Heart/Xbow/Bridge save registers hxb_rstreg CMD hxb_rest_regs Heart/Xbow/Bridge restore registers hxb_chkout CMD hxb_chkout Heart/Xbow/Bridge Sanity Check Test hxb_reset CMD hxb_reset Heart/Xbow/Bridge reset the ISR/cause hxb_status CMD hxb_status Heart/Xbow/Bridge Status # # PCI Diags (Using IOC3 for now) # pci_cfgread CMD pci_cfg_read pci_cfgwrite CMD pci_cfg_write pci_mem CMD pci_mem pci_sio CMD pci_sio pci_intr CMD pci_intr # # Cache Thrasher Tests (for MP bringup) # #ct CMD cache_thrasher Cache Thrasher Test, usage: ct [debug_level [seed_in_hex]] # # XTALK LINC TEST: (requires special hardware) from ../godzilla/x_test # NOTE: to get them included, add x_test to the dirs # to be made in godzilla/Makefile # #x_test CMD xbow_test tests xbow via linc (SPECIAL) #x_testperf CMD test_xbow_perf_mon_set tests xbow_perf_mon_set (SPECIAL) #x_testarb CMD test_xbow_arb_set tests xbow_arb_set (SPECIAL) # # Change Voltage Utility voltage CMD chg_volt utility to do voltage margining