| 27 Jan 2025 |
liberodark | Hi, I want to install nixos on VisionFive 2 for make build. | 12:12:20 |
liberodark | * Hi, I want to install nixos on VisionFive 2 for make builder. | 12:12:27 |
liberodark | You have a way for that ? | 12:12:41 |
liberodark | Or i need to use debian for build inside with nix ? | 12:16:34 |
misuzu | You can try these images https://github.com/misuzu/nixos-vf2/releases/tag/0.8
But you'll need upstream u-boot on spi
I'm using https://github.com/misuzu/nixos-vf2/releases/download/0.7/u-boot-spl.bin.normal.out https://github.com/misuzu/nixos-vf2/releases/download/0.7/visionfive2_fw_payload.img | 14:12:27 |
Tristan Ross | In reply to @liberodark:matrix.org Hi, I want to install nixos on VisionFive 2 for make build. I just used the SD card as an installer and do things like normal | 14:21:51 |
liberodark | Im using only a NVME if you have iso for try this. | 14:22:33 |
liberodark | * Im using only a NVME if you have iso for try this? | 14:22:38 |
Alex | In reply to @liberodark:matrix.org Im using only a NVME if you have iso for try this? For NVMe boot, you need the SPL (u-boot + OpenSBI) in flash (recommended), eMMC, or microSD.
With all that done, most VF2 images should work fine (e.g. the one misuzu linked). | 14:25:27 |
Alex | * For NVMe boot, you need the SPL (u-boot + OpenSBI) in flash (recommended), eMMC, or microSD.
With that done, most VF2 images should work fine (e.g. the one misuzu linked). | 14:25:49 |
liberodark | Im on Debian 13 actually on VF2 | 14:26:10 |
liberodark | But i want to give this onto builder for free. | 14:26:35 |
Alex | Could you explain exactly what you're trying to do? Run NixOS on your VF2? | 14:26:58 |
liberodark | Exactely | 14:27:10 |
liberodark | For build app natively. | 14:27:38 |
Alex | From Debian 13, you can follow the vendor's instructions to write the SPL into flash. | 14:27:40 |
liberodark | You have generated iso on your side ? | 14:28:13 |
liberodark | or img ? | 14:28:18 |
Alex | In reply to @misuzu:matrix.org You can try these images https://github.com/misuzu/nixos-vf2/releases/tag/0.8 But you'll need upstream u-boot on spi I'm using https://github.com/misuzu/nixos-vf2/releases/download/0.7/u-boot-spl.bin.normal.out https://github.com/misuzu/nixos-vf2/releases/download/0.7/visionfive2_fw_payload.img See this message | 14:28:27 |
Alex | The nixos-native-*.img.zstd needs to be inflated and can then be flashed onto the disk (not onto a partition). | 14:30:19 |
liberodark | native is native build & cross is cross-build ? | 14:50:21 |
misuzu | Yep, both should work | 14:53:30 |