NixOS RISC-V | 241 Members | |
| NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux | 73 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Dec 2023 | ||
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 | |
| 18:29:44 | ||
| 11 Dec 2023 | ||
In reply to @pouspous:matrix.orgthe 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 | |
| make sure you update the firmware and set the dip switches to flash to rule out any problem with those | 10:20:30 | |
| everything 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 | |
| Nice! | 14:48:34 | |
| 12 Dec 2023 | ||
| 19:32:20 | ||
| 14 Dec 2023 | ||
| :3 | 15:21:08 | |
| 15 Dec 2023 | ||
| 21:02:35 | ||
| 18 Dec 2023 | ||
| 06:50:03 | ||
In reply to @alex:tunstall.xyz 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 | |
| Now, 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 anywhere | 14:57:03 | |
| it's documented in stdenv | 14:57:27 | |
| ping lovesegfault IIRC on #stdenv:nixos.org for upload | 14:57:51 | |
| aha, I found make-bootstrap-tools | 14:58:24 | |
| raitobezarius: will do thanks | 14:58:35 | |
| cache for RISC-V when ;P | 15:43:51 | |
In reply to @niko:conduit.rsan official one? when suitable (ie. rack-mountable) hardware is available | 16:18:20 | |
| there are a few unofficial ones already, I'll probably make one as well | 16:18:51 | |
| * an official one? when suitable (ie. rack-mountable) hardware is available, see https://pad.lassul.us/NixOS-riscv64-linux-2023-09-10# | 16:20:37 | |
In reply to @fgaz:matrix.orghttps://fosstodon.org/@fedora/111540170260635226 | 16:41:17 | |
| I mean RISC-V is becoming more prevalent so thats good | 16:41:28 | |
| 17:19:17 | ||
| Nick Cao: This fix for gcc13 is only available on staging? https://github.com/NixOS/nixpkgs/pull/275084 | 17:19:43 | |
| * Nick Cao: This fix for gcc13 is only available on staging? https://github.com/NixOS/nixpkgs/pull/275084 thanks for merging :) | 17:31:17 | |
| * Nick Cao: ~~This fix for gcc13 is only available on staging? https://github.com/NixOS/nixpkgs/pull/275084 ~~ thanks for merging :) | 17:46:50 | |
| * Nick Cao: This fix for gcc13 is only available on staging? https://github.com/NixOS/nixpkgs/pull/275084 thanks for merging :) | 17:47:16 | |
| 19 Dec 2023 | ||
In reply to @patryk4815:matrix.orgIt's on master, not staging, and it has yet to reach the channels | 09:24:22 | |
| once https://github.com/NixOS/nixpkgs/pull/274853 we'll be able to fully cross-compile nixos-star64 and thus remove lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) | 14:05:08 | |
| (or at least I would find it nice to remove it by default) | 14:06:10 | |