Go to file
2024-06-25 11:11:05 +02:00
fpga WIP 2024-05-28 18:12:14 +02: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 WIP 2024-05-28 18:12:14 +02:00
flake.lock Use remote bscpkgs input for riscv benchmarks 2024-06-05 14:26:12 +02:00
flake.nix Add configuration for Lagarto Ox 2024-06-25 11:11:05 +02:00
lagarto-hun.nix WIP 2024-05-28 18:12:14 +02:00
lagarto-ox.nix Add configuration for Lagarto Ox 2024-06-25 11:11:05 +02: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
opensbi-lagarto-hun.patch WIP 2024-05-28 18:12:14 +02:00
overlay.nix WIP 2024-05-28 18:12:14 +02:00
README.md Update readme with uboot instructions 2024-03-07 16:52:28 +01:00
unalign.c WIP 2024-05-28 18:12:14 +02:00
vm.nix WIP 2024-05-28 18:12:14 +02: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
...

In the U-Boot prompt, paste the commands of the uboot.env file.