!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

235 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-v70 Servers

Load older messages


SenderMessageTime
31 Mar 2025
@lab.8916100448256:matrix.org12b* And I'm working on something else right now. But I will come back NixOS on the RV2 later this week. 07:24:45
@refmut:matrix.orgrefmut joined the room.08:02:36
@fgaz:matrix.orgfgaz
In reply to @alex:tunstall.xyz

I tried updating my VF2 to latest nixos-unstable (as of ~1 week ago) and now it won't boot...

Unhandled exception: Instruction access fault
EPC: ffffffa700140304 RA: 00000000cb55d034 TVAL: ffffffa700140304
EPC: ffffffa67359d304 RA: 000000003e9ba034 reloc adjusted

(Then a dump of the registers.)

It seems like there's something wrong with the bootloader on the EFI partition.
Switching back to the bootloader of the previous version worked.

Change that broke the system: https://github.com/AlexandreTunstall/nixos-riscv/commit/b50ef62175853684441a9e312aa12218f5be79d3
Good Nixpkgs revision: 2726f127c15a4cc9810843b96cad73c7eb39e443
Bad Nixpkgs revision: 4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6

Has anyone else booted such a recent Nixpkgs version?

I just ran into this problem after upgrading kernel and u-boot... I'm already using generic-extlinux-compatible though :-/
12:24:59
@lab.8916100448256:matrix.org12b changed their profile picture.15:31:10
@lab.8916100448256:matrix.org12b changed their profile picture.17:17:55
@lab.8916100448256:matrix.org12b changed their profile picture.17:33:49
2 Apr 2025
@zebreus:zebre.uszebreus changed their profile picture.10:56:22
6 Apr 2025
@iova:matrix.orgiova joined the room.05:09:51
@iova:matrix.orgiova 12b did you end up getting anywhere with the rv2 05:29:14
@iova:matrix.orgiovathink im gonna give it a go at nix-ifying it tomorrow if i have time05:29:42
@lab.8916100448256:matrix.org12bNo, I was too busy with other things to focus on that.06:01:22
@roedimqf:ruhr-uni-bochum.de@roedimqf:ruhr-uni-bochum.de 12b: just pushed https://github.com/sehraf/x1-riscv-arch-image-builder
Currently get's into kernel but (probably?) hangs without working console
10:10:24
@roedimqf:ruhr-uni-bochum.de@roedimqf:ruhr-uni-bochum.de * 12b: just pushed https://github.com/sehraf/x1-riscv-arch-image-builder
Currently it gets into kernel but (probably?) hangs without working console
10:14:14
@lab.8916100448256:matrix.org12bRedacted or Malformed Event11:22:57
7 Apr 2025
@cbobrobison:matrix.orgcbobrobison joined the room.02:02:28
@jakobj:mozilla.orgJakob joined the room.10:32:46
8 Apr 2025
@cbobrobison:matrix.orgcbobrobison

Is anyone here interested in Nix x RISC-V TEEs? Like Keystone, SPEAR-V, or Penglai?

  • https://tinyurl.com/riskvtee
  • https://tinyurl.com/spearv
  • https://tinyurl.com/penglaitee
01:07:58
@michal:tar.blackMichal joined the room.19:05:27
@michal:tar.blackMichalHow is NixOS with the VisionFive2 currently? Just had it arrive earlier today and was thinking of NixOS-ing it :)19:07:00
@rosscomputerguy:matrix.orgTristan Ross It's okay 19:11:53
@rosscomputerguy:matrix.orgTristan Ross RISC-V right now isn't as stable 19:12:03
@rosscomputerguy:matrix.orgTristan Ross Even the new P550 has issues so don't expect there to not be any problems 19:12:28
@rosscomputerguy:matrix.orgTristan Ross It boots at least 19:12:33
@michal:tar.blackMichalRight, of course, I meant in terms of RISC-V :) stable in my eyes means I can get it to boot, and maybe boot a second time haha19:12:38
@rosscomputerguy:matrix.orgTristan Ross Yeah, NVME boot doesn't work when I've tried 19:13:04
@rosscomputerguy:matrix.orgTristan RossI've got an odd problem where the DMA for the NIC driver fails to initialize so I get random network disconnects when the RX starts receiving too much.19:13:52
@michal:tar.blackMichalHm interesting thing to look out for then, I'm going to be using SD boot regardless so hopefully I don't have too many issues19:15:55
@rosscomputerguy:matrix.orgTristan RossSD boot is okay but not as performant19:17:06
@rosscomputerguy:matrix.orgTristan RossEven with the JH7110's lack of performance, it probably doesn't help lol19:17:30
@michal:tar.blackMichalYeah, wouldn't expect it to be crazy, can it boot from an EMMC module fine-ish? I do recall seeing space for one when putting the case on it19:18:19

Show newer messages


Back to Room ListRoom Version: 10