!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

232 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
@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
@thefossguy:matrix.orgPratham Patel (you can mention me)so that's why :(12:26:08
@misuzu:matrix.orgmisuzuYou should be able to use this cache for the flake https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L313:21:19
29 Oct 2023
@ss:someonex.netSomeoneSerge (UTC+2) changed their display name from SomeoneSerge (UTC+1) to SomeoneSerge (UTC+2).22:40:02
2 Nov 2023
@thefossguy:matrix.orgPratham Patel (you can mention me)Hey folks, are there any low-effort tasks that I can help with, to get started?06:58:32
@thefossguy:matrix.orgPratham Patel (you can mention me) Looking at the linked pad, I don't seen any GH issues that need addressing... 06:59:14
@fgaz:matrix.orgfgaz
In reply to @fgaz:matrix.org
If anyone has the time, llvm 17 is missing libatomic https://github.com/NixOS/nixpkgs/pull/258614#issuecomment-1773235978
Pratham Patel (you can mention me): ↑ but I'm not sure about the effort required
08:32:32
* @thefossguy:matrix.orgPratham Patel (you can mention me) is looking into it08:33:15
@fgaz:matrix.orgfgaz misuzu: are you hosting your cache on raw R2 or are you using something like attic? I'm thinking of hosting one too 08:41:27

Show newer messages


Back to Room ListRoom Version: 10