NixOS on RISCV/VisionFive 2: Difference between revisions
Malteneuss (talk | contribs) m Fix typo |
Malteneuss (talk | contribs) m Increase default image sizes |
||
Line 108: | Line 108: | ||
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: | |||
[[File:Visionfive2 uart wiring.jpg|none|thumb]]Update board firmware<syntaxhighlight lang="bash"> | [[File:Visionfive_2_jumper_config_sdcard_boot.jpg|border|frameless|803x803px]] | ||
For UART access, wire GND (black), RX (blue) and TX (purple) to your adapter | |||
[[File:Visionfive2 uart wiring.jpg|none|thumb|802x802px]]Update board firmware<syntaxhighlight lang="bash"> | |||
sudo visionfive2-firmware-update-flash | sudo visionfive2-firmware-update-flash | ||
</syntaxhighlight>Bootstrap NixOS system configuration at <code>/etc/nixos/configuration.nix</code><syntaxhighlight lang="bash"> | </syntaxhighlight>Bootstrap NixOS system configuration at <code>/etc/nixos/configuration.nix</code><syntaxhighlight lang="bash"> | ||
nixos-generate-config | nixos-generate-config | ||
</syntaxhighlight> | </syntaxhighlight> |