ucb-bar/chipyard

Try to speed up VCU118 SDCard loading

Aperta

#854 aperta il 14 apr 2021

 (1 commento) (0 reazioni) (0 assegnatari)Scala (857 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (2255 stelle)
Metriche merge PR
 (Merge medio 13g 17h) (4 PR mergiate in 30 g)

Descrizione

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!

Guida contributor