Tuesday, 2023-04-04

*** tpb <[email protected]> has joined #litex00:00
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)00:27
*** shorne <[email protected]> has joined #litex00:27
*** shorne <[email protected]> has quit IRC (Ping timeout: 265 seconds)00:35
*** shorne <[email protected]> has joined #litex00:36
*** shorne <[email protected]> has quit IRC (Ping timeout: 268 seconds)00:50
*** bl0x_ <[email protected]> has joined #litex01:10
*** bl0x <[email protected]> has quit IRC (Ping timeout: 268 seconds)01:12
*** Degi <[email protected]> has quit IRC (Ping timeout: 276 seconds)02:05
*** Degi <[email protected]> has joined #litex02:09
MoeIcenowysomlo: sounds a normal situation for RGMII02:18
MoeIcenowymaybe I should say it's a normal problem for RGMII02:18
*** shorne <[email protected]> has joined #litex02:57
*** pbsds <[email protected]> has quit IRC (Quit: The Lounge - https://thelounge.chat)03:20
*** pbsds <[email protected]> has joined #litex03:22
*** shorne <[email protected]> has quit IRC (Ping timeout: 276 seconds)03:33
*** shorne <[email protected]> has joined #litex03:33
*** shorne <[email protected]> has quit IRC (Ping timeout: 276 seconds)04:17
*** shorne <[email protected]> has joined #litex04:18
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)04:48
*** shorne <[email protected]> has joined #litex04:54
*** zjason`` is now known as zjason05:03
_florent_mithro: The PCIe test infrastructure from Alex Forencich seems interesting yes (as his other repos :)), for now LitePCIe is tested with a simple Python model/unit-test and tests on hardware.05:22
_florent_mithro: I'm currently reworking the Ultrascale(+) PHY integration and will probably add some unit-tests for this. But not sure I'll have time now to do a test of cocotbext-pcie.05:23
_florent_somlo: Good for the tests on the STLV7325, I also have one v1 if you need more support. I remember testing SATA and that it was not working directly (but haven't investitaged), I could have a closer look. SATA is generally very easy to get working, so maybe the maybe the GTX/pinout is not correct, we could do some low level test to verify this, like generating the clock pattern and check it with a scope. 05:25
*** shorne <[email protected]> has quit IRC (Ping timeout: 255 seconds)05:49
*** indy_ is now known as indy06:05
*** shorne <[email protected]> has joined #litex07:06
somlo_florent_: I should also try testing sata using my fmc adapter (once I get the fmc pins added to the platform file)11:12
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)11:12
*** shorne <[email protected]> has joined #litex11:18
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)13:32
*** shorne <[email protected]> has joined #litex13:38
*** pacot24 <pacot24!~pacot24@ec2-3-77-160-50.eu-central-1.compute.amazonaws.com> has joined #litex13:41
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)13:42
*** shorne <[email protected]> has joined #litex13:48
*** pacot24 <pacot24!~pacot24@ec2-3-77-160-50.eu-central-1.compute.amazonaws.com> has quit IRC (Quit: Client closed)14:01
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::11> has quit IRC (Ping timeout: 250 seconds)15:06
somlo_florent_: how "sensitive" is RGMII to the delay parameter(s) for rx and tx? I don't have a lot of (any?) detailed experience with that, but during tftpboot the transfer of data looks like it's "stuttering" (much more so than on other boards like trellis, ecpix5, or nexys-video)15:07
somlois it more like once I get some values that work at all it's unlikely to get better if I move away from that? Or is it a matter of "tuning" to "optimize" behavior, even once it "sort-of" "works" :)15:07
* somlo needs to stop using "quotes" :D15:08
somloin linux, once booted, eth0 is rock solid, fwiw15:08
tntSome phy have programmable delays and so you need the bootloader/kernel/hardware to agree. It's possible that linux configures the phy suitably but not the bootloader ?15:09
somlothe linux liteeth driver doesn't seem to do anything fancy with the phy15:15
somloas in, no configuration thereof at all, afaict15:16
*** shorne <[email protected]> has quit IRC (Ping timeout: 252 seconds)15:18
somlobeing physically away from the board atm, but thinking about it anyway, I'm just wondering if and how much it'd be worth spending time compiling bitstream with various small deviations from the timeout values I've discovered got the ethernet to work in the first place (tx_delay = rx_delay = 1e09) vs. the defaults (2e09 for both) where it didn't work *at all* :)15:18
*** shorne <[email protected]> has joined #litex15:20
somloI.e., is there a *method* to this, or is it just "try something, and if it works, try something else to see if it could work *better*" (which is what I've been doing so far with it) :)15:21
somloand, finally, is "better" an intrinsic local property of my phy configuration, or does it depend on the rest of the network gear it's connected to (in the latter case things would be really messy, so I'm hoping that isn't it)15:22
*** shorne <[email protected]> has quit IRC (Ping timeout: 260 seconds)15:27
*** shorne <[email protected]> has joined #litex15:37
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::11> has joined #litex15:47
*** shorne <[email protected]> has quit IRC (Ping timeout: 255 seconds)16:11
*** shorne <[email protected]> has joined #litex16:11
*** shorne <[email protected]> has quit IRC (Ping timeout: 252 seconds)16:55
*** shorne <[email protected]> has joined #litex17:37
MoeIcenowysomlo: I think it's local23:06
MoeIcenowyit's about the trace length between the PHY and MAC23:07
MoeIcenowy(and in our case, the MAC is just the FPGA23:07
somlook, so I'll experiment with values around 1e-9 (from like 0.5e-9 to 1.5e-9) -- we know 2e-9 does not work, and 0 doesn't, either23:38
zypRGMII is 4b DDR at 125MHz, so period time is 8ns and each symbol time is at 4ns23:46
zypso I figure you need to adjust the skew so all four data lines hit within the 4ns window with reasonable margins for jitter23:48
zypand probably rise/fall times as well23:49
zypand if the data lines are mismatched, that makes it a harder target to hit, but I'm not sure it's likely that they're significantly mismatched23:50
zypare you sure the DDR buffers in the FPGA are configured correctly wrt. center/edge alignment?23:52

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