NixOS on RISCV/VisionFive 2: Difference between revisions
mNo edit summary |
Add note on how to update firmware |
||
Line 102: | Line 102: | ||
First enable booting from SD-card by enabling jumper 1 and 2 | First enable booting from SD-card by enabling jumper 1 and 2 | ||
[[File:Visionfive 2 jumper config sdcard boot.jpg|thumb|Move jumpers to the right away from the numbers to enable SD-card booting|none]]For UART access, wire GND (black), RX (blue) and TX (purple) to your adapter | [[File:Visionfive 2 jumper config sdcard boot.jpg|thumb|Move jumpers to the right away from the numbers to enable SD-card booting|none]]For UART access, wire GND (black), RX (blue) and TX (purple) to your adapter | ||
[[File:Visionfive2 uart wiring.jpg|none|thumb]] | [[File:Visionfive2 uart wiring.jpg|none|thumb]]Update board firmware<syntaxhighlight lang="bash"> | ||
sudo visionfive2-firmware-update-flash | |||
</syntaxhighlight>Bootstrap NixOS system configuration at <code>/etc/nixos/configuration.nix</code><syntaxhighlight lang="bash"> | |||
nixos-generate-config | |||
</syntaxhighlight> |