openhwgroup / cva6-sdk

CVA6 SDK containing RISC-V tools and Buildroot
59 stars 64 forks source link

Max size in the SD #87

Open davidmallasen opened 10 months ago

davidmallasen commented 10 months ago

Hello all,

Following https://github.com/openhwgroup/cva6/issues/653 , I saw how to increase the u-boot SD copy. However, there seems to be a limit to the amout of data we can copy. I generated an image that is around 110MB, and when running on the FPGA the only output is:

Hello World!
init SPI
status: 0x0000000000000025
status: 0x0000000000000025
SPI initialized!
initializing SD... 
could not initialize sd... exiting

So, is there a maximum size that the image can occupy? If that is the case, how can it be increased?

Thanks! David