!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

228 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-v65 Servers

Load older messages


SenderMessageTime
25 May 2026
@radex:hackerspace.plradex joined the room.12:11:10
@radex:hackerspace.plradex9D14A408-C4B6-44E9-B081-BD1121E0F7B3_1_102_a.jpeg
Download 9D14A408-C4B6-44E9-B081-BD1121E0F7B3_1_102_a.jpeg
12:12:01
@radex:hackerspace.plradexhello 👋 hoping to run nixos on this thing soon(ish) :) 12:12:32
@radex:hackerspace.plradex(I'd get started on hacking today but they forgot to put a suitable power supply in the box lol)12:12:49
@implr:hackerspace.plimplr
In reply to @grw00:matrix.org
nice, don't forget the NPU :)
that NPU should be able to run normal linux processes too, these are regular rva23 cores with a fat vector unit
12:25:11
@implr:hackerspace.plimplrbut iirc spacemit did some scheduler crimes to isolate them for ai12:25:31
@alex:tunstall.xyzAlex

Doesn't that mean you could patch the kernel to get them running as normal cores?

If they were kind, they might've even left it as a Linux kernel option (otherwise, nothing is stopping you from contributing one for that purpose :D)

12:26:45
@ar:is-a.catari ❄ joined the room.12:28:32
@implr:hackerspace.plimplrI assume you could (or undo their patch). Still the endgame is to get proper mainline kernel support, vendor kernels suck12:29:12
@dramforever:matrix.orgdramforevertheir kernel was patched to get them running as normal cores12:39:39
@dramforever:matrix.orgdramforeverthere's some cpu mask weirdness you can do to throw a process onto the "other" 8 cores12:40:28
@dramforever:matrix.orgdramforeveron mainline it doesn't work because nobody bothered adding support to handle isolating cores based on vlen (because it's not, in general, possible to migrate processes between vlen differing cpus)12:41:25
@dramforever:matrix.orgdramforever

the main two things stopping you from contributing changes to spacemit vendor kernels are

  • RoI
  • i don't think there's anyone at spacemit to receive your contribution. they're probably all busy af working on their next and next next chips' sw
12:43:49
@dramforever:matrix.orgdramforeveryour patches would probably need to be Icenowy level for them to take it, like "make amd gpus working"12:45:10
@dramforever:matrix.orgdramforever* your patches would probably need to be Icenowy level for them to take it, like "get amd gpus working"12:45:22
@grw00:matrix.orggrw00hm interesting. do they provide sdk with vendor kernel that knows how to use these cores?17:24:19
@implr:hackerspace.plimplrthe long term path should be mainline anyway18:01:19
@implr:hackerspace.plimplrif these actually ship widely and are the first proper rva23 devices, there might be enough momentum to fix all of that upstream18:01:49
@grw00:matrix.orggrw00yeah agree, was curious if theyre shipping it non-functional18:03:29
26 May 2026
@liberodark:matrix.orgliberodarkimage.png
Download image.png
19:46:09
@liberodark:matrix.orgliberodarkHi, after K1 now K3 have finish put nixos 26.05 on it.19:46:55
@liberodark:matrix.orgliberodark* Hi, after K1 now K3 have finish to put nixos 26.05 on it.19:48:55
@grw00:matrix.orggrw00DVFS?20:29:18
@grw00:matrix.orggrw00(nice!)20:29:25
@liberodark:matrix.orgliberodarkNext is to finish my hydra infra for give public cache for stable nixpkgs.20:38:39
@liberodark:matrix.orgliberodarkYep i need to work on DVFS but I still have quite a few things to do before that point.20:40:09
@radex:hackerspace.plradexdo you have your nix files for this posted anywhere yet? would love to replicate it20:40:30
@liberodark:matrix.orgliberodarkYes, it's planned. I did it for K1, but K3 was my main goal, but my board took a really long time to arrive... I'll give you the details as soon as I'm less in the alpha stage. 20:42:17
@radex:hackerspace.plradexthanks. I'll be happy to follow along without a binary cache, I can borrow a few hundred cores to build the world20:44:49
@liberodark:matrix.orgliberodarkI already offer several caches for arm x86_64, it seems normal to do the same for riscv, but in addition it allows me to work on hydra, I've wanted to set it up for a while.20:46:54

Show newer messages


Back to Room ListRoom Version: 10