*** tpb has joined #tomu | 00:00 | |
*** AnimaInvicta has left #tomu | 00:10 | |
*** futarisIRCcloud has joined #tomu | 02:02 | |
*** mmmattyx has quit IRC | 02:40 | |
*** futarisIRCcloud has quit IRC | 05:52 | |
*** srk has quit IRC | 06:30 | |
*** srk has joined #tomu | 06:31 | |
*** cdmatter has quit IRC | 08:02 | |
*** cdmatter has joined #tomu | 08:02 | |
*** acathla has quit IRC | 10:28 | |
*** Mikoaj[m] has left #tomu | 10:30 | |
*** _stew_ has quit IRC | 12:28 | |
*** _stew_ has joined #tomu | 12:30 | |
*** srk has quit IRC | 14:08 | |
*** srk has joined #tomu | 14:09 | |
*** mntmn has quit IRC | 14:37 | |
*** mmmattyx has joined #tomu | 15:34 | |
*** marcmerlin has joined #tomu | 16:29 | |
*** marcmerlin85 has joined #tomu | 16:30 | |
marcmerlin | oh, it looks like #fomu is invite only, so I'll post here for now | 16:31 |
---|---|---|
marcmerlin | greetings. I'm going through the fomu workship, and I got to https://workshop.fomu.im/en/latest/renode-zephyr.html and gdb | 16:31 |
tpb | Title: Running your own Zephyr binary on LiteX/VexRiscv in Renode FPGA Tomu (Fomu) Workshop 0.1-320-gd1e14dc documentation (at workshop.fomu.im) | 16:31 |
marcmerlin | https://renode.readthedocs.io/en/latest/debugging/gdb.html mentions running arm-none-eabi-gdb but I'm not sure where it was supposed to come from. I have renode and zephyr installed, but the only arm-none-eabi-gdb I have is from arduino, and it doesn't seem compatible | 16:33 |
tpb | Title: Debugging with GDB Renode - documentation (at renode.readthedocs.io) | 16:33 |
marcmerlin | (gdb) target remote :3333 | 16:33 |
marcmerlin | Remote debugging using :3333 | 16:33 |
marcmerlin | warning: while parsing target description (at line 4): Target description specified unknown architecture "riscv:rv32" | 16:33 |
*** AnimaInvicta has joined #tomu | 16:52 | |
marcmerlin | (this is using /home/merlin/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-gdb since that's the only one I have) | 16:57 |
*** marcmerlin85 has quit IRC | 16:58 | |
xobs | marcmerlin: I need to run, but I think the issue is you're not specifying an ELF file. | 17:33 |
xobs | It doesn't know what kind of RISC-V processor you have (is it a 64-bit? 32-bit?), and it's not smart enough to guess. | 17:33 |
xobs | Actually, it looks like you're trying to use an ARM gdb to debug a RISC-V, which won't work. | 17:34 |
marcmerlin | Thanks xobs indeed, I was following the fomu workshop which sends to the renode debugging with gdb, page and that one talked about using arm, my bad. | 18:08 |
*** NotaUser has joined #tomu | 18:13 | |
*** mmmattyx has quit IRC | 18:14 | |
NotaUser | Am I doing something wrong? After loading a design onto the FOMU, I have to power cycle the device to be able to flash it again? | 18:17 |
marcmerlin | NotaUser that is my understanding of who things work, yes | 18:41 |
NotaUser | Is there a software reset I can do from Linux | 18:41 |
marcmerlin | this is because the USB port is now taken over by the code running, not the bootloader | 18:41 |
marcmerlin | NotaUser right, I don't know of one, but with wishbone-tool do you have some direct access to the device, so you might be able to tell it to reboot | 18:42 |
tnt | Depends on what you flash ... if you flash a new fpga bitstream (and not just a riscv software firmware), then that bitstream might not _have_ a usb peripheral in it and so if just not recognized by the PC at all. | 18:50 |
*** cdmatter has quit IRC | 19:04 | |
*** cdmatter has joined #tomu | 19:21 | |
*** acathla has joined #tomu | 19:31 | |
*** acathla has quit IRC | 19:56 | |
*** acathla has joined #tomu | 19:56 | |
*** NoGodDamnIdea has joined #tomu | 21:15 | |
*** mmmattyx has joined #tomu | 21:37 | |
tcal | These are very useful with Fomu: https://cdn.sabrent.com/uploads/HB-UM43-Main.jpg | 21:54 |
tcal | Unrelated to that, I filed this issue: https://github.com/enjoy-digital/litex/issues/773 `litex_term, fomu.py target: serialboot not working, but works with older revisions of litex_term #773` | 21:57 |
*** marcmerlin has quit IRC | 23:09 | |
*** AnimaInvicta has left #tomu | 23:38 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!