!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

242 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 72 Servers

Load older messages


SenderMessageTime
29 Apr 2026
@dramforever:matrix.orgdramforeverthis will be fun10:50:33
@dramforever:matrix.orgdramforeveroh nevermind i got it10:51:10
@dramforever:matrix.orgdramforeveri got mega distracted but it's this https://github.com/NixOS/nixpkgs/pull/51472013:26:53
@jammie:matrix.orgJamieMagee

I ran into an issue while adding RISC-V runner support to nixpkgs-review-gha: https://github.com/Defelo/nixpkgs-review-gha/pull/126#issuecomment-4346267863

error: Cannot build '/nix/store/c9gf76p92n6n4933ilifdxi2npsz6ji0-expand-response-params.drv'.
       Reason: builder failed with exit code 139.
       Output paths:
         /nix/store/pg11yjn6k2p8ciadj750vrq3nndkzlzf-expand-response-params
       Last 7 log lines:
       > Running phase: unpackPhase
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > /nix/store/hf467shdmb2grak3wsw0nb1x8qnn0vw1-bootstrap-stage1-stdenv-linux/setup: line 1769:    30 Segmentation fault         NIX_CC_USE_RESPONSE_FILE=0 "$CC" -std=c99 -O3 -o "expand-response-params" expand-response-params.c

Is this just an incompatibility with the C910 cores in the EM-RV1 boards?

20:43:18
@rosscomputerguy:matrix.orgTristan RossAre you running on Ubuntu?21:30:36
@rosscomputerguy:matrix.orgTristan Ross I wonder if sysctl -w vm.mmap_min_addr=4096 would fix it 21:31:03
@rosscomputerguy:matrix.orgTristan RossI have seen similar problems before21:31:13
@jammie:matrix.orgJamieMageeYeah, it's an Ubuntu 24.04 based image. Here's the definition: https://github.com/riseproject-dev/riscv-runner-images21:35:20
@rosscomputerguy:matrix.orgTristan RossAh yeah, then it might be the same problem I had with Ubuntu on the DC ROMA II21:43:08
@jammie:matrix.orgJamieMageeOkay, I'll try set that and see if it works21:44:04
@jammie:matrix.orgJamieMageeYep! It's getting farther. Thank you 😁21:54:11
@rosscomputerguy:matrix.orgTristan RossHeh you're welcome. Good thing I documented this on my blog https://tristanxr.com/post/dc-roma-ii-nix/21:55:26
@jammie:matrix.orgJamieMagee Is the longterm fix to rebuild the riscv64 bootstrap tools with -fPIE -pie ? 21:59:50
@rosscomputerguy:matrix.orgTristan RossWell, it should be building with pie. I haven't looked into fixing it but it's certainly a problem that should be fixed.22:00:29
@jammie:matrix.orgJamieMagee

I looked into it, and we currently pass --enable-default-pie so code compiled by gcc comes out PIE. But we are missing --enable-host-pie which changes how gcc itself is linked.

https://github.com/NixOS/nixpkgs/pull/514892

23:39:00
30 Apr 2026
@hxr404:tchncs.dehxr404 ✨ [it/she] left the room.13:44:44
1 May 2026
@jammie:matrix.orgJamieMagee It worked! I built nixpkgs#hello: https://github.com/JamieMagee/nixpkgs-review-gha/actions/runs/25148554791/job/73713560791 03:03:08
2 May 2026
@implr:hackerspace.plimplrdocs for the spacemi k3 are out: https://www.spacemit.com/community/document/info?lang=en&nodepath=hardware/key_stone/k3/k3_docs/k3_usermanual11:55:24
18 Aug 2023
@shados:nixos.devShados joined the room.05:42:58
@misuzu:matrix.orgmisuzu
% cat /proc/mtd                            
dev:    size   erasesize  name
mtd0: 00080000 00001000 "spl"
mtd1: 00010000 00001000 "uboot-env"
mtd2: 00400000 00001000 "uboot"
mtd3: 00a00000 00001000 "reserved-data"

Looks like the visionfive2_fw_payload.img should be flashed to /dev/mtd2 instead of /dev/mtd1

08:29:39
20 Aug 2023
@erremilia:matrix.orgerremilia joined the room.17:53:34
@claesatwork:matrix.orgClaes joined the room.19:27:07
24 Aug 2023
@erremilia:matrix.orgerremilia1000004363.jpg
Download 1000004363.jpg
19:36:55
@erremilia:matrix.orgerremiliaThis should be fun to play with19:37:02
@hive:the-apothecary.clubtauphioooh nice19:38:17
@hive:the-apothecary.clubtauphisame chip as starfive v2 iirc so it should be somewhat easy to use19:38:37
@erremilia:matrix.orgerremiliaSounds good! Me and my SO mostly got it to play with and just see some Risc-V stuff but it'd be awesome if it turns out to be useful.19:39:52
@raitobezarius:matrix.orgraitobezariuslet us know how it goes19:40:12
@raitobezarius:matrix.orgraitobezariusI ragequit my riscv stuff currently because I will go in vacations soon and had higher priority, but still interested into getting in a place where we can start having remote builders all together19:40:34
25 Aug 2023
@fgaz:matrix.orgfgaz
In reply to @erremilia:matrix.org
sent an image.
Nice, the number of star64+nixos users just doubled!
07:12:19

Show newer messages


Back to Room ListRoom Version: 10