2024-10-11 14:14:29 +02:00
2024-08-23 21:22:22 +02:00
2024-10-11 11:01:48 +02:00
2024-10-11 11:05:45 +02:00
2024-10-10 10:47:13 +02:00
2024-10-02 14:50:33 +02:00
2024-09-25 10:22:17 +02:00
2024-09-26 12:57:04 +02:00
2024-01-25 15:34:59 +01:00
2024-10-07 13:34:52 +02:00
2024-09-25 10:24:31 +02:00
2024-09-25 10:24:31 +02:00
2024-10-11 09:40:40 +02:00
2024-10-11 11:11:51 +02:00
2024-03-04 14:45:53 +01:00
2024-10-09 15:52:46 +02:00
2024-10-11 09:34:18 +02:00
WIP
2024-05-28 18:12:14 +02:00

NixOS on RISC-V

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

Lagarto Ox on FPGA Alveo U55C

To build the system and boot it on an FPGA of the MEEP cluster, you can run the following:

$ nix develop -L '.#lagarto-ox' --command fpga/run-remotely.sh fpgalogin1:ci

To do it manually, you can first enter the development shell:

$ nix develop -L '.#lagarto-ox'

Then upload the files to the target machine (fpgalogin1 by default):

$ fpga/upload.sh

Then connect to the fpgalogin1 machine, allocate a FPGA node and load the environment there:

$ cd nixos
$ . env.sh

Flash the images to the FPGA:

$ ./fpgactl -w bitstream.bit -b opensbi.bin -k kernel.bin -i initrd.bin -r rootfs.img

And monitor the serial line:

$ picocom -q -b 115200 $FPGACTL_UART

It should boot without any user interaction.

Lagarto Hun

WIP

Description
No description provided
Readme 596 KiB
Languages
Nix 41.5%
Shell 21.3%
C 15.5%
Perl 9.9%
Makefile 8.2%
Other 3.6%