Open amiroshni opened 1 month ago
@amiroshni Thank you for contacting me. Please let me know if you know the result of changing the capacity of the microSD card to 4GB. Thank you.
Please let me know if you know the result of changing the capacity of the microSD card to 4GB. Thank you.
Thank you very much for your help @Saute0212 !
Turns out the 4GB card works!
My colleague generated this log, showing that we can login as root and access the standard utilities: https://gist.github.com/shriyasharma11/8afee5a594f2f05512551a72740426cd
To anyone else following, with this guide, you can setup Nexys Video for yourself (just bear in mind support is experimental, and not as complete as the Genesys 2 FPGA board): https://github.com/amiroshni/documenting-cva6
Now we need to think how to load programs without a network connection. If we wanted to send a binary over, can it be done via the serial connection?
@amiroshni I'm glad you were able to boot Linux with Nexys Video.
Also, thanks for your documentation on the Nexys Video setup.
I am also looking for a way to load the program without a network connection. It would be useful to be able to send binaries over a serial connection.
Thank you.
Is there an existing CVA6 bug for this?
Bug Description
Red Semi is trying to get Linux running on the Nexys Video build of the CVA soc, and this follows on the work from https://github.com/openhwgroup/cva6/pull/1925
Digilent page on the Nexys Video board FPGA model: XC7A200T-1SBG484C
The current work done by @Saute0212 allows to boot into Linux, however the ethernet controller is disabled on the FPGA design.
As part of the exercise, my colleague and I have been documenting the steps required to get to running Linux on FPGA: https://github.com/amiroshni/documenting-cva6
(Apologies to the CVA6 devs for adding clutter to the previously completed PR.)
Copying my last comment on the progress we had in Red on getting the FPGA to boot Linux:
Thank you for the fast response @Saute0212 !
My colleague and I followed your suggestions (except for the 4GB microsd card, but we ordered some).
My colleague @shriyasharma11 generated the new bitstream and created a serial log of the boot process here: https://gist.github.com/shriyasharma11/12136b710edaa7eac2e1269a903f8cef
Interesting problems seem to repeat throughout the kernel boot:
(even though the micro sd card is not touched, kernel seems to think it's being removed).
We will also try on a different 16GB card (we have three of those), and once the 4GB arrives will test as well.
Edit: I also forgot to mention. After a while this error persists, and there is no further progress:
Further CPU resets don't make a difference (no more response from the SD card). My colleague actually managed to get the kernel to boot like this yesterday, but we needed to re-generate the bitstream today get a good plaintext log of the kernel. I wonder if there's also an FPGA-related issue (maybe timing) which stops the SD card from being read?
Originally posted by @amiroshni in https://github.com/openhwgroup/cva6/issues/1925#issuecomment-2112218421
Since my last comment, we were able to get the bootrom to detect and copy the kernel from the SD card by unplugging and plugging in the micro sd card again (looks like the Nexys Video might have issue with our micro SD cards). I will update once we test using 4GB micro SD cards.