Wednesday, 2021-03-03

*** tpb has joined #litex00:00
*** lf has quit IRC01:01
*** lf has joined #litex01:01
*** oter has joined #litex01:21
*** pftbest has quit IRC01:29
*** oter has quit IRC01:46
*** pftbest has joined #litex01:49
*** pftbest has quit IRC01:53
*** shoragan has quit IRC02:29
*** shoragan has joined #litex02:33
*** mikeK_de1soc has joined #litex02:52
*** lkcl has quit IRC03:05
*** Degi_ has joined #litex03:15
*** lkcl has joined #litex03:17
*** Degi has quit IRC03:17
*** Degi_ is now known as Degi03:17
*** mikeK_de1soc has quit IRC03:36
*** lkcl has quit IRC03:42
*** lkcl has joined #litex03:55
*** G33KatWork has quit IRC04:04
*** nelgau_ has quit IRC04:07
*** G33KatWork has joined #litex04:17
*** pftbest has joined #litex04:26
*** pftbest has quit IRC04:31
*** Bertl_oO is now known as Bertl_zZ04:36
*** pftbest has joined #litex04:47
*** pftbest has quit IRC04:52
*** TMM has quit IRC05:11
*** TMM has joined #litex05:11
*** _whitelogger has quit IRC05:36
*** _whitelogger has joined #litex05:38
*** Emantor has quit IRC06:18
*** Emantor has joined #litex06:23
*** Emantor has quit IRC06:36
*** Emantor has joined #litex06:42
*** pftbest has joined #litex07:00
leonsThis might be a stupid question: how predictable is the timing of accessing memory-mapped registers (such as the CSRs) via Wishbone when issuing a read / write using something like a VexRiscv CPU?09:12
leonsI'm afraid I don't fully understand how the data bus caching would affect those, but intuitively I'd guess not at all? Given that a register read / write may have other side effects so it effectively can't be cached, right?09:13
*** Zguig has joined #litex09:35
ZguigHi _florent_, for info, I did some research, but couldn't find how to debug this. I still have issues with the IRQ configuration of liteeth with my ecpix5 board and linux on vexriscv. When I put back polling in the dtb it is working fine as you adviced me but I could find a good tutorial on how to analyse the IRQ reception in Linux to find what was09:39
Zguigthe issue... Has anybody else the same issue?09:39
ZguigBest ressources I found were this09:42
Zguighttps://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/#interrupt-handler09:42
tpbTitle: Monitoring and Tuning the Linux Networking Stack: Receiving Data - Packagecloud Blog (at blog.packagecloud.io)09:42
Zguighttps://wiki.linuxfoundation.org/networking/napi09:42
tpbTitle: networking:napi [Wiki] (at wiki.linuxfoundation.org)09:42
*** Bertl_zZ is now known as Bertl10:54
*** Melkhior has joined #litex12:21
*** nelgau has joined #litex12:24
*** kgugala has quit IRC12:28
_florent_leons: The CSR region is part of the IO region and is not cached. So if the CPU is the only master on the SoC bus, you'll have predictable timings. (If you have other Masters there will be some arbitration which will not be predictable)12:44
leonsflorent: that's what I thought, but great to have someone more knowledgeable confirm it, thanks!12:46
_florent_Zguig: I'm going to do a quick test with Linux-on-LiteX-Vexriscv and the ECP512:47
_florent_ECP5/ECPIX512:48
_florent_Zguig: I'm able to reproduce the issue but will not be able to investigate now13:32
*** mikeK_de1soc has joined #litex13:34
*** mikeK_de1soc has quit IRC13:36
shorne_somlo: sorry for late reply, Yes its upstream, time to rebased and test if you haven't already13:37
shorne_any luck with MMC? I got sidetracked on some other work (barebox, openrisc github ci) but now I can get back to looking at the MMC stuff13:38
shorne_I wanted to try out litescope13:38
*** Zguig has quit IRC14:10
*** kgugala has joined #litex14:37
*** rozpruwacz has joined #litex14:45
*** Bertl is now known as Bertl_oO14:57
*** peepsalot has quit IRC15:26
*** peepsalot has joined #litex15:35
_florent_shorne_: Hi, somlo investigated a bit on the SDCard but we've also been busy with other things.16:01
_florent_shorne_: I still need to do some capture with an external Logic Analyzer with Arty/SDCard PMOD to compare accesses with the BIOS and with Linux16:03
_florent_If you want to use LiteScope, you can have a look at: https://github.com/enjoy-digital/litex/wiki/Use-LiteScope-To-Debug-A-SoC16:03
*** pftbest has quit IRC16:46
*** pftbest has joined #litex16:47
*** Degi has quit IRC16:50
*** Degi has joined #litex16:51
*** kgugala has quit IRC17:01
*** lkcl has quit IRC17:01
*** kgugala has joined #litex17:06
*** lkcl has joined #litex17:06
*** oter has joined #litex17:13
* oter When I drive my liteeth UDP traffic past ~930Mbit/s (running on a Genesys2), I sometimes see even ICMP packets failing (stack locks up). Best root cause I've found is that the tx side ready signal is stuck at 0. Does anyone else have experience or observations for similar siuations, when driving the IP stack to the 1Gb/s wire limit?17:21
*** TMM has quit IRC17:34
*** TMM has joined #litex17:34
*** rozpruwacz has quit IRC17:35
_florent_oter: Not sure I've seen this, but if you have a minimal design that reproduce the issue, can you create an issue on LiteEth? I could investigate (and also have a Genesys2)17:38
* oter _florent_ thanks!! I will peel away cruft and try to make a minimal reproducer. Great to hear we have the same board. Likely end of week, the earliest.17:39
*** simeonm has quit IRC17:40
_florent_oter: ok thanks, that's indeed easier to investigate on the same hardware :)17:51
*** simeonm has joined #litex18:00
nickoe_florent_: Should I create an issue about the donut issue where it appears to exit it immediately (one frame) in simlation?19:26
*** Melkhior has quit IRC19:50
*** st-gourichon-fid has quit IRC20:00
*** st-gourichon-fid has joined #litex20:01
_florent_nickoe: yes please, thanks.20:34
*** Diana has joined #litex20:42
*** rozpruwacz has joined #litex21:04
*** Diana has quit IRC21:06
shorne__florent_: thanks, I was reading *a* page on litescope, but I think your link is much more detailed21:10
*** shorne_ is now known as shorne21:10
*** st-gourichon-fid has quit IRC21:11
*** st-gourichon-fid has joined #litex21:12
*** test has joined #litex21:15
*** test has quit IRC21:15
*** mntmn has quit IRC21:33
*** trabucayre has quit IRC21:33
*** mntmn has joined #litex21:34
*** trabucayre has joined #litex21:34
*** simeonm has quit IRC21:36
*** simeonm has joined #litex21:38
*** mikeK_de1soc has joined #litex22:00
*** Diana has joined #litex22:32
*** Diana has quit IRC22:33
*** Diana has joined #litex22:33
*** Diana has quit IRC22:35

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