Thursday, 2021-01-14

*** tpb has joined #tomu00:00
*** AnimaInvicta has left #tomu00:10
*** futarisIRCcloud has joined #tomu02:02
*** mmmattyx has quit IRC02:40
*** futarisIRCcloud has quit IRC05:52
*** srk has quit IRC06:30
*** srk has joined #tomu06:31
*** cdmatter has quit IRC08:02
*** cdmatter has joined #tomu08:02
*** acathla has quit IRC10:28
*** Mikoaj[m] has left #tomu10:30
*** _stew_ has quit IRC12:28
*** _stew_ has joined #tomu12:30
*** srk has quit IRC14:08
*** srk has joined #tomu14:09
*** mntmn has quit IRC14:37
*** mmmattyx has joined #tomu15:34
*** marcmerlin has joined #tomu16:29
*** marcmerlin85 has joined #tomu16:30
marcmerlinoh, it looks like #fomu is invite only, so I'll post here for now16:31
marcmerlingreetings. I'm going through the fomu workship, and I got to https://workshop.fomu.im/en/latest/renode-zephyr.html and gdb16:31
tpbTitle: 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
marcmerlinhttps://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 compatible16:33
tpbTitle: Debugging with GDB Renode - documentation (at renode.readthedocs.io)16:33
marcmerlin(gdb) target remote :333316:33
marcmerlinRemote debugging using :333316:33
marcmerlinwarning: while parsing target description (at line 4): Target description specified unknown architecture "riscv:rv32"16:33
*** AnimaInvicta has joined #tomu16: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 IRC16:58
xobsmarcmerlin: I need to run, but I think the issue is you're not specifying an ELF file.17:33
xobsIt 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
xobsActually, it looks like you're trying to use an ARM gdb to debug a RISC-V, which won't work.17:34
marcmerlinThanks 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 #tomu18:13
*** mmmattyx has quit IRC18:14
NotaUserAm 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
marcmerlinNotaUser that is my understanding of who things work, yes18:41
NotaUserIs there a software reset I can do from Linux18:41
marcmerlinthis is because the USB port is now taken over by the code running, not the bootloader18:41
marcmerlinNotaUser 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 reboot18:42
tntDepends 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 IRC19:04
*** cdmatter has joined #tomu19:21
*** acathla has joined #tomu19:31
*** acathla has quit IRC19:56
*** acathla has joined #tomu19:56
*** NoGodDamnIdea has joined #tomu21:15
*** mmmattyx has joined #tomu21:37
tcalThese are very useful with Fomu: https://cdn.sabrent.com/uploads/HB-UM43-Main.jpg21:54
tcalUnrelated 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 IRC23:09
*** AnimaInvicta has left #tomu23:38

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!