This repository represents my attempt at getting started with simple OS development in rust Targeted architecture is a NEORV32 soft-core CPU running on a Basys3 dev board.
cd fpga/vivado/
vivado -mode batch -source create_prj.tcl
vivado -mode batch -source build.tcl
- Plug in basys3 baord to host PC
vivado -mode batch -source prog_flash.tcl
- cd to the top level project directory
cp -r rustos/ fpga/lib/neorv32/sw/example/
cd fpga/lib/neorv32/sw/example/
make all
- follow the steps outlined here https://stnolting.github.io/neorv32/ug/#_uploading_and_starting_of_a_binary_executable_image_via_uart to upload and execute the binary on the device.
Update the values of the constants in this file: rustos/fpga/vivado/version.tcl
These values will only be applied to the build if the build script is run. Manual builds done using the vivado gui will show a version of 0.0.0.
- Update this file: rustos/fpga/regs/examp_regs.rdl
cd rustos/fpga/regs/
./generate.sh
to regenerate the VHDL source code and associated documentation.