Dylan Bautista 8da3468ee2 Add qemu support for Lagarto Ox
The network is still not working automatically, but the eth0 device is
present in the host.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2024-10-25 13:05: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-10-25 13:05:29 +02:00
2024-10-07 13:34:52 +02:00
2024-09-25 10:24:31 +02:00
2024-10-25 13:05:29 +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-25 13:05:29 +02:00
2024-10-25 13:05:29 +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 Ox on QEMU

To build the system and boot it on QEMU, you can run the following:

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

Then, simply run boot.sh to start the QEMU system.

$ ./boot.sh

Lagarto Hun

WIP

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