Go to file
2024-03-04 18:26:48 +01:00
fpga Update fpgactl usage 2024-03-04 16:53:03 +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 Split kernel configuration in files 2024-03-04 14:44:49 +01:00
flake.lock Remove unneeded flake dependencies 2024-01-24 12:53:30 +01:00
flake.nix Split kernel configuration in files 2024-03-04 14:44:49 +01:00
lagarto-hun.nix Fix uboot attribute name in lagarto hun 2024-03-04 18:26:48 +01:00
no-compressed.nix Split kernel configuration in files 2024-03-04 14:44:49 +01:00
NOTES.md Add notes about kernel config file 2024-03-04 14:45:53 +01:00
overlay.nix Add Lagarto Hun configuration 2024-03-01 18:33:30 +01:00
README.md Add FPGA documentation in readme 2024-03-01 18:43:24 +01:00
vm.nix Split kernel configuration in files 2024-03-04 14:44:49 +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

FPGA

. fpga/env.sh
fpga/fpgactl -w /path/to/bitstream -b openpiton2.bin -k kernel-nixos -r initrd-nixos