Monday, 2020-07-20

*** tpb has joined #litex04:32
*** HoloIRCUser has joined #litex05:03
*** HoloIRCUser1 has quit IRC05:03
*** peepsalot has quit IRC05:13
*** HoloIRCUser1 has joined #litex05:30
*** HoloIRCUser has quit IRC05:33
*** kgugala_ has joined #litex06:41
*** jeanthom has joined #litex06:43
*** kgugala has quit IRC06:44
*** kgugala has joined #litex06:44
*** kgugala_ has quit IRC06:47
*** HoloIRCUser1 has quit IRC07:16
*** jeanthom has quit IRC07:25
zypbubble_buster, do you have the newest litedram? as far as I can see it doesn't try referencing flags.h anywhere07:50
zypapparently it was removed two months ago: https://github.com/enjoy-digital/litedram/commit/c30910a07:53
tpbTitle: init: generate DFII_CONTROL flags in sdram_phy.h instead of defining … · enjoy-digital/litedram@c30910a · GitHub (at github.com)07:53
*** jeanthom has joined #litex08:38
*** kgugala_ has joined #litex09:56
*** kgugala has quit IRC09:58
*** kgugala has joined #litex09:58
*** kgugala_ has quit IRC10:01
*** jeanthom has quit IRC10:08
*** Degi has quit IRC10:09
*** proteusguy has quit IRC10:10
*** jeanthom has joined #litex10:10
*** Degi has joined #litex10:10
*** proteusguy has joined #litex10:10
*** kgugala_ has joined #litex11:17
*** kgugala has quit IRC11:19
*** kgugala has joined #litex11:20
*** kgugala_ has quit IRC11:22
*** st-gourichon-fid has quit IRC12:19
zyp_florent_, I've been working on porting litepcie_util to use VFIO instead of the litepcie kernel driver and I almost have the dma test working now (got DMA running, just need to fix the buffer management), but it only works once12:19
*** st-gourichon-fid has joined #litex12:20
zypwhen I kill and restart the process, it doesn't work anymore and so far I haven't been able to recover without reloading the fpga12:20
zypI assume the issue is that I don't stop the DMA before exiting the process, so I guess it's still running while the IOMMU gets unmapped which then causes the DMA to deadlock somehow12:24
zypthe obvious solution is of course to stop the DMA before leaving the process, but I still think it's important to be able to recover after the process e.g. segfaults12:26
zypthis only affects DMA, MMIO keeps working12:27
*** kgugala_ has joined #litex13:53
*** kgugala_ has quit IRC13:56
*** kgugala has quit IRC13:56
*** kgugala has joined #litex13:56
_florent_zyp: interesting for your VFIO work. That would be interesting to add Litescope on the DMA Writer/Reader to see what is going on. I suspect the DMA Reader get stuck by issuing read requests but don't get the completion if the IOMMU is unmapped. If this is what is happening, we could add a register to be flush all the pending read requests restart from a clean state.14:19
*** the_JinX has joined #litex14:50
somlo_florent_: so with commit 4a18b828 we're back in business for spi-mode sdcard on nexys4ddr and rocket -- thanks!15:01
_florent_ somlo: thanks for testing, i was going to ask you if you could do a test ;)15:02
somlo"regular" sdcard is still not working with default litex (and that includes using vexriscv as the cpu)15:02
somlobut that's a completely different complaint :)15:02
_florent_yes i'm working on this15:02
somloI have vacation coming up in august and nowhere to go, so I'll have some time to spend on this :) Goal is to figure out all the up/down converters needed to properly hook up rocket for DMA15:03
somloand getting the largest number of rocket cores I can get away with on a genesys2 board...15:04
_florent_somlo: i just need to rearrange the clocking a bit, but you should be able to use the SDCard core in the next days15:08
_florent_somlo: there is a similar DMA interface on VexRiscv SMP and are planning to use the SDCard with DMA to validate it15:09
_florent_so this will be very similar to the work required on Rocket and we could join our efforts on this15:10
somlomight end up being a fun vacation after all ;)15:14
*** FFY00 has quit IRC15:15
*** FFY00 has joined #litex15:15
*** st-gourichon-fid has quit IRC15:26
*** st-gourichon-fid has joined #litex15:30
*** st-gourichon-fid has quit IRC15:52
*** kgugala_ has joined #litex16:08
*** kgugala_ has quit IRC16:11
*** kgugala_ has joined #litex16:11
*** kgugala has quit IRC16:12
*** st-gourichon-fid has joined #litex16:22
*** kgugala has joined #litex16:43
*** kgugala_ has quit IRC16:46
*** peepsalot has joined #litex17:17
*** jeanthom has quit IRC17:54
*** st-gourichon-fid has quit IRC17:56
_florent_somlo: can you do a test with latest litesdcard / Vexriscv on the Trellisboard?18:02
*** st-gourichon-fid has joined #litex18:21
*** st-gourichon-fid has quit IRC18:28
*** tpb has joined #litex22:07

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