!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

185 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
9 Jul 2025
@dramforever:matrix.orgdramforeveralthough this could very well be a configuration issue, like clock being set slightly too high, or a one off hardware problem, or power supply issue ...14:31:39
@zimward:zimward.moezimwardsounds a lot like something like that. but yeah, if we get something it should be something that has been tested to keep running for thousands of hours without crashing14:32:38
@dramforever:matrix.orgdramforevergenerally these things work is they sell them to us and get free testing and software dev work...14:33:32
@zimward:zimward.moezimwardi know, very much the pine64 development strategy.14:33:57
@alex:tunstall.xyzAlex No amount of software dev will fix bad hardware though.
Not when the hardware flaws are unpatchably bad.
14:55:22
@zimward:zimward.moezimwardthe difference being that the inertia of riscv is unprecedented compared to any isa ever, so that situation is quickly changing14:56:41
10 Jul 2025
@dramforever:matrix.orgdramforever @rosscomputerguy:matrix.org: random sigbus on 7700x is a known thing, there should be a firmware update that fixes it 00:15:31
@dramforever:matrix.orgdramforevermaybe eio is the same thing00:15:45
@rosscomputerguy:matrix.orgTristan RossOh00:16:57
@dramforever:matrix.orgdramforeveralso, ask and you shall receive, updates on the sg2044 https://www.reddit.com/r/RISCV/comments/1lvm7j7/sophgo_technology_newsletter_20250709/02:15:10
@dramforever:matrix.orgdramforeverPLEASE do not make this a scuffed chip again02:15:27
@dramforever:matrix.orgdramforeverknocking on wood so much02:15:36
@solastrius:matrix.orgSol Astrius Phœnix joined the room.14:38:26
11 Jul 2025
@elitewhale75:matrix.orgelitewhale75 joined the room.17:39:18
@elitewhale75:matrix.orgelitewhale75 changed their display name from Vignesh Guruswami to elitewhale75.17:39:45
@elitewhale75:matrix.orgelitewhale75 set a profile picture.17:39:55
15 Jul 2025
@0xcafca:matrix.org0xcafca joined the room.23:06:57
16 Jul 2025
@no-mood:matrix.orgno-mood joined the room.09:22:12
@no-mood:matrix.orgno-moodHi all, is there any chance that the RISC-V toolchain will be packaged for Nix? https://github.com/NixOS/nixpkgs/issues/37616510:53:36
@alex:tunstall.xyzAlex
In reply to @no-mood:matrix.org
Hi all, is there any chance that the RISC-V toolchain will be packaged for Nix?
https://github.com/NixOS/nixpkgs/issues/376165
What for?
10:58:19
@no-mood:matrix.orgno-mood
In reply to @alex:tunstall.xyz
What for?
I'm working on a LKM on (simulated) risc-v, and without the toolchain I'm kind of stuck.
I've tried to do it manully without success (first step of https://gem5.googlesource.com/public/gem5-resources/+/HEAD/src/riscv-fs/README.md)
11:00:19
@no-mood:matrix.orgno-moodNow I'm working on a debian container (where the first step is not needed since it is packaged there) but I'm having some problems getting the compile_commands.json to work11:01:29
@alex:tunstall.xyzAlex
In reply to @no-mood:matrix.org
I'm working on a LKM on (simulated) risc-v, and without the toolchain I'm kind of stuck.
I've tried to do it manully without success (first step of https://gem5.googlesource.com/public/gem5-resources/+/HEAD/src/riscv-fs/README.md)
Have you tried using GCC or clang? They support cross-compiling for freestanding environments too.
11:02:07
@no-mood:matrix.orgno-mood
In reply to @alex:tunstall.xyz
Have you tried using GCC or clang? They support cross-compiling for freestanding environments too.
I've just read that debian ships with gcc-14-riscv64-linux-gnu, but I can't find the package for nix (?)
11:04:49
@alex:tunstall.xyzAlex
In reply to @no-mood:matrix.org
I've just read that debian ships with gcc-14-riscv64-linux-gnu, but I can't find the package for nix (?)
pkgsCross can do pretty much anything imaginable, as long as it builds (most do).
11:05:40
@alex:tunstall.xyzAlex There is for example pkgsCross.riscv64.stdenv, which IIRC provides everything you need for C and assembly. 11:06:54
@no-mood:matrix.orgno-moodOh good! Any flake you recommend?11:07:34
@alex:tunstall.xyzAlex
In reply to @no-mood:matrix.org
Oh good! Any flake you recommend?

For?

The above is in nixpkgs.

11:07:55
@no-mood:matrix.orgno-moodSorry, this is my first time cross-compiling in NixOS :) I'm missing how to use it11:14:08
@alex:tunstall.xyzAlex
In reply to @no-mood:matrix.org
Sorry, this is my first time cross-compiling in NixOS :)
I'm missing how to use it

I can't go into much detail right now, but there is a NixOS wiki page that does.

You could also try checking the Nixpkgs manual. It should have a section about cross.

11:16:23

Show newer messages


Back to Room ListRoom Version: 10