pulp-platform / riscv-dbg

RISC-V Debug Support for our PULP RISC-V Cores
Other
198 stars 70 forks source link

In the directory of “ci”,execute the "veri-run-openocd-compliance.sh",errors occurred #100

Closed gz2023 closed 3 years ago

gz2023 commented 3 years ago

[gzl@gzl ci]$ ls download-pulp-gcc.sh make-tmp.sh veri-run-openocd-compliance.sh get-openocd.sh openocd-to-junit.py install-verilator.sh run-openocd-compliance.sh [gzl@gzl ci]$ ./veri-run-openocd-compliance.sh make: Entering directory `/home/gzl/20201120/riscv-dbg/tb' ./testbench_verilator \ "+firmware=prog/test.hex" scopesDump: SCOPE 0x17fc2f0: TOP.tb_top_verilator.mm_ram_i SCOPE 0x17fc328: TOP.tb_top_verilator.mm_ram_i.dp_ram_i DPI-EXPORT 0x41eef4: read_byte DPI-EXPORT 0x41ef06: write_byte

finished dumping memory JTAG remote bitbang server is ready Listening on port 9999 Attempting to accept client socket Starting openocd Open On-Chip Debugger 0.10.0+dev-01405-gc56aa66 (2020-11-20-15:05) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Debug: 13 7 command.c:146 script_debug(): command - echo DEPRECATED! use 'adapter speed' not 'adapter_khz' User : 15 7 command.c:767 jim_echo(): DEPRECATED! use 'adapter speed' not 'adapter_khz' Debug: 16 7 command.c:146 script_debug(): command - adapter speed 10000 Debug: 18 7 core.c:1822 jtag_config_khz(): handle jtag khz Debug: 19 7 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 20 7 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 21 7 command.c:146 script_debug(): command - echo DEPRECATED! use 'adapter driver' not 'interface' User : 23 7 command.c:767 jim_echo(): DEPRECATED! use 'adapter driver' not 'interface' Debug: 24 7 command.c:146 script_debug(): command - adapter driver remote_bitbang Debug: 26 7 command.c:352 register_command_handler(): registering 'remote_bitbang_port'... Debug: 27 7 command.c:352 register_command_handler(): registering 'remote_bitbang_host'... Info : 28 7 transport.c:117 allow_transports(): only one transport option; autoselect 'jtag' Debug: 29 7 command.c:352 register_command_handler(): registering 'jtag_flush_queue_sleep'... Debug: 30 7 command.c:352 register_command_handler(): registering 'jtag_rclk'... Debug: 31 7 command.c:352 register_command_handler(): registering 'jtag_ntrst_delay'... Debug: 32 7 command.c:352 register_command_handler(): registering 'jtag_ntrst_assert_width'... Debug: 33 7 command.c:352 register_command_handler(): registering 'scan_chain'... Debug: 34 7 command.c:352 register_command_handler(): registering 'runtest'... Debug: 35 7 command.c:352 register_command_handler(): registering 'irscan'... Debug: 36 7 command.c:352 register_command_handler(): registering 'verify_ircapture'... Debug: 37 7 command.c:352 register_command_handler(): registering 'verify_jtag'... Debug: 38 7 command.c:352 register_command_handler(): registering 'tms_sequence'... Debug: 39 7 command.c:352 register_command_handler(): registering 'wait_srst_deassert'... Debug: 40 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 41 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 42 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 43 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 44 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 45 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 46 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 47 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 48 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 49 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 50 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 51 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 52 7 command.c:352 register_command_handler(): registering 'jtag'... Debug: 53 7 command.c:352 register_command_handler(): registering 'svf'... Debug: 54 7 command.c:352 register_command_handler(): registering 'xsvf'... Debug: 55 7 command.c:146 script_debug(): command - remote_bitbang_host localhost Debug: 57 7 command.c:146 script_debug(): command - remote_bitbang_port 9999 Debug: 59 7 command.c:146 script_debug(): command - jtag newtap riscv cpu -irlen 5 -expected-id 0x249511C3 Debug: 60 7 tcl.c:567 jim_newtap_cmd(): Creating New Tap, Chip: riscv, Tap: cpu, Dotted: riscv.cpu, 4 params Debug: 61 7 tcl.c:591 jim_newtap_cmd(): Processing option: -irlen Debug: 62 7 tcl.c:591 jim_newtap_cmd(): Processing option: -expected-id Debug: 63 7 core.c:1488 jtag_tap_init(): Created Tap: riscv.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 Debug: 64 7 command.c:146 script_debug(): command - jtag names TAP: riscv.cpu

Debug: 65 7 command.c:146 script_debug(): command - target create riscv.cpu riscv -chain-position riscv.cpu -rtos riscv Debug: 66 11 target.c:2004 target_free_all_working_areas_restore(): freeing all working areas Debug: 67 11 riscv_debug.c:25 riscv_create_rtos(): RISC-V Debug 'RTOS' created: this doesn't mean you're running an RTOS, just that you have multi-hart support on RISC-V Error: 68 11 riscv_debug.c:34 riscv_create_rtos(): -rtos riscv is deprecated and will be removed at the end of 2020! Until Error: 69 11 riscv_debug.c:35 riscv_create_rtos(): then, you can still use it by adding enable_rtos_riscv to your Error: 70 11 riscv_debug.c:36 riscv_create_rtos(): configuration. Error: 71 11 riscv_debug.c:37 riscv_create_rtos(): Please change your configuration to use -rtos hwthread instead. To do Error: 72 11 riscv_debug.c:38 riscv_create_rtos(): that, you will have to explicitly list every hart in the system as a separate Error: 73 11 riscv_debug.c:39 riscv_create_rtos(): target. See Error: 74 11 riscv_debug.c:40 riscv_create_rtos(): https://github.com/riscv/riscv-tests/blob/ec6537fc4a527ca88be2f045e01c460e640ab9c5/debug/targets/SiFive/HiFiveUnleashed.cfg#L11 Error: 75 11 riscv_debug.c:41 riscv_create_rtos(): for an example. User : 76 11 command.c:692 command_run_line(): [gzl@gzl ci]$