*** tpb has joined #litex | 00:00 | |
*** rohitksingh has quit IRC | 03:47 | |
*** _whitelogger has quit IRC | 04:15 | |
*** _whitelogger has joined #litex | 04:18 | |
*** freemint has quit IRC | 04:30 | |
*** _whitelogger has quit IRC | 04:51 | |
*** _whitelogger has joined #litex | 04:54 | |
*** rohitksingh has joined #litex | 04:57 | |
*** rohitksingh has quit IRC | 05:23 | |
*** rohitksingh has joined #litex | 05:24 | |
*** _whitelogger has quit IRC | 06:03 | |
*** _whitelogger has joined #litex | 06:06 | |
*** _whitelogger has quit IRC | 06:36 | |
*** _whitelogger has joined #litex | 06:39 | |
*** acathla has quit IRC | 09:58 | |
*** acathpala has joined #litex | 09:58 | |
*** freemint has joined #litex | 10:08 | |
*** rohitksingh has quit IRC | 10:35 | |
*** acathpala is now known as acathla | 11:22 | |
*** acathla has joined #litex | 11:23 | |
*** _whitelogger has quit IRC | 12:12 | |
*** _whitelogger has joined #litex | 12:15 | |
kbeckmann | I'm new to litex, soc-on-fpga and so on. Is it possible to debug e.g. a picorv32 softcore using gdb that runs on my physical fpga and if so, how? I.e. not using qemu, verilator etc. on my PC. I feel that there is a *lot* for me to learn here and I'm not really sure where to read up on all of this. | 14:40 |
---|---|---|
*** freemint has quit IRC | 14:51 | |
forksand | kbeckmann: i'm noob at this too, but I think what you're describing can be done with openocd + gdb. http://www.openocd.org/doc/html/GDB-and-OpenOCD.html | 15:56 |
tpb | Title: OpenOCD Users Guide: GDB and OpenOCD (at www.openocd.org) | 15:56 |
CarlFK | forksand: "that runs on my physical fpga" ? | 16:07 |
forksand | CarlFK: idk. meaning running gdb on the fpga ? /me bows out.... | 16:08 |
RaYmAn | Xilinx seems to have some special blocks for hooking into the on-chip JTAG. Maybe ECP5 has something similar? | 16:08 |
CarlFK | I think an answer is: linux and thus gcc and any other linux binary | 16:10 |
daveshah | RaYmAn: yes it has JTAGG | 16:27 |
daveshah | I know Sprite_tm has been playing with it here https://github.com/Spritetm/hadbadge2019_fpgasoc/blob/master/soc/top_fpga.v#L271 | 16:29 |
tpb | Title: hadbadge2019_fpgasoc/top_fpga.v at master · Spritetm/hadbadge2019_fpgasoc · GitHub (at github.com) | 16:29 |
kbeckmann | sorry for the confusing wording. i meant that gdb runs on my host pc and connects to the softcore's debug port using some interface, e.g. jtag or "litex bridge". seems that this little guide tells me what i want to know. https://github.com/timvideos/litex-buildenv/wiki/Debugging | 16:35 |
tpb | Title: Debugging · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 16:35 |
*** ambro718 has joined #litex | 16:54 | |
*** rohitksingh has joined #litex | 17:34 | |
_florent_ | kbeckmann: you can probably also look at the fomu workshop: https://github.com/im-tomu/fomu-workshop#debugging-risc-v-code | 17:52 |
tpb | Title: GitHub - im-tomu/fomu-workshop: Support files for participating in a Fomu workshop (at github.com) | 17:52 |
kbeckmann | thanks! will do that. that looks like a great resource. | 18:22 |
*** forksand has quit IRC | 19:03 | |
*** forksand has joined #litex | 19:18 | |
*** ambro718 has quit IRC | 21:22 | |
*** freemint has joined #litex | 22:28 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!