Go to file
2024-10-08 16:31:07 +02:00
bootrom Update bootrom gitignore 2024-08-23 21:22:22 +02:00
dts Disable SPI nodes in DT 2024-10-04 13:49:57 +02:00
fpga Reduce timeout to 3 minutes 2024-09-27 16:07:49 +02:00
patches Add plic claim baremetal test 2024-10-02 07:33:57 +02:00
pkgs Patch specinvoke to report execve failure 2024-10-08 16:31:07 +02:00
tools Add more operations to plictool 2024-10-02 14:50:33 +02:00
.gitignore Add gcroots to gitignore 2024-09-25 10:22:17 +02:00
.gitlab-ci.yml Rename CI job to lagarto-ox 2024-09-26 12:57:04 +02:00
boot.sh Format the qcow2 image with ext4 2024-01-25 15:34:59 +01:00
configuration.nix Add spec-cpu-mini to rootfs 2024-10-07 13:34:52 +02:00
flake.lock flake.lock: Update 2024-09-25 10:24:31 +02:00
flake.nix Switch to bscpkgs master branch 2024-09-25 10:24:31 +02:00
JOURNAL.md Prune spec-cpu-mini 2024-10-07 14:50:36 +02:00
lagarto-hun.nix Move patches to its own directory 2024-09-06 08:22:14 +02:00
lagarto-ox.nix Stop in stage1 too 2024-10-04 13:17:44 +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
overlay.nix Build specinvoke from source 2024-10-08 10:13:27 +02:00
README.md Update readme with uboot instructions 2024-03-07 16:52:28 +01: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.