*** tpb has joined #timvideos | 00:00 | |
*** felix_ has quit IRC | 02:32 | |
*** Elwell has joined #timvideos | 02:39 | |
*** Elwell_ has joined #timvideos | 02:47 | |
*** Elwell_ has joined #timvideos | 02:49 | |
*** Elwell has quit IRC | 02:49 | |
*** felix_ has joined #timvideos | 02:50 | |
*** CarlFK has joined #timvideos | 03:19 | |
*** ChanServ sets mode: +v CarlFK | 03:19 | |
*** CarlFK has quit IRC | 03:43 | |
*** rohitksingh_work has joined #timvideos | 03:58 | |
*** Elwell_ has quit IRC | 05:23 | |
*** cr1901_modern has quit IRC | 05:25 | |
xobs | Is there any documentation on how to use liteeth? I can ping the device (10.0.11.2), but etherbone software such as "eb-ls" doesn't work, and python keeps throwing socket.timeout errors when using RemoteClient(). | 05:41 |
---|---|---|
_florent_ | xobs: can you describe your configuration? | 05:51 |
_florent_ | xobs: are you using the hardware ip/udp/etherbone stack? | 05:52 |
xobs | _florent_: NeTV2 MVP. Earlier I was going through a gigabit hub, and it did respond to pings as well, but after bunnie's recommendation I switched to using a USB Ethernet device. | 05:52 |
xobs | I'm using netv2mvp.py from bunnie's repo, and I believe it uses liteeth. | 05:53 |
_florent_ | xobs: ok yes | 05:53 |
_florent_ | xobs: yes it seems etherbone packets are filtered | 05:53 |
_florent_ | xobs; for now it's probably better to use a simple network as bunnie suggests | 05:54 |
_florent_ | xobs: have you already tried with that? | 05:54 |
*** Elwell has joined #timvideos | 05:54 | |
_florent_ | you can do that: | 05:56 |
_florent_ | 1) be sure to be on a simple network (no packet filtering) | 05:56 |
_florent_ | 2) ping the board | 05:56 |
_florent_ | 3) start the litex_server: litex_server udp <ip_address_of_the_board> | 05:58 |
xobs | _florent_: I can ping the board, and it's directly connected via a USB Ethernet device. Windows firewall is off. | 05:58 |
_florent_ | 4) try to get the identifier with https://github.com/enjoy-digital/netv2-soc/blob/master/test/test_identifier.py | 05:58 |
tpb | Title: netv2-soc/test_identifier.py at master · enjoy-digital/netv2-soc · GitHub (at github.com) | 05:58 |
_florent_ | ok, then it should be good | 05:59 |
xobs | _florent_: Okay, it does work if I run litex_server and talk to it that way, thanks. If I don't run litex_server and try to talk directly to it using RemoteClient(), or if I try to use the etherbone tools such as eb-discover and eb-ls, it doesn't work. | 06:00 |
xobs | I also need to turn the firewall off. | 06:00 |
xobs | Thanks, I've got a lead to follow now! | 06:00 |
_florent_ | xobs: the litex_server is here to be able to use the same tests script with various kind of interfaces: serial, ethernet, pcie, etc... | 06:02 |
_florent_ | so if you do: | 06:02 |
_florent_ | litex_server uart /dev/ttyUSBX and have a uart to wishbone bridge in the SoC | 06:03 |
_florent_ | you can also run the same scripts | 06:03 |
xobs | _florent_: Is the wire protocol documented anywhere? And is the protocol compatible with the etherbone stuff, such that software such as eb-ls and eb-discover should work? | 06:04 |
_florent_ | i know the wireshark etherbone dissector is able to recognize the packets, but i'm not sure discovering is implemented | 06:05 |
_florent_ | that's something that should not be too difficult to add if you think that's useful | 06:06 |
*** cr1901_modern has joined #timvideos | 06:07 | |
xobs | _florent_: I'm curious if the software from https://www.ohwr.org/projects/etherbone-core/repository should work. | 06:09 |
tpb | Title: Open Hardware Repository | EtherBone Core - / - Repository (at www.ohwr.org) | 06:09 |
_florent_ | if you follow the limitations: https://github.com/enjoy-digital/liteeth/blob/master/liteeth/frontend/etherbone.py#L7, it should (but never tested) | 06:10 |
tpb | Title: liteeth/etherbone.py at master · enjoy-digital/liteeth · GitHub (at github.com) | 06:10 |
_florent_ | there is a wireshark dissector here btw if that can be useful: https://github.com/enjoy-digital/liteeth/tree/master/liteeth/software/dissectors | 06:11 |
tpb | Title: liteeth/liteeth/software/dissectors at master · enjoy-digital/liteeth · GitHub (at github.com) | 06:11 |
_florent_ | i think it's the one from etherbone-core with little changes | 06:11 |
_florent_ | if it can be useful, i also have this: | 06:16 |
_florent_ | https://github.com/enjoy-digital/netv2-soc/blob/master/firmware/etherbone.h | 06:16 |
_florent_ | https://github.com/enjoy-digital/netv2-soc/blob/master/firmware/etherbone.c | 06:16 |
tpb | Title: netv2-soc/etherbone.h at master · enjoy-digital/netv2-soc · GitHub (at github.com) | 06:16 |
tpb | Title: netv2-soc/etherbone.c at master · enjoy-digital/netv2-soc · GitHub (at github.com) | 06:16 |
_florent_ | in this case, etherbone is not implemented in hardware but handled by the soft cpu. | 06:17 |
*** cr1901_modern has quit IRC | 06:36 | |
*** CarlFK has joined #timvideos | 06:50 | |
*** ChanServ sets mode: +v CarlFK | 06:50 | |
*** cr1901_modern has joined #timvideos | 07:00 | |
*** Elwell_ has joined #timvideos | 07:25 | |
*** Elwell has quit IRC | 07:26 | |
*** sb0 has joined #timvideos | 08:03 | |
*** rohitksingh_wor1 has joined #timvideos | 08:18 | |
*** rohitksingh_work has quit IRC | 08:19 | |
*** Sigyn has quit IRC | 09:18 | |
*** Sigyn has joined #timvideos | 09:19 | |
*** rohitksingh_wor1 has quit IRC | 10:01 | |
*** rohitksingh_work has joined #timvideos | 10:05 | |
*** Elwell has joined #timvideos | 10:28 | |
*** Elwell_ has quit IRC | 10:28 | |
*** Elwell has quit IRC | 12:19 | |
*** Elwell has joined #timvideos | 12:20 | |
*** Elwell_ has joined #timvideos | 12:40 | |
*** Elwell has quit IRC | 12:41 | |
*** rohitksingh_work has quit IRC | 12:43 | |
*** rohitksingh has joined #timvideos | 13:23 | |
*** rohitksingh1 has joined #timvideos | 13:48 | |
*** rohitksingh has quit IRC | 13:49 | |
*** Kripton has quit IRC | 14:11 | |
*** Kripton has joined #timvideos | 14:36 | |
*** sb0 has quit IRC | 14:47 | |
*** rohitksingh1 has quit IRC | 16:46 | |
*** rohitksingh has joined #timvideos | 16:48 | |
*** CarlFK has quit IRC | 19:44 | |
*** lopta has joined #timvideos | 20:20 | |
lopta | mithro: I enjoyed your interview on the Amp Hour podcast. | 20:20 |
mithro | _florent_ / xobs: https://github.com/sigrokproject/libsigrok/compare/master...mithro:litescope | 20:38 |
tpb | Title: Comparing sigrokproject:master...mithro:litescope · sigrokproject/libsigrok · GitHub (at github.com) | 20:38 |
mithro | _florent_ / xobs: https://github.com/mithro/libsigrok/blob/c67b4c11af695e97f9410c1247b02ca06ea30a36/src/hardware/litescope/easy-eb.h and https://github.com/mithro/libsigrok/blob/c67b4c11af695e97f9410c1247b02ca06ea30a36/src/hardware/litescope/easy-eb.c | 20:40 |
tpb | Title: libsigrok/easy-eb.h at c67b4c11af695e97f9410c1247b02ca06ea30a36 · mithro/libsigrok · GitHub (at github.com) | 20:40 |
mithro | lopta: Thanks! Did you get to it from tinyfgpas? | 20:41 |
lopta | mithro: No, I'm subscribed. | 20:41 |
mithro | lopta: My AmpHour was quite a while ago however? | 20:41 |
lopta | I said I was subscribed, not that I was up-to-date. ;-) | 20:42 |
cr1901_modern | mithro: What would we do without you? :) | 21:20 |
lopta | I'm working through the back catalogue. | 21:55 |
*** lopta has quit IRC | 22:06 | |
*** CarlFK has joined #timvideos | 22:58 | |
*** ChanServ sets mode: +v CarlFK | 22:58 | |
*** Elwell has joined #timvideos | 23:56 | |
*** Elwell_ has quit IRC | 23:58 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!