Go to file
Rodrigo Arias Mallo c6a304ca7d Load kernel in 0x84000000 address
Booting the kernel works, but by manually specifying the address.
2024-01-18 18:19:29 +01:00
examples Booting 2023-11-29 10:48:59 +01:00
visionfive2 visionfive2: Explain kernel situation 2023-02-16 13:30:40 +01:00
.gitignore init 2022-07-09 04:35:35 +01:00
base.nix Booting 2023-11-29 10:48:59 +01:00
boot.sh Load kernel in 0x84000000 address 2024-01-18 18:19:29 +01:00
configuration.nix Fix qemu without rutabagaSupport 2024-01-18 15:59:51 +01:00
flake.lock Boot opensbi without compressed 2024-01-17 18:22:30 +01:00
flake.nix Use the toplevel from the vm output 2024-01-18 17:58:26 +01:00
kernel.nix Disable kernel oprtions 2024-01-17 15:00:51 +01:00
old-flake.lock Boot opensbi without compressed 2024-01-17 18:22:30 +01:00
old-flake.nix Boot opensbi without compressed 2024-01-17 18:22:30 +01:00
overlay.nix Use custom u-boot build 2024-01-18 17:58:00 +01:00
README.md Load kernel in 0x84000000 address 2024-01-18 18:19:29 +01:00

NixOS on RISC-V

To boot the system in QEMU, first enter the development shell:

$ nix develop

Then run the boot script:

$ ./boot.sh

In u-boot use the following to boot:

=> booti 0x84000000 - ${fdtcontroladdr}