cva6
cva6 copied to clipboard
copy boot image stuck on fpga
Is there an existing CVA6 bug for this?
- [X] I have searched the existing bug issues
Bug Description
I utilize the "make fpga" command to generate .mcs file and subsequently flash it onto the FPGA (Genesys2) using Vivado 2018.2. However, upon completion of the flashing process and subsequent reboot of the FPGA board, it becomes unresponsive, displaying the message "copying boot image done!" as shown in the accompanying images:
I have also employed the "make fpga" command with an older version of CVA6-Ariane 4.2, and it worked successfully:
How could I fixed it? Thanks in advance!
Hello @zchamski I see you have pushed something to fix this PR. What is the status, does it fix the issue ?
This task should be assigned to @Gchauvon as I'm not involved with the FPGA (except for Spike build interactions).
Hello @hhhsiang
Could you please tell us exactly which commit worked and which didn’t so that we can investigate?
This issue is maybe related to #1485
A small observation: The log of the gpt partition header clearly indicates that the SD card is not correctly set up. The partition table just reads all 0s.
Did you follow all the steps in the cva6-sdk to write to the sd card?
@Moschn ,
Yes, I followed the steps. I think the SD card should be ok because CVA6-Ariane 4.2 can correctly work on fpga, as following:
Hmm ok. Still very confusing to me that the GPT partitions print all zeros. It was not like this in the past. But maybe something changed in the bootloader in the mean time.
@Moschn, I'm uncertain about this. If the SD card hasn't been correctly set up, it shouldn't display the information I mentioned in my previous comment, right?
@cathales ,I did not try other commit. I just use make fpga
command, and flashed it onto FPGA board. It can work correcly with CVA6-Ariane 4.2, but not with the latest version.