NixOS RISC-V | 217 Members | |
| NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v | 65 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Sep 2025 | ||
| 16:42:32 | ||
| 16 Sep 2025 | ||
| 16:16:19 | ||
| 21 Sep 2025 | ||
| 17:20:55 | ||
| 22 Sep 2025 | ||
| hi, has anyone been using the visionfive 2 sd card image in sd boot mode? can you confirm that it works from a fresh dd? https://github.com/NixOS/nixos-hardware/tree/master/starfive/visionfive/v2 | 10:10:47 | |
| so to check for sure, if you're in sd card mode and you remove the sd card it should immediately print an error like "boot fail" or something, no mention of u-boot spl | 10:11:27 | |
| well remove the sd card before booting | 10:11:40 | |
In reply to @dramforever:matrix.orgI have used it to boot custom M mode code instead of the SPL and it worked. | 10:12:42 | |
| thanks! | 10:13:19 | |
| Do you need help debugging boot problems? | 10:13:39 | |
i'm good, someone was asking in liberachat #riscv about the boot process, and was doubting if the gpt partition thing is real | 10:14:32 | |
| i don't have the hardware with me so i was just looking for a positive confirmation that it's a real thing | 10:15:00 | |
| Ah, because the vendor revised all their documentation to recommend against using it, in some cases even removing references to it. | 10:15:10 | |
| I might still have copies of some older versions of the documentation if it's no longer well documented. | 10:15:40 | |
| 23 Sep 2025 | ||
| Continuing from last night in the main room here https://matrix.to/#/#users:nixos.org/$9PGx1smm5r8lM79J9wKW3uiI3zyGLogHe7d0t9DOjn0, I'm attempting to get a milkv jupiter booting. So far I've made it here with an sdcard image: with the commandline:and I'm not sure where to go from here, because it doesn't seem to be starting init (or I'm just getting no logs, I see nothing about ttyS0 actually coming online) | 04:47:44 | |
| I've also copied the init binary in the nix store to /init in the rootfs, though I don't know if the kernel is trying to load from there or initrd | 04:48:24 | |
| made it to stage1 by manually loading everything, extlinux still won't | 09:17:41 | |
Download image.png | 09:17:42 | |
| 10:37:26 | ||
In reply to @outfoxxed:outfoxxed.me The kernel always tries to load binaries in the initramfs (or initrd). After that, userspace can do whatever it wants. Typically, that means mounting the rootfs and execing the rootfs' init program. If you don't see NixOS' "Stage 1" prompt, then it's likely failing to load the initramfs' init program. | 12:36:08 | |