NixOS RISC-V | 235 Members | |
| NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux | 74 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Dec 2023 | ||
| But it's not really SMP | 18:46:12 | |
anyway if someone wants to satisfy my curiosity and try to build a random derivation (I don't know, nix or hello maybe?) on an SBC and give me the time it takes (just the order of magnitude is enough) I would be grateful | 18:48:35 | |
In reply to @raitobezarius:matrix.orgYeah don't worry, I've no really idea what I'm talking about probably. Thank you very much however :) | 18:49:21 | |
Anyway I don't know if somebody already tried it but building RISC-V docker images with dockerTools.buildImage worked like a charm. I was impressed (as always) by Nix. | 18:53:35 | |
In reply to @aciceri:nixos.dev
| 20:52:00 | |
*
| 20:54:37 | |
| 21:20:29 | |
| 22:22:30 | ||
Just tried | 23:45:53 | |
*
Not the best premises lol Just tried | 23:45:57 | |
*
Not the best premises lol Just tried | 23:46:40 | |
In reply to @fgaz:matrix.orgYour work there is great, do you keep images updated? Don't you host a cache also? | 23:52:18 | |
| 24 Dec 2023 | ||
In reply to @raitobezarius:matrix.orgMilk-V Pioneer? | 02:50:34 | |
| yes | 02:50:41 | |
| There’s also Oasis, lunching in under a year. No adjusted ETA after the bump in memory bus. | 02:51:47 | |
| there's also new JH chips around | 02:54:25 | |
| and the new SG too | 02:54:30 | |
| Yeah, JH8100 should be as fast as RK3588, at least in raw computer. Which is what we need for compilation. | 02:56:25 | |
| *raw compute power | 02:59:09 | |
| sorry, I just woke up :) | 02:59:17 | |
In reply to @aciceri:nixos.devNot yet but I plan to | 06:32:01 | |
| * I upload a new image from time to time. I don't have a cache yet (that's why I build fat images) but I plan to | 07:31:58 | |
| * I upload a new image from time to time. I don't have a cache yet (that's why I add some build dependencies to the images) but I plan to | 07:32:24 | |
| zrsk: nix took 96 minutes | 07:32:49 | |
| * Thanks! I upload a new image from time to time. I don't have a cache yet (that's why I add some build dependencies to the images) but I plan to | 07:33:42 | |
In reply to @aciceri:nixos.devI have a VisionFive2 and a Lichee Pi 4A. The VF2 is slower than QEMU user mode emulation on recent x86 CPUs (AMD 5950X / 3990X). The Lichee Pi 4A is slightly faster than QEMU. | 10:57:03 | |
In reply to @skeuchel:matrix.orgI've a comparable x86 CPU (AMD 7900x) so thank you for confirming that probably it's not worth it | 12:05:11 | |
In reply to @thefossguy:matrix.orgOops I didn't see this message, thank you too. Just tried and building hello on the Rock5B takes ~45 seconds (EMMC), it would mean almost one third of what I get with QEMU now, not bad. But I've to consider that building hello seems mainly a single thread operation (looking at htop while it builds). Probably when using 24 threads my x86 cpu would gain ground. | 16:16:55 | |
| Somewhat of a follow-up to that message: Even though the CPU IP has the V 1.0 (vector) extension, the SoC doesn't. I don't know why. The H (hypervisor) extension is missing too, so forget h/w accelerated KVM on this. | 16:25:38 | |
| Here's the [rejected] dtsi from the first patchset: https://lore.kernel.org/linux-riscv/20231127013602.253835-8-jeeheng.sia@starfivetech.com/ | 16:26:36 | |