Friday, 2023-03-31

*** tpb <[email protected]> has joined #litex00:00
somloFlea86: doesn't help to lower the sd clock rate01:02
somloI'm still hoping it's a simple matter of having the wrong d1, d2 pins01:03
somlo(tried swapping them, that didn't work either :) )01:03
Flea86smolo: Hmm01:04
Flea86smolo: Does that board have the correct external pullups per the SDHC spec?01:05
Flea86or any other obscure stuff that prevent it from working in sd mode01:06
Flea86Supply decoupling good?01:06
Flea86idk01:06
Flea86Does it have series resistors on the signal lines? If so, what value are they and are they correct?01:08
*** bl0x_ <[email protected]> has joined #litex01:15
*** bl0x <[email protected]> has quit IRC (Ping timeout: 268 seconds)01:16
*** Degi_ <[email protected]> has joined #litex02:12
*** Degi <[email protected]> has quit IRC (Ping timeout: 250 seconds)02:12
*** Degi_ is now known as Degi02:12
somlosoon as I get the actual schematics I'll check 03:59
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:79c2:728d:d50d:c315> has joined #litex07:38
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:9933:c009:1057:2298> has quit IRC (Ping timeout: 248 seconds)07:39
*** tristero <tristero!~quassel@user/tristero> has quit IRC (Ping timeout: 250 seconds)08:08
*** tristero <tristero!~quassel@user/tristero> has joined #litex08:09
Melkhiorsomlo: +1 on double-checking the pull-ups ; in particular if you expect the FPGA to do it, double-check the Misc properties...12:05
Melkhiorhad the same issue some time ago, turned out Misc("PULLUP") is valid syntax but does nothing, needed Misc("PULLUP True") ...12:06
Melkhior7 series (Artix-7) in my case12:07
somlothe sdcard `cmd` and `data` pins do have `Misc("PULLUP True")` in the platform file13:46
*** so-offishul <[email protected]> has joined #litex15:13
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::18> has quit IRC (Ping timeout: 260 seconds)15:17
*** so-offish1 <[email protected]> has joined #litex15:17
*** so-offishul <[email protected]> has quit IRC (Ping timeout: 250 seconds)15:17
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::12> has joined #litex15:18
*** cr1901_ is now known as cr190115:20
*** so-offish1 <[email protected]> has quit IRC (Ping timeout: 250 seconds)15:21
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b11::12> has quit IRC (Quit: Leaving)15:56
*** shorne <[email protected]> has joined #litex17:28
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)20:27
*** TMM_ <[email protected]> has joined #litex20:27
*** so-offish <so-offish!~so-offish@2610:148:610:2b11::12> has joined #litex23:10
somlo\o/ holy crap, sdcard works (in sd-mode) on the stlv-7325-v2!23:35
somloafter pushing the bitstream to the board, I have to eject the card first, then push it back in, *then* it works :D23:35
somlothe stlv-7235-v2 does *not* have a physical card-detect pin, so the gateware has to assume the sdcard is "inserted" at all times23:36
somlonot sure if that has anything to do with the "push bitstream, eject and re-insert sdcard, then boot from it" dance, but there we go :)23:36
Flea86Aha23:39
somlostill no sata or rgmii ethernet, but progress!23:44
Flea86somlo: No way to fudge that, such that when power to the FPGA board is applied it configures the sd properly?23:44
somlowell, it might just be a power-on thing, because ever since I did that song-and-dance the first time, subsequent bitstream pushes (with openocd) allow me to boot from sdcard without ejecting/reinserting23:45
somlolike somewhere along the way I "confused" the actual sdcard, which needed to be power-cycled itself once before it started working with otherwise "good" bitstream23:46
somloand the bitstream turned "good" a long time ago, but I couldn't tell b/c my sdcard was "stuck"... Fun...23:46
somlohmmm23:47
somlothat makes me wonder, maybe I need to power-cycle my sata disk too :D23:47
somlonope, no such luck :D23:48
Flea86lol23:49

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