*** tpb <[email protected]> has joined #litex | 00:01 | |
*** keesj <keesj!~keesj@user/keesj> has quit IRC (Server closed connection) | 00:09 | |
*** keesj <keesj!~keesj@user/keesj> has joined #litex | 00:09 | |
*** sajattack <[email protected]> has quit IRC (Read error: Connection reset by peer) | 01:05 | |
*** sajattack <[email protected]> has joined #litex | 01:05 | |
*** Degi <Degi!~Degi@2a02:3100:2e83:2500:ba27:ebff:fe08:dd7e> has quit IRC (Ping timeout: 276 seconds) | 02:39 | |
*** Degi <Degi!~Degi@2a02:3100:29df:f800:ba27:ebff:fe08:dd7e> has joined #litex | 02:41 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Remote host closed the connection) | 02:42 | |
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2001:19f0:7002:790:5400:4ff:fea8:9a29> has quit IRC (Server closed connection) | 02:58 | |
*** MoeIcenowy <[email protected]> has joined #litex | 02:59 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 03:06 | |
*** cr1901_ is now known as cr1901 | 04:13 | |
*** TMM <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 04:36 | |
*** TMM <[email protected]> has joined #litex | 04:37 | |
*** _whitelogger <[email protected]> has quit IRC (Remote host closed the connection) | 07:48 | |
*** _whitelogger <[email protected]> has joined #litex | 07:54 | |
jeandet_ | Hello, I can't get the SD card working on the ULX3S, I tried several thing, I even desoldered the ESP32, tried on others IOs with another connector. I'm using LiteX and build with Yosys/Trellis provided in OSS-CAD-Suite. It always fails with init. | 08:13 |
---|---|---|
Flea86 | jeandet_: Were you trying using spi or full sd mode? | 08:35 |
jeandet_ | Mostly SD mode | 08:36 |
Flea86 | I see. I have full sd mode working successfully with ECP5 here, though I do not use ulx3s platform | 08:37 |
Flea86 | Does spi mode work? | 08:37 |
Flea86 | I started off with spi mode initially myself | 08:37 |
Flea86 | @jeandet_ | 08:39 |
jeandet_ | You can init the SDCard with bare metal code/driver? | 08:39 |
Flea86 | I think I used linux-on-litex framework to get up and running | 08:41 |
Flea86 | wait no, I did also try compiling a baremetal example that loaded from sd | 08:42 |
Flea86 | I cannot recall what mode that used however | 08:42 |
Flea86 | some spinning torus example or something :) | 08:43 |
jeandet_ | Which also means, you could get the BIOS to init the SD card | 08:43 |
Flea86 | Correct | 08:43 |
Flea86 | Let me check something | 08:43 |
*** acathla <[email protected]> has quit IRC (Server closed connection) | 08:45 | |
Flea86 | jeandet_: When you compile your SoC core, are you using --with-spi-sdcard option? | 08:45 |
*** acathla <[email protected]> has joined #litex | 08:46 | |
Flea86 | I would first try compiling your SoC using spi mode first | 08:46 |
Flea86 | -first :) | 08:46 |
jeandet_ | I did something similar, I have a wrapper around ulx3s target and manually call `self.add_spi_sdcard(software_debug=True)` | 08:47 |
jeandet_ | But I only tested SPI mode with default BIOS | 08:47 |
Flea86 | Right OK. Just so you know, I used vexriscv core for my evaluation | 08:48 |
Flea86 | jeandet_ "But I only tested SPI mode with default BIOS" and does that work? | 08:48 |
jeandet_ | In fact with a custom code and calling `spisdcard_init` seems to work | 08:49 |
jeandet_ | With the BIOS it always failed to call the sdcard init CMD | 08:49 |
jeandet_ | Note that I did those tests before removing the ESP32 which might have been the culprit then | 08:50 |
Flea86 | I do not recall needing to manually call self.add_spi_sdcard() and just used the option switch | 08:50 |
Flea86 | Ah okay | 08:50 |
Flea86 | Perhaps that was the issue | 08:50 |
jeandet_ | https://github.com/enjoy-digital/litex/issues/1712 | 08:51 |
Flea86 | I am not familiar with ulx3s myself | 08:51 |
jeandet_ | yeah, so at least SPI mode works now \o/ | 08:51 |
Flea86 | but I recall the sdcard i/o is shared with esp32 pins | 08:51 |
Flea86 | or something | 08:51 |
jeandet_ | Yes exactly | 08:53 |
jeandet_ | With SPI mode I don't see any function to write a block is this intended only for reading SD cards? | 08:54 |
Flea86 | jeandet_: This is where I am currently https://dillo-browser.github.io/gallery/img/fpga-rv32.jpg :D | 08:55 |
Flea86 | My biggest problem however, is getting buildroot to produce what I want/need (still learning..) | 08:58 |
*** _catircservices <_catircservices!catircserv@2a01:4f8:c012:5b7:0:1:0:63c> has quit IRC (Server closed connection) | 09:21 | |
*** _catircservices <_catircservices!catircserv@2a01:4f8:c012:5b7:0:1:0:63c> has joined #litex | 09:21 | |
*** d_olex_ <d_olex_!~d_olex@user/d-olex:35658> has quit IRC (Remote host closed the connection) | 10:52 | |
*** d_olex_ <d_olex_!~d_olex@user/d-olex:35658> has joined #litex | 10:52 | |
*** TMM <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 14:53 | |
*** TMM <[email protected]> has joined #litex | 14:53 | |
*** CarlFK <[email protected]> has joined #litex | 16:47 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-ffc2-0-2a66-2cca-f4c6-3180.ipv6dyn.netcologne.de> has joined #litex | 20:11 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Quit: Connection reset by peep) | 21:55 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex | 22:00 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-ffc2-0-2a66-2cca-f4c6-3180.ipv6dyn.netcologne.de> has quit IRC (Quit: 🫀🫀🫀🫀) | 22:46 | |
*** _whitelogger <[email protected]> has quit IRC (Remote host closed the connection) | 23:31 | |
*** _whitelogger <[email protected]> has joined #litex | 23:37 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!