Wednesday, 2020-06-03

*** tpb has joined #litex00:00
*** st-gourichon-fid has quit IRC01:43
*** scanakci has quit IRC02:47
*** Degi has quit IRC02:47
*** Degi has joined #litex02:48
*** Skip has quit IRC03:01
*** captain_morgan has quit IRC04:30
*** captain_morgan has joined #litex04:31
*** futarisIRCcloud has quit IRC06:09
*** st-gourichon-fid has joined #litex06:13
_florent_somlo: thanks for the feedback on 32-bit CSR alignment, i'm going to continue looking a bit a LiteSDCard (still at gateware/firmware level) and will also try to have a closer look at your ECP5 PHY.07:50
*** peepsalot has quit IRC08:19
*** peepsalot has joined #litex08:30
*** st-gourichon-fid has quit IRC08:41
*** st-gourichon-fid has joined #litex08:42
*** st-gourichon-fid has quit IRC08:49
*** futarisIRCcloud has joined #litex08:50
*** peepsalot has quit IRC09:21
*** st-gourichon-fid has joined #litex09:23
*** st-gourichon-fid has quit IRC09:31
*** peepsalot has joined #litex09:51
somlo_florent_: now that you merged litesdcard PR #10, this is the reason I couldn't just make it work by "pattern matching" ODDRs between xilink and ecp5: https://imgur.com/a/Q4RKsa612:21
tpbTitle: Imgur: The magic of the Internet (at imgur.com)12:21
somlo(thanks to daveshah for actually pointing out the problem)12:21
_florent_somlo: ah thanks, that will be useful12:22
_florent_have you been able to make it work?12:22
somlonever had enough peace from $DAYJOB to actually focus on the migen :) So no, sorry12:22
_florent_ok, i was going to look at that12:23
*** [Matt] has joined #litex13:06
*** Skip has joined #litex13:20
*** kgugala has quit IRC14:26
*** kgugala has joined #litex14:26
*** futarisIRCcloud has quit IRC16:20
_florent_somlo: litesdcard is now working on ECP5 :), see https://github.com/enjoy-digital/litesdcard/pull/10#issuecomment-63831667116:43
tpbTitle: RFC: phy: add support for Lattice ECP5 (SDPHYIOECP5) by gsomlo · Pull Request #10 · enjoy-digital/litesdcard · GitHub (at github.com)16:43
_florent_somlo: i only tested on ULX3S, could you do the test on the trellisboard?16:44
somlo_florent_: saw the email from github, am in the process of patching litex-boards/.../trellisboard.py to test :)17:09
somlowill send updated PR for trellisboard once I get it working17:09
_florent_somlo: ok good thanks.17:10
_florent_ok my side i'm trying to see if i can boot linux from it (as we were doing with SPI mode, but with SD mode this time)17:10
somloonce I get the linux driver to work on rocket, I want to try actually mounting a linux FS and comparing usability (in terms of read/write speed)17:12
somlomaybe systemd on Fedora will no longer throw its hands up during initrd :)17:12
somloand thanks for the ECP5 sdcard patches, forgot to mention that :D17:13
_florent_somlo: for now i'm not sure you'll see spectacular improvements, but let's make it working first and we'll improve it. With an increase of the frequency (fixed to 10MHz now) and a rework of the Mem data writer/readers, it should be a lot faster17:15
somlooh, I forgot about the 10MHz hardcoded clock :) But I can try hardcoding it to something higher (not as a long-term solution, but as a quick and dirty hack :D )17:18
_florent_if your SDCard is initializing with a higher frequency it should be fine yes17:20
somlo_florent_: works with rocket on the trellisboard as well: https://github.com/litex-hub/litex-boards/pull/7917:51
tpbTitle: targets/trellisboard: add initial LiteSDCard support by gsomlo · Pull Request #79 · litex-hub/litex-boards · GitHub (at github.com)17:51
_florent_somlo: great, thanks for the test and PR17:56
*** st-gourichon-fid has joined #litex18:15
*** st-gourichon-fid has quit IRC18:34
*** st-gourichon-fid has joined #litex18:37
*** kgugala_ has joined #litex18:48
*** kgugala has quit IRC18:51
*** kgugala__ has joined #litex19:12
*** kgugala_ has quit IRC19:12
*** kgugala_ has joined #litex19:15
*** kgugala__ has quit IRC19:17
*** st-gourichon-fid has quit IRC21:05
*** kgugala_ has quit IRC21:45
*** kgugala has joined #litex21:55
*** CarlFK has quit IRC22:23
*** CarlFK has joined #litex22:31
somlowell, crap... Sometimes, when the gateware verilog is "just right", I end up running into this abc issue: https://github.com/berkeley-abc/abc/issues/8422:34
tpbTitle: double free or corruption error during yosys abc9 techmap pass · Issue #84 · berkeley-abc/abc · GitHub (at github.com)22:34
somloIt happened for rocket on ecp5versa for a while, then after some changes it stopped. Now it started happening on the rocket + trellisboard combo22:35
somlotrying without "-abc9" on the yosys synth_ecp5 command line, curious what happens then22:40
somlomaybe `abc9` should be optional...22:55
*** Skip has quit IRC23:12

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