Go to file
2024-03-07 16:51:09 +01:00
fpga Add FPGA notes 2024-03-07 16:51:09 +01:00
.gitignore Ignore qcow2 image from git 2024-01-25 15:39:15 +01:00
boot.sh Format the qcow2 image with ext4 2024-01-25 15:34:59 +01:00
configuration.nix Disable OpenSSH in Lagarto Hun 2024-03-07 16:50:35 +01:00
flake.lock Remove unneeded flake dependencies 2024-01-24 12:53:30 +01:00
flake.nix Generate U-Boot commands 2024-03-07 16:49:48 +01:00
lagarto-hun.nix Disable OpenSSH in Lagarto Hun 2024-03-07 16:50:35 +01:00
no-compressed.nix Add no compressed specific overlay 2024-03-07 12:04:05 +01:00
NOTES.md Add notes about kernel config file 2024-03-04 14:45:53 +01:00
overlay.nix Move qemu specific config to vm.nix 2024-03-07 12:03:02 +01:00
README.md Add scripts to load FPGA system 2024-03-04 18:32:25 +01:00
vm.nix Disable OpenSSH in Lagarto Hun 2024-03-07 16:50:35 +01:00

NixOS on RISC-V

This repository contains NixOS configurations for different RISC-V machines.

QEMU

To boot the system in QEMU, first enter the development shell:

$ nix develop

Then run the boot script:

$ ./boot.sh

To prevent the GC from erasing the system:

$ nix build .#devShells.x86_64-linux.default --out-link result-env

Lagarto Hun on FPGA Alveo U55C

First build required dependencies:

$ nix develop '.#lagarto-hun'

Then upload to destination:

$ fpga/upload.sh

And then boot the system there:

cucu$ ./boot.sh
...