ucb-bar/chipyard

Try to speed up VCU118 SDCard loading

Offen

#854 geöffnet am 14.04.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Scala (857 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (2.255 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 13T 17h) (4 gemergte PRs in 30 T)

Beschreibung

Impact: software

Description In order to get SDCard loading on the VCU118 working, we need to have a slow SPI divisor.

https://github.com/ucb-bar/chipyard/blob/45684f1b875f018a1945476cec9269068e1618ca/fpga/src/main/resources/vcu118/sdboot/sd.c#L175

However, it looks like the Freedom platform uses a faster div.

https://github.com/sifive/freedom/blob/b348a50d5d10ffa94ab2a07a33622b1c634a01ea/bootrom/sdboot/sd.c#L169

Why does this div not work? Can we find a middle ground?

What is a motivating example for changing the behavior?

Speed up Linux loading!

Contributor Guide