<somlo>
here's my theory, please confirm or set me straight: by default, the microSD card assumes/expects bus width 1
<somlo>
but the litesdcard driver doesn't actually support that default option, and only works with bus width 4, at all times
<somlo>
(which might be a deviation from the "standard", but whatever :)
<somlo>
so, instead of waiting for the linux mmc subsystem to do a bunch of data transfers using default width 1, *then* setting width to 4 at some convenient later point, the litesdcard linux driver MUST inject an ACMD6 to set bus width before the very first data transfer, or else things won't work
<somlo>
if that's the case, I'll update the comments around that work to make it clear what's going on :)
<somlo>
but if I'm wrong about my assumptions above, please kick me :)
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
logan12 has joined #litex
logan12 has quit [Client Quit]
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
martinraison has quit [Remote host closed the connection]
martinraison has joined #litex
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
keesj has quit [Ping timeout: 264 seconds]
<cr1901_modern>
_florent_: Since lxterm doesn't work any more on Mac OS or Windows, is there any possibility we could revert to the old single-process version or provide the single-process version as a workaround for now? https://github.com/enjoy-digital/litex/issues/743#issuecomment-755902333
<cr1901_modern>
If not, I'm in the process of adding SFL support to an alternate serial terminal impl
andrewb1999 has joined #litex
martinraison has quit [Remote host closed the connection]
andrewb1999 has quit [Ping timeout: 272 seconds]
andrewb1999 has joined #litex
<st-gourichon-fid>
Hi! I reinstalled tools and observed allocation failures on ICE40. Very few ICESTORM_RAM used, but extremely high usage of ICESTORM_LC, up to 1383%. Reverting yosys from "Yosys 0.9+3830 (git sha1 b72c2946, clang 10.0.0-4ubuntu1 -fPIC -Os)" to "Yosys 0.9+2406 (git sha1 aafaeb66, clang 10.0.0-4ubuntu1 -fPIC -Os)" fixed the issue.
<st-gourichon-fid>
Open to any advice.
<zyp>
cr1901_modern, I'm also curious what the reasoning for switching from threading to multiprocessing is, looks like just a random change tacked onto another feature: https://github.com/enjoy-digital/litex/commit/feeb2f7
<zyp>
I don't see multiprocessing giving an obvious benefit to anything in this situation, but the disadvantage is obvious
<zyp>
I should probably make that comment on the issue rather than on irc :)
<_florent_>
cr1901_modern, zyp: thanks for the feedback, I'll look at that. In fact we should probably switch to asyncio
<zyp>
true, asyncio would probably be a better approach, but more work :)