daniellimws has quit [Killed (stross.freenode.net (Nickname regained by services))]
daniellimws_ has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 246 seconds]
_whitelogger has joined #litex
CarlFK has quit [Ping timeout: 260 seconds]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
CarlFK has joined #litex
_franck_5 has joined #litex
_franck_ has quit [Ping timeout: 272 seconds]
_franck_5 is now known as _franck_
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 256 seconds]
tcal has quit [Ping timeout: 260 seconds]
tcal has joined #litex
tcal has quit [Ping timeout: 246 seconds]
futarisIRCcloud has joined #litex
Dolu has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
<somlo>
_florent_: with the latest everything, I can boot from spi-sdcard; With "regular" litesdcard, I'm getting the progress bar to complete (slowly), then things hang after "Liftoff!"
<somlo>
so I'm wondering if the boot.bin blob gets somehow corrupted in transit
<_florent_>
somlo: i also need to do more tests with litesdcard, that's indeed probably broken currently
<_florent_>
somlo: but i haven't speed too much time on it since i'm also thinking about revisiting litesdcard a bit to simplify it, make it more software assisted and only do the critical things (blocks transfers) in the gateware
<somlo>
ok, I won't worry too much about litesdcard for now, then :)
<_florent_>
somlo: the current issue with LiteSDCard is that the clocking is complicated and it use a lot of resource (due to the way the control interface is done)
<_florent_>
somlo: initially LiteSDCard was used in standalone to write/read streams of blocks, so decided of the current architecture
<_florent_>
somlo: but while working on the SPI mode recently, i realized we should probably simplify LiteSDCard to use less resource and have more in common with the SPI mode
<_florent_>
somlo: but we'll see...
<_florent_>
somlo: have you been able to do some speedtests with the SPI SDCard with Linux?
Skip has joined #litex
<somlo>
_florent_: I did some very informal measurement of how long it took to transfer a file to/from the card from within linux
<somlo>
I don't remember if I wrote it down at the time, should be simple to recreate
Skip has quit [Remote host closed the connection]
<_florent_>
somlo: i'm asking this just to be able to compare with the speed with the bios
<somlo>
_florent_: I'm rebuilding a bitstream for the nexys4ddr with spi-mode sdcard support (already have a kernel and bbl that's good for it). I'll re-run the tests and post here in 20-30 minutes
<_florent_>
somlo: if that's low compare to the speed with the bios (> 1MB/s on reads) we could try to see how block accesses are done with the driver and see if we can optimize it.
<somlo>
_florent_: took me about 9m to `cat` a 12.5MB file to /dev/null
<somlo>
that's read
<somlo>
I can try to figure out a way to measure writes as well, but it'll probably have to include the time `umount` takes to flush things to actual sdcard once the file creation is reported as "complete"
<_florent_>
somlo: that's slow...
<somlo>
yeah, much slower than the bios
<_florent_>
somlo: with the bios it would be 9s :)
<somlo>
I know, I booted from it :)
<_florent_>
somlo: can you provide a link to the driver?