*** tpb has joined #tomu | 00:00 | |
*** buZz has quit IRC | 03:29 | |
*** buZz has joined #tomu | 03:29 | |
*** buZz is now known as Guest5960 | 03:30 | |
*** Guest5960 has joined #tomu | 03:30 | |
*** Guest5960 is now known as buZz | 03:30 | |
*** pepijndevos has joined #tomu | 07:45 | |
pepijndevos | Can I only install th parts I'm missing from the fomu toolchain? | 07:47 |
---|---|---|
pepijndevos | Or is there a suitable riscv package in arch? | 07:47 |
pepijndevos | (and wishbone) | 07:47 |
xobs | pepijndevos: I'm not sure about `wishbone-tool` -- I don't know if anyone packaged it. And pretty much any riscv toolchain should work. | 07:48 |
xobs | I'm not sure about yosys or nextpnr-ice40, either. I build it with the "heap" placer, as well as building yosys with dsp support, though that's still a work in progress. | 07:49 |
pepijndevos | so riscv64-linux-gnu-gcc is fine? | 07:54 |
xobs | I suspect it would be fine, as long as it's multilib and can compile with -march=rv32i | 07:55 |
pepijndevos | cool | 07:56 |
pepijndevos | I'm still kinda confused how to load eaither a bitstream or a C program onto this things... | 07:57 |
xobs | For C, assuming you have a .bin file, you run `dfu-util -D [file].bin`. | 07:58 |
xobs | For a bitstream file called "bitstream.bin", likewise you do `dfu-util -D bitstream.bin`. | 07:59 |
xobs | The bootloader looks for the FPGA bitstream signature in the first 64 bytes, and if it's there it treats it as a bitstream. Otherwise it assumes it's a Risc-V binary. | 07:59 |
pepijndevos | i see | 07:59 |
pepijndevos | So what's this bootloader running on? Is the RiscV on the ice40? SO If I first load a bitstrea and then a riscv binary, wil the bootloader just reflash a riscv CPU first? | 08:02 |
xobs | The bootloader is running under a risc-v. If you load a C program, it just reuses that core. If you load a bitstream, it shuts down that core and reboots the FPGA using your new bitstream. | 08:03 |
xobs | If you unplug power and plug it back in, it loads the original bootloader bitstream from address 0. | 08:03 |
pepijndevos | ahh, so the flash has like a riscv core at address 0 and somewhere higher up some space to store your own shit | 08:05 |
pepijndevos | So if you load a bitstream it'll also no longer be a dfu device? | 08:05 |
xobs | The flash layout looks something like this: https://p.xobs.io/td19/#/5/9 | 08:06 |
tpb | Title: Fomu: An FPGA in your USB Port (at p.xobs.io) | 08:06 |
xobs | (That image should make its way into the workshop at some point... that would be a Good First Issue...) | 08:07 |
xobs | Yes, if you load a bitstream it will no longer be a DFU device. | 08:07 |
ssb | (until powercycle) | 08:07 |
ssb | xobs, btw, in which case using dfu-suffix is necessary ? | 08:08 |
xobs | However, if you use the litex build system, you'll still be able to access the Wishbone bridge over USB, since it adds a bridge by default. | 08:08 |
xobs | ssb: They claim that it'll be necessary in the next version, but that warning has been there forever. It's necessary to remove the warning, mostly. | 08:08 |
ssb | xobs, ah, ok, thanks. I guess they now have to support that usecase, making warning bigger and scarier each next release forever ) | 08:10 |
xobs | I'm not sure if there's anyone working on dfu_util. I think STM took the standard and redid it with their own flourishes, so the maintainers of `dfu-util` don't do much with it now. There's not much more to be done with it, honestly. | 08:11 |
*** rohitksingh has quit IRC | 09:42 | |
*** xkapastel has joined #tomu | 12:55 | |
*** spacekookie has quit IRC | 12:56 | |
*** spacekookie has joined #tomu | 12:57 | |
*** ademski has joined #tomu | 13:31 | |
*** CarlFK has quit IRC | 13:49 | |
*** emeb has joined #tomu | 14:28 | |
*** emeb has quit IRC | 15:38 | |
*** emeb1 has joined #tomu | 15:38 | |
*** emeb has joined #tomu | 15:41 | |
*** CarlFK has joined #tomu | 15:42 | |
*** kristianpaul is now known as krispaul | 16:36 | |
*** krispaul is now known as kristianpaul | 16:39 | |
*** xkapastel has quit IRC | 16:47 | |
Vercas | So... I recall that a month ago I asked this question. | 18:14 |
Vercas | But I'm asking again. | 18:14 |
Vercas | Why is shipping taking so long? :( | 18:14 |
Vercas | Originally expected to ship on Jul 30, 2019 | 18:15 |
Vercas | Currently expected to ship on Sep 23, 2019 | 18:15 |
ovf | xobs: speaking of which: https://aur.archlinux.org/packages/wishbone-tool | 19:31 |
tpb | Title: AUR (en) - wishbone-tool (at aur.archlinux.org) | 19:31 |
ovf | Vercas: i think it's generally more helpful to contact crowdsupply about your shipment -- as far as i know nobody in this channel has control over their logistics. | 19:35 |
*** rohitksingh has joined #tomu | 19:36 | |
*** ademski has quit IRC | 21:05 | |
mithro | https://github.com/stef/nb-fomu-hw | 21:33 |
tpb | Title: GitHub - stef/nb-fomu-hw: non-blinky fomu hello world (fpga usb uart demos) (at github.com) | 21:33 |
mithro | FYI - https://github.com/YosysHQ/yosys-tests/pull/71 | 21:35 |
tpb | Title: Xilinx UG901 test. Divide to separate tests for each case. by SergeyDegtyar · Pull Request #71 · YosysHQ/yosys-tests · GitHub (at github.com) | 21:35 |
*** js has quit IRC | 21:35 | |
mithro | Opps wrong channel | 21:35 |
*** js has joined #tomu | 21:47 | |
*** xkapastel has joined #tomu | 22:52 | |
*** ybit has joined #tomu | 22:59 | |
futarisIRCcloud | http://blog.lambdaconcept.com/doku.php?id=products:bonobo:iphone_bootrom_debug | 23:13 |
tpb | Title: products:bonobo:iphone_bootrom_debug [Wiki] (at blog.lambdaconcept.com) | 23:13 |
*** im-tomu has left #tomu | 23:13 | |
*** im-tomu has joined #tomu | 23:14 | |
*** rohitksingh has quit IRC | 23:23 | |
*** rohitksingh has joined #tomu | 23:51 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!