Go to file
2024-09-06 08:22:14 +02:00
bootrom Update bootrom gitignore 2024-08-23 21:22:22 +02:00
dts Move clock comments to lagarto_ox.h 2024-09-05 17:12:35 +02:00
fpga Don't load the rootfs for now 2024-09-05 17:25:11 +02:00
patches Move patches to its own directory 2024-09-06 08:22:14 +02:00
tools Move other tools to tools/ 2024-09-06 08:11:24 +02:00
.gitignore Ignore misc directory 2024-07-03 13:10:06 +02:00
.gitlab-ci.yml Don't load the rootfs for now 2024-09-05 17:25:11 +02:00
boot.sh Format the qcow2 image with ext4 2024-01-25 15:34:59 +01:00
configuration.nix Move other tools to tools/ 2024-09-06 08:11:24 +02:00
flake.lock flake.lock: Update 2024-07-05 16:31:08 +02:00
flake.nix Add bootrom support 2024-07-08 18:11:11 +02:00
JOURNAL.md Update journal 2024-09-05 14:53:18 +02:00
lagarto-hun.nix Move patches to its own directory 2024-09-06 08:22:14 +02:00
lagarto-ox.nix Move patches to its own directory 2024-09-06 08:22:14 +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 Move patches to its own directory 2024-09-06 08:22:14 +02:00
README.md Update readme with uboot instructions 2024-03-07 16:52:28 +01:00
stage2.log Reached stage2! 2024-07-08 08:49:21 +02:00
stage-2-init.sh Disable strace for the activation script 2024-08-31 02:22:53 +02:00
update-users-groups.pl Disable nscd call in activation script 2024-08-30 20:00:28 +02:00
vm.nix WIP 2024-05-28 18:12:14 +02:00
xavi.dts Reached working U-Boot prompt 2024-06-27 17:58:21 +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.