Skip to content
README.md 465 B
Newer Older
Rodrigo Arias Mallo's avatar
Rodrigo Arias Mallo committed
# NixOS on RISC-V
Rodrigo Arias Mallo's avatar
Rodrigo Arias Mallo committed
To boot the system in QEMU, first enter the development shell:
Rodrigo Arias Mallo's avatar
Rodrigo Arias Mallo committed
```
$ nix develop
```
Rodrigo Arias Mallo's avatar
Rodrigo Arias Mallo committed
Then run the boot script:

```
$ ./boot.sh
```

In u-boot use the following to boot:

```
=> booti 0x84000000 - ${fdtcontroladdr} 
```

## Notes

- With only 1 CPU some thigs are soo slow to work. For example, the ttyS0 device
  doesn't arrive on time and the login fails. Or the SSH daemon doesn't start
  until the third try. With -smp 32 seems to work ok.