_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 268 seconds]
Degi_ is now known as Degi
nickoe has quit [Quit: Client closed]
nelgau has quit []
nickoe has joined #litex
nelgau has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
FabM has joined #litex
FabM has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
zjason has quit [Remote host closed the connection]
zjason has joined #litex
<msh> should jtagbone work OK with litescope? with litex_cli --regs I can see analyzer_trigger_done getting set, but analyzer_storage_done never gets set. doesn't _seem_ like it would be transport related, but uartbone worked OK in a similar setup before
Brinx has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
Brinx has quit [Ping timeout: 265 seconds]
Brinx has joined #litex
<msh> tried uartbone in the same design now, and it works. guess maybe jtagbone is OK at slow rates or something
<tnt> In theory both are equivalent ... does jtagbone work for you for other stuff ?
<tnt> And TBH you're better off with uartbone. It's usually faster than jtagbone if you set a baudrate of like 1M or 2Mbaud.
<msh> jtagbone worked fine for litex_cli --regs, haven't used it for much else (I'm just integrating a generated litescope .v into another design)
<msh> will use uartbone, just the target board doesn't currently have any spare pins brought out. but can sort that out
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
nickoe has quit [Ping timeout: 252 seconds]
nickoe has joined #litex
<nickoe> msh I think the jtagbone is sorta slow
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
<nickoe> Is it possible to have multiple "endpoints" for the serial console?
minute has joined #litex
<minute> hey, i am bringing up a new kintex-7 board with KSZ9031RNX eth phy, and i have a weird problem, it looks like all the nybbles in rx packages are doubled
<minute> example: 555555555555555555555555555555dd333333330000000000001100cc00008833666622bb00bb116688dddd006600000000000000000022aa33ffffeeff0088000000000000000000000000ee0000883366ffffeeff6622bb00bb11ffff220000
<minute> 000000000000000000000000000000000000000000000000001100668800008833ffff004400cc00000000000000000000000000000000000000005500110000000000000000005500ccdd11001100cc00008833666622bb00bb113399bbdd9955
<minute> ee22
<minute> any ideas?
<minute> (this is from the output of turning on eth/udp debug in litex bios)
<zyp> DDR vs SDR mismatch?
<minute> something with RX_DV/RX_CLK perhaps? this used to work on the last rev of the board, and this part wasn't changed, weirdly
<zyp> or perhaps something is running at double the clock rate it's supposed to
<minute> mhmm
dlobato has joined #litex
dlobato has quit [Client Quit]
<minute> each nybble is received twice and the nybbles are swapped... if i unscramble that in a script, it's a valid packet
<minute> another q, don't i have to set the phy mdio address anywhere?!
<zyp> probably defaults to 0, if mdio is even used
FabM has quit [Ping timeout: 264 seconds]
<_florent_> Ohh, I just saw that Intel PathFinder is in fact using LiteX under the hood: https://twitter.com/enjoy_digital/status/1570128793834258432
nickoe has quit [Ping timeout: 252 seconds]
<_florent_> gsomlo: For the Rocket support they are advertising, they are probably just reusing your work :)
<somlo> _florent_: heh... why re-build the wheel when there's a nice, round one already there ;)
<somlo> BTW, made it a whole lot further with Fedora this time around (with LiteX support built into their "distro" kernel). Still crashes, but well *after* switching root from initrd to /dev/mmcblk0p2); https://imgur.com/a/8pvwQEp , https://imgur.com/a/FpnCFDb and https://imgur.com/a/lmCgog3
<tpb> Title: Imgur: The magic of the Internet (at imgur.com)
<somlo> I'll post a full log of serial at some point soon, before I start hunting for what exactly causes the crash
<somlo> but we're getting closer to world domination ;)
<minute> zyp: could this be a mismatch of 100mbit vs 1000? i.e. if the phy is in 10/100 mode it would clock the data as SDR and liteeth would sample at DDR, right? how can liteeth detect the link mode?
<zyp> minute, possible, IIRC it should detect the link mode from status bits on the data lines when idle
<minute> oh hmm, i didn't know this was possible. there's no MDIO happening at all, right?
<minute> i'm not sure if liteeth rgmii even supports switching to 100/10mbit? because it would need to switch the clock down to 25mhz or 2.5mhz
<minute> and s7rgmii.py has: tx_clk_freq = 125e6 and: rx_clk_freq = 125e6
<zyp> would it? I was of the impression that it's running the same clock and just repeating symbols
<zyp> hmm, no I guess RGMII is different from RMII in that regard
<zyp> RGMII is source synchronous, so in 100Mb/s mode it'll give you a 25MHz clock and SDR data
<zyp> so if your receiver believes it's still in 1Gb/s mode, it'll be clocked by the 25MHz RXCLK, but capture DDR data
<minute> exactly
<minute> possibly the cable i used was bad quality or old and downgraded to 100mbit this time, and liteeth doesn't know about this
<minute> i'll check link status via mido read tomorrow
<zyp> no lights on the switch showing speed?
nickoe has joined #litex
guan has quit [Quit: Connection closed for inactivity]
nickoe has quit [Quit: Client closed]
nickoe has joined #litex