26 lines
465 B
Markdown
26 lines
465 B
Markdown
# 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}
|
|
```
|
|
|
|
## 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.
|