*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC | 07:38 | |
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #microwatt | 07:38 | |
*** openpowerbot <openpowerbot!~openpower@94-226-188-34.access.telenet.be> has quit IRC | 13:33 | |
*** openpowerbot <openpowerbot!~openpower@94-226-188-34.access.telenet.be> has joined #microwatt | 13:47 | |
*** openpowerbot <openpowerbot!~openpower@94-226-188-34.access.telenet.be> has quit IRC | 14:03 | |
*** openpowerbot <openpowerbot!~openpower@94-226-188-34.access.telenet.be> has joined #microwatt | 14:04 | |
openpowerbot | [slack] <Boris Shingarov> @joel | 22:36 |
---|---|---|
openpowerbot | [slack] <Boris Shingarov> > I think I got it dumping registers but not memory | 22:36 |
openpowerbot | [slack] <Boris Shingarov> How did you get there at all? I mean at the low level, not in terms of integration with GDB. I can't even get `mw_debug.c` to stop the core. I linked `mw_debug.c` with Anton's `ftdi-probe` branch of UrJTAG and it seems to do **something**: | 22:36 |
openpowerbot | [slack] <Boris Shingarov> ```$ ./mw_debug -b jtag -d gpr 0 10 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> Opening jtag backend cable 'probe' | 22:36 |
openpowerbot | [slack] <Boris Shingarov> Found USB cable: DigilentNexysVideo | 22:36 |
openpowerbot | [slack] <Boris Shingarov> Connected to libftdi driver. | 22:36 |
openpowerbot | [slack] <Boris Shingarov> Found device ID: 0x13631093 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r0:c00000000039c38c | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r1:c00000000123bde0 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r2:c00000000123fb00 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r3:0000000000000000 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r4:c0000000011d4500 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> r5:0000000000000000 | 22:36 |
openpowerbot | [slack] <Boris Shingarov> But attempting to stop it, the core gets stuck in the stopping state forever: | 22:38 |
openpowerbot | [slack] <Boris Shingarov> ```./mw_debug -b jtag -d stop | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Opening jtag backend cable 'probe' | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Found USB cable: DigilentNexysVideo | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Connected to libftdi driver. | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Found device ID: 0x13631093 | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Core status = 0x1 | 22:38 |
openpowerbot | [slack] <Boris Shingarov> Core: stopping | 22:38 |
openpowerbot | [slack] <Boris Shingarov> NIA: c000000000060548 | 22:38 |
openpowerbot | [slack] <Boris Shingarov> MSR: 900000000000b033``` | 22:38 |
*** lkcl- <lkcl-!lkcl@freebnc.bnc4you.xyz> has joined #microwatt | 22:41 | |
openpowerbot | [slack] <Boris Shingarov> I feel really disinclined to go through the exercise of attaching a chipscope to `core_debug.vhdl`, I wonder if maybe you know some magical secret if you are saying you got to a point to think about GDB... | 22:43 |
*** lkcl <lkcl!lkcl@freebnc.bnc4you.xyz> has quit IRC | 22:48 | |
openpowerbot | [mattermost] <lkcl> oh wait... didn't anton break something in the DMI interface a few months back? | 23:14 |
openpowerbot | [mattermost] <lkcl> and it was directly related to core stopping | 23:14 |
openpowerbot | [mattermost] <lkcl> i raised it here on the mattermost chat, a few months back, you might be able to find it by searching through the chat history. | 23:18 |
openpowerbot | [slack] <Boris Shingarov> yeah, I see... ok, I am now trying to build commit `7c240a664bb68` let's see if that will stop properly... | 23:38 |
openpowerbot | [slack] <Boris Shingarov> Yes, `7c240a664bb68` (which is 10 days ago) works, so it must have broken recently. Tomorrow I'll try to investigate. | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!