*** tpb has joined #litex | 00:00 | |
*** CarlFK has joined #litex | 00:32 | |
*** rohitksingh has quit IRC | 01:34 | |
*** rohitksingh has joined #litex | 02:04 | |
*** rohitksingh has quit IRC | 02:25 | |
*** rohitksingh has joined #litex | 02:33 | |
*** rohitksingh has quit IRC | 02:48 | |
*** scanakci has joined #litex | 02:56 | |
*** CarlFK has quit IRC | 03:19 | |
*** rohitksingh has joined #litex | 03:34 | |
*** rohitksingh has quit IRC | 04:08 | |
*** rohitksingh has joined #litex | 05:24 | |
*** rohitksingh has quit IRC | 05:32 | |
*** _whitelogger has quit IRC | 05:54 | |
*** _whitelogger has joined #litex | 05:57 | |
*** _whitelogger has quit IRC | 06:12 | |
*** _whitelogger has joined #litex | 06:15 | |
*** CarlFK has joined #litex | 07:58 | |
*** rohitksingh has joined #litex | 09:40 | |
*** scanakci has quit IRC | 13:36 | |
somlo | has anyone managed to build a versa_ecp5 SoC with working Ethernet recently? I'm using yosys 613334d, trellis 4e0b215, nextpnr dd7f7a5 (built on Dec. 11), and the most recent LiteX | 14:10 |
---|---|---|
somlo | no matter whether I try to build a Rocket system at 60 MHz or a vexriscv at 75MHz, when it tries to tftp-boot "bios.bin", the tftp server sees the requests and replies to them, but the ecp5 board acts like it never receives any return traffic, and fails out of netboot | 14:12 |
somlo | _florent_, daveshah: ^^^^ | 14:12 |
daveshah | With whatever Yosys nextpnr and LiteX I have (circa a week or two old) it seems alright | 14:19 |
somlo | daveshah: do you have a copy of the bitstream you could share -- so I can rule out *physical* hardware and networking? | 14:23 |
somlo | daveshah: nvm, I grabbed a really old one I had from months ago, and it tftp's just fine | 14:25 |
somlo | it's gotta be at the intersection of my specific toolchain, litex, and liteeth version | 14:26 |
daveshah | Sorry, got hit by a power cut which briefly took out the phone masts too | 14:50 |
daveshah | Will continue looking once power is back | 14:51 |
daveshah | So as far as I can tell, with latest Yosys and nextpnr, it is fine | 15:17 |
daveshah | that was with LiteX 3d20442f and liteeth f2b3f7ee | 15:19 |
daveshah | Seems to work fine with latest LiteX too | 15:27 |
daveshah | https://usercontent.irccloud-cdn.com/file/GSIKiPYK/top.bit | 15:28 |
somlo | ok, maybe I landed on a weird yosys+nxtpnr combination, let me try to rebuild both from latest sources, see if that changes anything for me... | 15:32 |
somlo | well, just yosys, since both my trellis and nextpnr are at their latest github versions... | 15:36 |
somlo | daveshah: http://mirror.ini.cmu.edu/top.svf (built using yosys f52c6ef, trellis 4e0b215, nextpnr dd7f7a5, and current litex/liteeth/litedram) | 17:07 |
somlo | command was "litex/litex/boards/targets/versa_ecp5.py --gateware-toolchain trellis --sys-clk-freq 75e6 --with-ethernet --cpu-type vexriscv" | 17:08 |
somlo | if you get a chance to try it on a 5g versa and tell me if ethernet works for you -- because it still won't for me :( | 17:09 |
daveshah | somlo: works fine here... | 17:14 |
somlo | ugh... works fine here with my *other* versa5g board... What I don't get then is why that really old bitstream I tried on the "broken" one *did* work... | 17:18 |
somlo | anyhow, me and my weird hardware heisen-bugs, sorry for all the noise :) | 17:18 |
* somlo needs to add "try another board" into his troubleshooting workflow :) | 17:22 | |
daveshah | Guess it is something marginal around the RGMII link to the phy | 18:20 |
_florent_ | somlo: it could be worth adjusting the delays values of the DELAYF: | 18:32 |
_florent_ | https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/ecp5rgmii.py#L76 | 18:32 |
tpb | Title: liteeth/ecp5rgmii.py at master · enjoy-digital/liteeth · GitHub (at github.com) | 18:32 |
_florent_ | https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/ecp5rgmii.py#L94 | 18:32 |
tpb | Title: liteeth/ecp5rgmii.py at master · enjoy-digital/liteeth · GitHub (at github.com) | 18:32 |
_florent_ | https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/ecp5rgmii.py#L148 | 18:33 |
tpb | Title: liteeth/ecp5rgmii.py at master · enjoy-digital/liteeth · GitHub (at github.com) | 18:33 |
_florent_ | i haven't played that much with it since the expected values were working, but this would maybe need some adjustements to be more reliable | 18:34 |
somlo | _florent_: thanks, I'll try playing with that next time I plug in the *other* versa board :) | 18:47 |
*** rohitksingh has quit IRC | 19:40 | |
*** key2 has quit IRC | 19:45 | |
*** key2 has joined #litex | 19:45 | |
*** davidc__ has quit IRC | 20:06 | |
*** davidc__ has joined #litex | 20:06 | |
*** scanakci has joined #litex | 20:17 | |
*** nrossi has quit IRC | 20:19 | |
*** dkozel has quit IRC | 22:33 | |
*** dkozel has joined #litex | 22:34 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!