Sunday, 2019-10-20

*** tpb has joined #litex00:00
*** rohitksingh has quit IRC03:47
*** _whitelogger has quit IRC04:15
*** _whitelogger has joined #litex04:18
*** freemint has quit IRC04:30
*** _whitelogger has quit IRC04:51
*** _whitelogger has joined #litex04:54
*** rohitksingh has joined #litex04:57
*** rohitksingh has quit IRC05:23
*** rohitksingh has joined #litex05:24
*** _whitelogger has quit IRC06:03
*** _whitelogger has joined #litex06:06
*** _whitelogger has quit IRC06:36
*** _whitelogger has joined #litex06:39
*** acathla has quit IRC09:58
*** acathpala has joined #litex09:58
*** freemint has joined #litex10:08
*** rohitksingh has quit IRC10:35
*** acathpala is now known as acathla11:22
*** acathla has joined #litex11:23
*** _whitelogger has quit IRC12:12
*** _whitelogger has joined #litex12:15
kbeckmannI'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 IRC14:51
forksandkbeckmann: 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.html15:56
tpbTitle: OpenOCD Users Guide: GDB and OpenOCD (at www.openocd.org)15:56
CarlFKforksand: "that runs on my physical fpga" ?16:07
forksandCarlFK: idk.  meaning running gdb on the fpga ? /me bows out....16:08
RaYmAnXilinx seems to have some special blocks for hooking into the on-chip JTAG. Maybe ECP5 has something similar?16:08
CarlFKI think an answer is: linux and thus gcc and any other linux binary16:10
daveshahRaYmAn: yes it has JTAGG16:27
daveshahI know Sprite_tm has been playing with it here https://github.com/Spritetm/hadbadge2019_fpgasoc/blob/master/soc/top_fpga.v#L27116:29
tpbTitle: hadbadge2019_fpgasoc/top_fpga.v at master · Spritetm/hadbadge2019_fpgasoc · GitHub (at github.com)16:29
kbeckmannsorry 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/Debugging16:35
tpbTitle: Debugging · timvideos/litex-buildenv Wiki · GitHub (at github.com)16:35
*** ambro718 has joined #litex16:54
*** rohitksingh has joined #litex17:34
_florent_kbeckmann: you can probably also look at the fomu workshop: https://github.com/im-tomu/fomu-workshop#debugging-risc-v-code17:52
tpbTitle: GitHub - im-tomu/fomu-workshop: Support files for participating in a Fomu workshop (at github.com)17:52
kbeckmannthanks! will do that. that looks like a great resource.18:22
*** forksand has quit IRC19:03
*** forksand has joined #litex19:18
*** ambro718 has quit IRC21:22
*** freemint has joined #litex22:28

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!