*** tpb has joined #litex | 04:32 | |
*** HoloIRCUser has joined #litex | 05:03 | |
*** HoloIRCUser1 has quit IRC | 05:03 | |
*** peepsalot has quit IRC | 05:13 | |
*** HoloIRCUser1 has joined #litex | 05:30 | |
*** HoloIRCUser has quit IRC | 05:33 | |
*** kgugala_ has joined #litex | 06:41 | |
*** jeanthom has joined #litex | 06:43 | |
*** kgugala has quit IRC | 06:44 | |
*** kgugala has joined #litex | 06:44 | |
*** kgugala_ has quit IRC | 06:47 | |
*** HoloIRCUser1 has quit IRC | 07:16 | |
*** jeanthom has quit IRC | 07:25 | |
zyp | bubble_buster, do you have the newest litedram? as far as I can see it doesn't try referencing flags.h anywhere | 07:50 |
---|---|---|
zyp | apparently it was removed two months ago: https://github.com/enjoy-digital/litedram/commit/c30910a | 07:53 |
tpb | Title: 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 #litex | 08:38 | |
*** kgugala_ has joined #litex | 09:56 | |
*** kgugala has quit IRC | 09:58 | |
*** kgugala has joined #litex | 09:58 | |
*** kgugala_ has quit IRC | 10:01 | |
*** jeanthom has quit IRC | 10:08 | |
*** Degi has quit IRC | 10:09 | |
*** proteusguy has quit IRC | 10:10 | |
*** jeanthom has joined #litex | 10:10 | |
*** Degi has joined #litex | 10:10 | |
*** proteusguy has joined #litex | 10:10 | |
*** kgugala_ has joined #litex | 11:17 | |
*** kgugala has quit IRC | 11:19 | |
*** kgugala has joined #litex | 11:20 | |
*** kgugala_ has quit IRC | 11:22 | |
*** st-gourichon-fid has quit IRC | 12: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 once | 12:19 |
*** st-gourichon-fid has joined #litex | 12:20 | |
zyp | when I kill and restart the process, it doesn't work anymore and so far I haven't been able to recover without reloading the fpga | 12:20 |
zyp | I 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 somehow | 12:24 |
zyp | the 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. segfaults | 12:26 |
zyp | this only affects DMA, MMIO keeps working | 12:27 |
*** kgugala_ has joined #litex | 13:53 | |
*** kgugala_ has quit IRC | 13:56 | |
*** kgugala has quit IRC | 13:56 | |
*** kgugala has joined #litex | 13: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 #litex | 14: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 |
somlo | but that's a completely different complaint :) | 15:02 |
_florent_ | yes i'm working on this | 15:02 |
somlo | I 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 DMA | 15:03 |
somlo | and 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 days | 15:08 |
_florent_ | somlo: there is a similar DMA interface on VexRiscv SMP and are planning to use the SDCard with DMA to validate it | 15:09 |
_florent_ | so this will be very similar to the work required on Rocket and we could join our efforts on this | 15:10 |
somlo | might end up being a fun vacation after all ;) | 15:14 |
*** FFY00 has quit IRC | 15:15 | |
*** FFY00 has joined #litex | 15:15 | |
*** st-gourichon-fid has quit IRC | 15:26 | |
*** st-gourichon-fid has joined #litex | 15:30 | |
*** st-gourichon-fid has quit IRC | 15:52 | |
*** kgugala_ has joined #litex | 16:08 | |
*** kgugala_ has quit IRC | 16:11 | |
*** kgugala_ has joined #litex | 16:11 | |
*** kgugala has quit IRC | 16:12 | |
*** st-gourichon-fid has joined #litex | 16:22 | |
*** kgugala has joined #litex | 16:43 | |
*** kgugala_ has quit IRC | 16:46 | |
*** peepsalot has joined #litex | 17:17 | |
*** jeanthom has quit IRC | 17:54 | |
*** st-gourichon-fid has quit IRC | 17:56 | |
_florent_ | somlo: can you do a test with latest litesdcard / Vexriscv on the Trellisboard? | 18:02 |
*** st-gourichon-fid has joined #litex | 18:21 | |
*** st-gourichon-fid has quit IRC | 18:28 | |
*** tpb has joined #litex | 22:07 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!