!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

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

Load older messages


SenderMessageTime
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
@rosscomputerguy:matrix.orgTristan Ross 🤷‍♂️ 19:18:32
@rosscomputerguy:matrix.orgTristan RossIdk19:18:38
@michal:tar.blackMichalWell I suppose there'll be some fun edge cases for me to test once I get my hands on one of those19:18:53
@rosscomputerguy:matrix.orgTristan Ross Yeah, the RISC-V world is interesting lol 19:19:16
@michal:tar.blackMichalYeah haha, feels a lot more like booting up a game you've never played with the whole feeling of "well, let's see what works!" rather than the usual tried-and-tested stuff with x86 and even ARM nowadays19:21:34
@rosscomputerguy:matrix.orgTristan RossSo RISC-V is supposed to be easier than ARM with the standards but things need to bake more lol.19:27:02
@michal:tar.blackMichalYeah, it definitely still feels like early days of the architecture, but then again, about a decade or so ago ARM was kinda in the same space19:27:43
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
Yeah, NVME boot doesn't work when I've tried
NVMe boot is possible, a few of us have it working (I needed to customise the u-boot rules, can't remember what I changed).
19:45:37
@alex:tunstall.xyzAlex
In reply to @michal:tar.black
Yeah, 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 it
Yes, it can.
19:45:49
@rosscomputerguy:matrix.orgTristan Ross
In reply to @alex:tunstall.xyz
NVMe boot is possible, a few of us have it working (I needed to customise the u-boot rules, can't remember what I changed).
The problem I have is the initrd cannot find the NVME despite having the drivers
19:46:14
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixos-hardware/issues/1347#issue-281209917619:49:03
@rosscomputerguy:matrix.orgTristan Ross* https://github.com/NixOS/nixos-hardware/issues/134719:49:10
@alex:tunstall.xyzAlex
In reply to @michal:tar.black
How is NixOS with the VisionFive2 currently? Just had it arrive earlier today and was thinking of NixOS-ing it :)

It works. I haven't been able to get uptimes beyond 2 weeks, but that might just be overheating (thermal throttling is broken in the kernels I use).

Don't expect great performance. And don't expect to be able to get perfectly working HDMI (maybe just a kernel issue?).

19:49:16
@michal:tar.blackMichalYes, afaik HDMI is one of the only things left to merge into the mainline kernel from what I've read19:49:46
@alex:tunstall.xyzAlexI've tried the module from an older version of the patches and it didn't properly work. Even the vendor image would sometimes change the screen colours suddenly.19:51:26
9 Apr 2025
@dramforever:matrix.orgdramforever Tristan Ross: have you tried the "generic-extlinux-compatible" boot for nvme? it seems to be a devicetree problem 02:50:06

Show newer messages


Back to Room ListRoom Version: 10