I'm using a AM3517-based board and have built a kernel that is downloaded
and started via U-Boot on target.
Have grep-ed Linux System.map for the address of start_kernel (0xc0008668).
I start up and do:
- In openocd: amdm37x_dbginit am3517.cpu
- In openocd: reset halt
- In openocd set breakpoint f
I'm debugging a Linux kernel on a AM3517 with OpenOCD and a ARM-USB-OCD.
Setting breakpoints and single-stepping works for a while, then I get a lot
of errors like this:
Error: DSCR_DTR_RX_FULL, dscr 0x4b0f604f
Error: Timeout waiting for read dcc
Error: could not add breakpoint
Error: DSCR_DTR_RX