!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

196 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-v58 Servers

Load older messages


SenderMessageTime
12 Nov 2025
@dramforever:matrix.orgdramforever* are you the first person to ever try to use nixpkgs on ubuntu on riscv6406:37:47
@rosscomputerguy:matrix.orgTristan RossProbably lol06:37:52
@dramforever:matrix.orgdramforeverclearly this isn't a problem on the nixos kernel06:38:06
@rosscomputerguy:matrix.orgTristan Ross Oh good, the vendor kernel does not set CONFIG_DEFAULT_MMAP_MIN_ADDR 06:38:59
@rosscomputerguy:matrix.orgTristan RossWell, time to let it build down to the stdenv06:40:30
@rosscomputerguy:matrix.orgTristan RossI wonder how fast this'll build06:42:09
@rosscomputerguy:matrix.orgTristan RossDang, so much faster than the VisionFive 2 lol06:45:04
@dramforever:matrix.orgdramforevereic7702x should have much better io and memory bw in addition to faster cores06:48:41
@dramforever:matrix.orgdramforeverand twice as many cores06:48:46
@dramforever:matrix.orgdramforeverwell it's literally just better at all regards except price06:49:00
@rosscomputerguy:matrix.orgTristan RossYeah lol, I can at least use GNOME on it and it's not lagging06:49:51
@rosscomputerguy:matrix.orgTristan RossI was able to play SuperTuxCart just fine06:50:03
@dramforever:matrix.orgdramforevercurrently twiddling thumbs waiting for zhihe a210 and spacemit k306:52:56
@rosscomputerguy:matrix.orgTristan RossNice, I wonder what has the most performance in the consumer space06:54:08
@rosscomputerguy:matrix.orgTristan RossI'm looking forward to Tenstorrent's Ascalon, looks interesting but it'll be some time.06:54:43
@dramforever:matrix.orgdramforever"consumer"06:55:02
@rosscomputerguy:matrix.orgTristan Rosslol, if I can buy it I consider that consumer06:55:55
@vixea:matrix.orgvixeaI wish to consume the whole rva23 soc market07:18:26
@vixea:matrix.orgvixea But yea can't wait for Atlantis 07:23:53
@vixea:matrix.orgvixeaEven if it's the "S"(4 wide) before the changed the image it would seem07:27:33
@vixea:matrix.orgvixeaOr at least that's what I'm guessing it's what it is07:28:03
@vixea:matrix.orgvixea * Or at least that's what I'm guessing it's what it is, maybe it's the 6 wide version either way you won't know till it's out anyway 07:28:56
@vixea:matrix.orgvixeaOh heh reread the slides it's Ascalon-X07:30:20
@alex:tunstall.xyzAlex
In reply to @joerg:thalheim.io
What's allowed on RISC-V?
I haven't done anything outside of M mode, but it seems like the manuals (vol 2 - privileged, chapters 4.3, 4.4, and 4.5) state that pages must be aligned to the page boundary, which is 4 KiB at the smallest level of pages.
0xf000 is appropriately aligned, so I see no reason for the ISA to disallow it.
AFAICT there are no ISA-level restrictions on what virtual addresses can be used.
10:43:09
@dramforever:matrix.orgdramforeverfwiw it's basically the same as you would on x86-64, one of 39 bits sign extended / 48 bits sign extended / 57 bits sign extended depending on hw13:07:40
@dramforever:matrix.orgdramforeverwell you don't have 39 on x86-64 but it's fairly easy to extend that down13:07:52
@dramforever:matrix.orgdramforever* fwiw it's basically the same as you would have on x86-64, one of 39 bits sign extended / 48 bits sign extended / 57 bits sign extended depending on hw13:08:00
@dramforever:matrix.orgdramforeverand for linux, "positive" address for user, "negative" for kernel13:08:23
@rosscomputerguy:matrix.orgTristan Ross

Oh yay, stdenv is built.

$ time nix build .#stdenv
real    565m12.113s
user    3m55.911s
sys     0m32.432s
17:29:14
13 Nov 2025
@dramforever:matrix.orgdramforeveryou have a patience that's beyond my imagination04:12:30

There are no newer messages yet.


Back to Room ListRoom Version: 10