Thursday, 2018-06-14

*** tpb has joined #timvideos00:00
*** felix_ has quit IRC02:32
*** Elwell has joined #timvideos02:39
*** Elwell_ has joined #timvideos02:47
*** Elwell_ has joined #timvideos02:49
*** Elwell has quit IRC02:49
*** felix_ has joined #timvideos02:50
*** CarlFK has joined #timvideos03:19
*** ChanServ sets mode: +v CarlFK03:19
*** CarlFK has quit IRC03:43
*** rohitksingh_work has joined #timvideos03:58
*** Elwell_ has quit IRC05:23
*** cr1901_modern has quit IRC05:25
xobsIs 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
xobsI'm using netv2mvp.py from bunnie's repo, and I believe it uses liteeth.05:53
_florent_xobs: ok yes05:53
_florent_xobs:  yes it seems etherbone packets are filtered05:53
_florent_xobs; for now it's probably better to use a simple network as bunnie suggests05:54
_florent_xobs: have you already tried with that?05:54
*** Elwell has joined #timvideos05: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 board05: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.py05:58
tpbTitle: netv2-soc/test_identifier.py at master · enjoy-digital/netv2-soc · GitHub (at github.com)05:58
_florent_ok, then it should be good05: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
xobsI also need to turn the firewall off.06:00
xobsThanks, 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 SoC06:03
_florent_you can also run the same scripts06: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 implemented06:05
_florent_that's something that should not be too difficult to add if you think that's useful06:06
*** cr1901_modern has joined #timvideos06:07
xobs_florent_: I'm curious if the software from https://www.ohwr.org/projects/etherbone-core/repository should work.06:09
tpbTitle: 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
tpbTitle: 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/dissectors06:11
tpbTitle: 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 changes06: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.h06:16
_florent_https://github.com/enjoy-digital/netv2-soc/blob/master/firmware/etherbone.c06:16
tpbTitle: netv2-soc/etherbone.h at master · enjoy-digital/netv2-soc · GitHub (at github.com)06:16
tpbTitle: 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 IRC06:36
*** CarlFK has joined #timvideos06:50
*** ChanServ sets mode: +v CarlFK06:50
*** cr1901_modern has joined #timvideos07:00
*** Elwell_ has joined #timvideos07:25
*** Elwell has quit IRC07:26
*** sb0 has joined #timvideos08:03
*** rohitksingh_wor1 has joined #timvideos08:18
*** rohitksingh_work has quit IRC08:19
*** Sigyn has quit IRC09:18
*** Sigyn has joined #timvideos09:19
*** rohitksingh_wor1 has quit IRC10:01
*** rohitksingh_work has joined #timvideos10:05
*** Elwell has joined #timvideos10:28
*** Elwell_ has quit IRC10:28
*** Elwell has quit IRC12:19
*** Elwell has joined #timvideos12:20
*** Elwell_ has joined #timvideos12:40
*** Elwell has quit IRC12:41
*** rohitksingh_work has quit IRC12:43
*** rohitksingh has joined #timvideos13:23
*** rohitksingh1 has joined #timvideos13:48
*** rohitksingh has quit IRC13:49
*** Kripton has quit IRC14:11
*** Kripton has joined #timvideos14:36
*** sb0 has quit IRC14:47
*** rohitksingh1 has quit IRC16:46
*** rohitksingh has joined #timvideos16:48
*** CarlFK has quit IRC19:44
*** lopta has joined #timvideos20:20
loptamithro: I enjoyed your interview on the Amp Hour podcast.20:20
mithro_florent_ / xobs: https://github.com/sigrokproject/libsigrok/compare/master...mithro:litescope20:38
tpbTitle: 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.c20:40
tpbTitle: libsigrok/easy-eb.h at c67b4c11af695e97f9410c1247b02ca06ea30a36 · mithro/libsigrok · GitHub (at github.com)20:40
mithrolopta: Thanks! Did you get to it from tinyfgpas?20:41
loptamithro: No, I'm subscribed.20:41
mithrolopta: My AmpHour was quite a while ago however?20:41
loptaI said I was subscribed, not that I was up-to-date. ;-)20:42
cr1901_modernmithro: What would we do without you? :)21:20
loptaI'm working through the back catalogue.21:55
*** lopta has quit IRC22:06
*** CarlFK has joined #timvideos22:58
*** ChanServ sets mode: +v CarlFK22:58
*** Elwell has joined #timvideos23:56
*** Elwell_ has quit IRC23:58

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!