Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVA6 on Nexys Video: Reporting on Additional SD Card Partition with Filesystem Test #94

Open
amiroshni opened this issue May 31, 2024 · 0 comments

Comments

@amiroshni
Copy link

(Apologies to the CVA6-SDK dev's, I used a blank template as what I'm reporting is not directly relevant to the main CVA6 development, since the different targets such as the Genesys 2 are officially supported instead.)

After following @Saute0212's work on setting up CVA6 64-bit variant on the Nexys Video, my colleague @shriyasharma11 and I were able to boot into a Linux busybox environment. See openhwgroup/cva6#2116 for details.

We then added another partition in between the payload firmware and Linux kernel partitions. In this new partition, we wrote an assembled 'Hello World' binary (written in assembler to minimise library dependencies).

See the branch we made for replicating this:
master...amiroshni:cva6-sdk:test-hello-nv

The goal was to eventually setup a filesystem on an additional partition, but run into instability issues with the SD card resetting while working in the busybox environment.

I followed the partitioning information from a previous issue: #47

The filesystem on an additional partition in the SD card worked for a size of 64 MiB (we were able to read and write files). However when testing with a larger size (432 MiB), the SD card was resetting when being mounted or files accessed in the Linux environment.

We also produced a rough guide for setting up the Nexys Video (and running this hello binary, and additional filesystem partition): https://github.com/amiroshni/documenting-cva6?tab=readme-ov-file

At Red Semi, we'll probably put the Nexys Video work on hold, but hopefully the information in the guide and logs will be useful to @Saute0212 and anyone else trying to use the Nexys Video for CVA6 work.
(Realisticly, it's probably better to use the RV32 variant, as it will take a smaller FPGA footprint and will run faster).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant