Add scripts to load FPGA system

This commit is contained in:
2024-03-04 18:32:25 +01:00
parent ef29bb0681
commit 730e342bfe
6 changed files with 97 additions and 4 deletions

View File

@@ -22,9 +22,23 @@ To prevent the GC from erasing the system:
$ nix build .#devShells.x86_64-linux.default --out-link result-env
```
## FPGA
## Lagarto Hun on FPGA Alveo U55C
First build required dependencies:
```
. fpga/env.sh
fpga/fpgactl -w /path/to/bitstream -b openpiton2.bin -k kernel-nixos -r initrd-nixos
$ nix develop '.#lagarto-hun'
```
Then upload to destination:
```
$ fpga/upload.sh
```
And then boot the system there:
```
cucu$ ./boot.sh
...
```