Emantor has quit [Remote host closed the connection]
Emantor has joined #litex
Emantor has quit [Remote host closed the connection]
Emantor has joined #litex
pftbest has joined #litex
<leons>
This 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?
<leons>
I'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?
Zguig has joined #litex
<Zguig>
Hi _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 was
<Zguig>
the issue... Has anybody else the same issue?
<_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)
<leons>
florent: that's what I thought, but great to have someone more knowledgeable confirm it, thanks!
<_florent_>
Zguig: I'm going to do a quick test with Linux-on-LiteX-Vexriscv and the ECP5
<_florent_>
ECP5/ECPIX5
<_florent_>
Zguig: I'm able to reproduce the issue but will not be able to investigate now
mikeK_de1soc has joined #litex
mikeK_de1soc has quit [Client Quit]
<shorne_>
somlo: sorry for late reply, Yes its upstream, time to rebased and test if you haven't already
<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 stuff
<shorne_>
I wanted to try out litescope
Zguig has quit [Ping timeout: 240 seconds]
kgugala has joined #litex
rozpruwacz has joined #litex
Bertl is now known as Bertl_oO
peepsalot has quit [Ping timeout: 264 seconds]
peepsalot has joined #litex
<_florent_>
shorne_: Hi, somlo investigated a bit on the SDCard but we've also been busy with other things.
<_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 Linux
* 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?
<_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)
* 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.
simeonm has quit [Ping timeout: 256 seconds]
<_florent_>
oter: ok thanks, that's indeed easier to investigate on the same hardware :)
simeonm has joined #litex
<nickoe>
_florent_: Should I create an issue about the donut issue where it appears to exit it immediately (one frame) in simlation?