!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

223 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-v64 Servers

Load older messages


SenderMessageTime
27 Oct 2023
@misuzu:matrix.orgmisuzuCheck if these are enabled12:07:37
* @thefossguy:matrix.orgPratham Patel is booting the working image to check this12:08:39
@thefossguy:matrix.orgPratham Patel Right off the bat, the first option CPU_FREQ is missing lol 12:18:22
@thefossguy:matrix.orgPratham PatelI 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 PatelHow easy/hard is it to build this image on the 8GB VF2 itself?12:21:36
@thefossguy:matrix.orgPratham Pateleasy/hard for the board12:22:04
@misuzu:matrix.orgmisuzuYou want a nixos image?12:22:04
@thefossguy:matrix.orgPratham PatelYeah :)12:22:19
@misuzu:matrix.orgmisuzuhttps://github.com/misuzu/nixos-vf2/releases/tag/0.512:22:29
@thefossguy:matrix.orgPratham PatelInitially, I'll get one from your repo's releases12:22:31
@thefossguy:matrix.orgPratham PatelBut 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 PatelMy 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 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 Pateloof12:25:22
@thefossguy:matrix.orgPratham Patelno binary cache?12:25:28
@misuzu:matrix.orgmisuzuNope, everything from scratch 12:25:41
@thefossguy:matrix.orgPratham Patelso 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 (matrix works sometimes) changed their display name from SomeoneSerge (UTC+1) to SomeoneSerge (UTC+2).22:40:02
2 Nov 2023
@thefossguy:matrix.orgPratham PatelHey folks, are there any low-effort tasks that I can help with, to get started?06:58:32
@thefossguy:matrix.orgPratham Patel 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 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
@misuzu:matrix.orgmisuzu
In reply to @fgaz:matrix.org
misuzu: are you hosting your cache on raw R2 or are you using something like attic? I'm thinking of hosting one too
I'm using this abomination: https://gitlab.com/misuzu/nixos-configuration/-/blob/391a9e5d0f5099d03608a39b759f63bbb4bc892b/hosts/mia/nix-cache/default.nix
I'd like to migrate to attic, but it looks broken: https://github.com/zhaofengli/attic/issues/90
08:45:01

Show newer messages


Back to Room ListRoom Version: 10