zhiwei.chen

Results 3 comments of zhiwei.chen

I used the latest version of riscv-openocd. When I didn't add '-rtos linux' in openocd.cfg to debug the Linux kernel, I got the error message I mentioned above. Halt the...

This is the objdump result of the breakpoint smp_init ![image](https://user-images.githubusercontent.com/41379206/186616898-30fc11ce-bd2a-455b-8d53-30dae8ce4cb2.png) This is the objdump result of the breakpoint start_kernel ![image](https://user-images.githubusercontent.com/41379206/186618630-61b042be-584c-483e-bfc6-0c57c7c85154.png)

There is someone who used OpenOCD to debug the Linux kernel on the SiFive Unmatched board. https://forums.sifive.com/t/debug-linux-kernel-with-openocd-gdb/5717 He finally gave up on a pure GDB solution and went with FreedomStudio....