Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD card support broken on ulx3s #224

Closed
troibe opened this issue Jun 10, 2021 · 6 comments
Closed

SD card support broken on ulx3s #224

troibe opened this issue Jun 10, 2021 · 6 comments
Labels
bug? Something isn't working

Comments

@troibe
Copy link
Contributor

troibe commented Jun 10, 2021

When using vexriscv or rocket with the ulx3s the --with-sdcard flag is not working for me.
This applies both to booting from the SD card as well as accessing the SD card in linux.

--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
Booting from SDCard in SD-Mode...
Booting from boot.json...
Booting from boot.bin...
SDCard boot failed.
No boot medium found

--============= Console ================--

Using the --with-spi-sdcard flag works for both booting as well as linux.

@troibe
Copy link
Contributor Author

troibe commented Jun 10, 2021

When enabling SD card debug output this is what I am getting:

CMD55: APP_CMD
cmdevt: 00000000
cmdevt: 00000001
ff7fffff ffff7fff ffffff7f ffffffff
ACMD41: APP_SEND_OP_COND, arg: 70ff8000
cmdevt: 00000000
cmdevt: 00000001
ff7fffff ffff7fff ffffff7f ffffffff

@enjoy-digital enjoy-digital added the bug? Something isn't working label Jun 16, 2021
@enjoy-digital
Copy link
Member

The issue was related to pin changes between 1.7 and 2.0 revisions. This has been fixed and tested with 68c23e9.

@sebeaumont
Copy link

I have this board:
v3.0.8 INEM-KONČAR jul 2020 v20 IS42S16160G-7TL W25Q128JVSIQ

And encounter the exactly same problem with build after that commit was merged.

@sebeaumont
Copy link

Should this be spiserialboot as I have got to exactly the same point with the organgecrab 85k; the SD card however is correctly detected by linux. Not so on the ULX3.

@ept221
Copy link

ept221 commented Nov 18, 2022

I'm using the ULX3S rev 3.1.7 (note, not rev 1.7), and I can boot from the sd-card when I build the demo soc with --with-spi-sdcard but not when I build with --with-sdcard.

@Irvise
Copy link

Irvise commented Jan 5, 2023

I am in the same scenario as ept. However, on top of that, the SDCard does not work if I use the Wishbone bus, but it does work with the AXI one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants