openhwgroup / cva6-sdk

CVA6 SDK containing RISC-V tools and Buildroot
59 stars 64 forks source link

occamy: Boot from SPI flash #52

Closed niwis closed 3 years ago

niwis commented 3 years ago

This adds/changes the following make targets required to boot Linux on occamy from the SPI flash:

Furthermore, the u-boot submodule is bumped.

These are the current steps required to boot linux:

  1. Load uImage.bin via Vivado into the VCU128's SPI flash.
  2. Load Occamy bitstream, execute zero-stage boot loader from bootrom.
  3. Connect to occamy via OpenOCD/gdb, load fw_payload.elf (OpenSBI + U-Boot), execute.