forked from rarias/nixos-riscv
Add scripts to load FPGA system
This commit is contained in:
20
README.md
20
README.md
@@ -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
|
||||
...
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user