Linux running on vcu118 FPGA
In this tutorial, we are going to build a SoC with a single rocket core, and deploy the design on the vcu118 FPGA.
1. Setting up environment
Follow the tutorial to set up Chipyard on your machine. We need a machine that has GUI interface and USB access.
pageSetting up ChipyardAs the final step, don't forget to source the env script.
2. Build vcu118 bitstream
Run the following command to build bitstream for vcu118
3. Build Linux image
edit $chipyard/software/firemarshal/marshal-config.yaml
to have the following content
Running build
here the -d
indicates --nodisk
or initramfs
Generating binary
Creating SD Card
See the following link to prepare the SD card.
pageCreating SD Card for Linux BootupUse the following command to copy Linux image into SD card. Replace sdx
with the actual sd card path
Side Notes
Buildroot Linux on Firemarshal does not have good support for password login. If running into issues such as the system does not recognize the login password, remove the password in the configuration file by doing the following:
Edit software/firemarshal/boards/prototype/base-workloads/br-base/buildroot-config
, remove the line setting the password.
Build the system again, and now the Linux should not ask for password when logging into root.
To clean the previous build, run
Last updated