!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

236 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-v70 Servers

Load older messages


SenderMessageTime
27 Oct 2023
@thefossguy:matrix.orgPratham Patel (you can mention me)I've tried booting 6.6-rc7 on the VF2 (on archlinux) with no success (rootfs fails to mount). Has anyone else had success booting mainline on VF2?00:01:07
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.01:24:04
@misuzu:matrix.orgmisuzu
In reply to @thefossguy:matrix.org
I've tried booting 6.6-rc7 on the VF2 (on archlinux) with no success (rootfs fails to mount). Has anyone else had success booting mainline on VF2?
nvme support is still not merged
12:05:17
@misuzu:matrix.orgmisuzuhttps://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream I'm using this branch12:06:07
@thefossguy:matrix.orgPratham Patel (you can mention me)I was booting uboot from SPI and OS from SD12:06:09
@thefossguy:matrix.orgPratham Patel (you can mention me)Upstream DT has nodes for eMMC and SD12:06:40
@misuzu:matrix.orgmisuzu
In reply to @thefossguy:matrix.org
I was booting uboot from SPI and OS from SD
Probably something is missing in the kernel config
12:06:46
@thefossguy:matrix.orgPratham Patel (you can mention me)Plus, this was with defconfig, not distro config with old[def]config12:07:13
@misuzu:matrix.orgmisuzuhttps://github.com/misuzu/nixos-vf2/blob/038cd5ce7ca45ee74c4af3e869e0484a26ac1473/linux-vf2.nix#L1312:07:27
@misuzu:matrix.orgmisuzuCheck if these are enabled12:07:37
* @thefossguy:matrix.orgPratham Patel (you can mention me) is booting the working image to check this12:08:39
@thefossguy:matrix.orgPratham Patel (you can mention me) Right off the bat, the first option CPU_FREQ is missing lol 12:18:22
@thefossguy:matrix.orgPratham Patel (you can mention me)I thought defconfig would set that :/12:18:28
@misuzu:matrix.orgmisuzuAlso make sure to add these modules to initrd https://github.com/misuzu/nixos-vf2/blob/038cd5ce7ca45ee74c4af3e869e0484a26ac1473/configuration.nix#L2612:20:35
@thefossguy:matrix.orgPratham Patel (you can mention me)How easy/hard is it to build this image on the 8GB VF2 itself?12:21:36
@thefossguy:matrix.orgPratham Patel (you can mention me)easy/hard for the board12:22:04
@misuzu:matrix.orgmisuzuYou want a nixos image?12:22:04
@thefossguy:matrix.orgPratham Patel (you can mention me)Yeah :)12:22:19
@misuzu:matrix.orgmisuzuhttps://github.com/misuzu/nixos-vf2/releases/tag/0.512:22:29
@thefossguy:matrix.orgPratham Patel (you can mention me)Initially, I'll get one from your repo's releases12:22:31
@thefossguy:matrix.orgPratham Patel (you can mention me)But I want to iterate and send patches and don't have a powerful-enough machine handy yet. So any fixes I do to your image must be locally built :)12:22:55
@misuzu:matrix.orgmisuzuYou can cross-compile on x86_64 machine12:23:21
@thefossguy:matrix.orgPratham Patel (you can mention me)My only ryzen pc died a few months ago :( Now on a mobile i5 from 2018 haha12:23:57
@misuzu:matrix.orgmisuzuIt'll still be faster than building on vf212:24:17
@thefossguy:matrix.orgPratham Patel (you can mention me) I see a native image; maybe it is possible to build natively; only it being slow that's all. I don't mind that. But don't like OOM errors lol 12:24:39
@misuzu:matrix.orgmisuzuYes, it was build on vf212:24:58
@misuzu:matrix.orgmisuzuTook a week or so12:25:17
@thefossguy:matrix.orgPratham Patel (you can mention me)oof12:25:22
@thefossguy:matrix.orgPratham Patel (you can mention me)no binary cache?12:25:28
@misuzu:matrix.orgmisuzuNope, everything from scratch 12:25:41

Show newer messages


Back to Room ListRoom Version: 10