!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

229 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-v69 Servers

Load older messages


SenderMessageTime
5 Dec 2023
@fgaz:matrix.orgfgaz DRM under review 👀 https://rvspace.org/en/project/JH7110_Upstream_Plan 10:17:17
@thefossguy:matrix.orgPratham Patel (you can mention me) On that note, we are waiting for a new patchset for PCIe, right? 10:22:18
6 Dec 2023
@misuzu:matrix.orgmisuzuUpdated efi images: https://github.com/misuzu/nixos-vf2/releases/tag/0.610:39:38
@misuzu:matrix.orgmisuzuhttps://www.reddit.com/r/RISCV/comments/18ban5m/any_announcements_on_the_starfive_jh8100/13:31:10
7 Dec 2023
@hive:the-apothecary.clubDr. Worm
In reply to @fgaz:matrix.org
DRM under review 👀 https://rvspace.org/en/project/JH7110_Upstream_Plan
what about the GPU ? i don't see it on this list
00:42:58
@hive:the-apothecary.clubDr. Wormi guess it's only blobs00:47:17
@hive:the-apothecary.clubDr. Wormhttps://github.com/starfive-tech/soft_3rdpart/tree/JH7110_VisionFive2_devel/IMG_GPU/out00:47:19
@hive:the-apothecary.clubDr. Worm changed their display name from Ms. Demeanor to Mr. Worm.06:17:40
@hive:the-apothecary.clubDr. Worm changed their display name from Mr. Worm to Dr. Worm.06:19:52
@hive:the-apothecary.clubDr. Worm changed their profile picture.06:21:35
8 Dec 2023
@hive:the-apothecary.clubDr. Worm changed their profile picture.01:53:29
@fgaz:matrix.orgfgaz

gcc is broken in staging

gcc-13.2.0/libgcc/config/riscv/value-unwind.h:32: Error: unrecognized opcode `0xc2202573'

I don't understand why it tries to do that when we set the architecture to riscv64gc

14:14:11
@pouspous:matrix.orgpouspous joined the room.20:15:36
9 Dec 2023
@digitalpirate:tchncs.deDigital Pirate joined the room.08:14:35
@alex:tunstall.xyzAlex
In reply to @fgaz:matrix.org

gcc is broken in staging

gcc-13.2.0/libgcc/config/riscv/value-unwind.h:32: Error: unrecognized opcode `0xc2202573'

I don't understand why it tries to do that when we set the architecture to riscv64gc

NB: According to the RISC-V ISA manual (V20211203), that is a CSRRS instruction on CSR 0xc22, which is a standard read-only unprivileged CSR that hasn't yet been allocated. Whatever is generating that instruction probably should not.

If you don't need CSRs, disabling Zicsr may help.

13:23:25
10 Dec 2023
@pouspous:matrix.orgpouspous Hi guys. I recently bought a Star64 and wanted to try NixOS on it. I cloned https://git.sr.ht/~fgaz/nixos-star64 and added a line networking.wireless.networks."my-wifi" = {}; before running nix build and flashing the result image onto a sd card.
Once the sd card inserted and the Star64 plugged to the power, the usual green light lights up, but no connection is made on the wireless wifi. I have also tried flashing the image onto an eMMC, but to no avail. I don't even know if the system has booted or if it in a stale state or something. Do you know any way to make the light blink once the system is booted ?
14:51:59
@theesm:lispy.euWilko changed their display name from theesm to Wilko.18:29:44
11 Dec 2023
@fgaz:matrix.orgfgaz
In reply to @pouspous:matrix.org
Hi guys. I recently bought a Star64 and wanted to try NixOS on it. I cloned https://git.sr.ht/~fgaz/nixos-star64 and added a line networking.wireless.networks."my-wifi" = {}; before running nix build and flashing the result image onto a sd card.
Once the sd card inserted and the Star64 plugged to the power, the usual green light lights up, but no connection is made on the wireless wifi. I have also tried flashing the image onto an eMMC, but to no avail. I don't even know if the system has booted or if it in a stale state or something. Do you know any way to make the light blink once the system is booted ?
the light won't blink by default, you can write a target to /sys/devices/platform/leds/leds/blue-led/trigger to enable it. for some reason I don't get the always blinking target on the latest version, but mmc0/mmc1 works
10:19:07
@fgaz:matrix.orgfgazmake sure you update the firmware and set the dip switches to flash to rule out any problem with those10:20:30
@pouspous:matrix.orgpouspouseverything works now, thanks ! looks like wireless didn't work out of the box so I just plugged an ethernet cable to it (I couldnt do it earlier on)14:37:59
@fgaz:matrix.orgfgazNice!14:48:34
12 Dec 2023
@digitalpirate:tchncs.deDigital Pirate changed their profile picture.19:32:20
14 Dec 2023
@niko:conduit.rsnyanbinary:315:21:08
15 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.21:02:35
18 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.06:50:03
@fgaz:matrix.orgfgaz
In reply to @alex:tunstall.xyz

NB: According to the RISC-V ISA manual (V20211203), that is a CSRRS instruction on CSR 0xc22, which is a standard read-only unprivileged CSR that hasn't yet been allocated. Whatever is generating that instruction probably should not.

If you don't need CSRs, disabling Zicsr may help.

it has been allocated to vlenb in the vector extension.

I think I discovered what happened, our riscv bootstrap files have never been updated so we are stuck with an old assembler that doesn't recognize rvv 1.0 instructions.

14:56:15
@fgaz:matrix.orgfgazNow, how do I generate a bootstrap tarball and who do I ping to get it uploaded to tarballs.nixos.org? This doesn't seem to be documented anywhere14:57:03
@raitobezarius:matrix.orgraitobezariusit's documented in stdenv14:57:27
@raitobezarius:matrix.orgraitobezarius ping lovesegfault IIRC on #stdenv:nixos.org for upload 14:57:51
@fgaz:matrix.orgfgazaha, I found make-bootstrap-tools14:58:24

Show newer messages


Back to Room ListRoom Version: 10