NixOS RISC-V | 208 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-v | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 28 Mar 2025 | ||
| the flake does not build either, so it must be somethign with qemu-user that breaks the test | 12:35:02 | |
| 18:16:21 | ||
| Hello! I’m trying to build `nicotine-plus` on my visionfive 2, and I stumbled upon failing test of `watchdog`. I tried overriding this with following overlay: ```nix python3Packages = super.python3Packages.overrideScope (self: super: { sphinx = overrideSphinx super.sphinx; pytest-timeout = disablePythonTests super.pytest-timeout; hypothesis = disablePythonTests super.hypothesis; eventlet = disableTests super.eventlet; watchdog = super.watchdog.overridePythonAttrs (old: { disabledTests = [ "test_select_fd" ]; }); werkzeug = super.werkzeug.overridePythonAttrs (old: { nativeCheckInputs = old.nativeCheckInputs ++ [ self.watchdog ]; }); }); ``` but problematic version is still built and thus failing build. `nix why-depends` shows dependency on watchdog from werkzeug. How should I resolve this problem? I came here with similar question some time ago, I tried suggestions from thread and did some investigation with GPT, but I was unable to compile `watchdog`. Should I resort to modifying nixpkgs? | 20:41:18 | |
Sometimes problematic packages can be dropped from the build closure altogether. Have you looked at why it's needed with nix why-depends --derivation --all? | 21:57:25 | |
| 29 Mar 2025 | ||
| Hello. I'm a little bit of a newvie on NixOS. I've been using it on my x86_64 laptop for a couple of months. And I did some install on a few ARM boards. I'm now trying to install NixOS on RISC-V. I first tried on a Vision Five 2. I managed to have NixOS running on it. But it was kinf of a pain. And I faced the slow build times and the compilaiton errors mentioned In this channel when doing nixos-rebuild on it.I bough myself an OrangePi RV2 and it just arrived yesterday. I installed the official Ubuntu image on it, on an SSD. So far I'm quite pleased. The partiioning scheme they use has only one partition on the SSD. Quite different from the many partitions nonsense I had to creaté to install NixOS on an SSD for the Vision Five 2. Also the performances of the board are better. But now, I'm clueless at how I could install NixOS on it. | 06:59:21 | |
| "Official" as in an image distributed by Ubuntu maintainers and not the manufacturer? | 07:01:32 | |
| no sorry I meant distributed by the manufacturer | 21:35:06 | |
| Try to find the sources for the Linux kernel and whatever bootloader they're using (they probably have custom patches). Other than that, it's no different from doing a regular NixOS install. | 21:39:11 | |
| the kernel source they are using is in https://github.com/orangepi-xunlong/orangepi-build for the bootloader I don't know. | 21:56:26 | |
| 30 Mar 2025 | ||
| 02:13:47 | ||
| 18:46:30 | ||
| 31 Mar 2025 | ||
In reply to @lab.8916100448256:matrix.orgmy board should arive this week, so I've been poking around a bit. The relevant repositiories should be https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-6.6-ky https://github.com/orangepi-xunlong/u-boot-orangepi/tree/v2022.10-ky | 07:05:49 | |
In reply to @lab.8916100448256:matrix.org* my board should arrive this week, so I've been poking around a bit. The relevant repositiories should be https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-6.6-ky https://github.com/orangepi-xunlong/u-boot-orangepi/tree/v2022.10-ky | 07:10:07 | |
Ah, thnaks. I saw a relevant commit in their default branch next and I did not look further | 07:10:29 | |
* Ah, thanks. I saw a relevant commit in their default branch next and I did not look further | 07:10:37 | |
| Redacted or Malformed Event | 07:12:31 | |
| https://github.com/orangepi-xunlong/orangepi-build/blob/36a2f27f9b2d064331e4e22ccd384e0d269dbd31/external/config/sources/riscv64.conf#L30 here you can find the links, took me some time to dig this up :D | 07:14:33 | |
| sorry I did not see you posted the bootoader link already | 07:14:37 | |
| https://github.com/orangepi-xunlong/orangepi-build/blob/36a2f27f9b2d064331e4e22ccd384e0d269dbd31/external/config/sources/families/ky.conf might also be interesting | 07:21:09 | |
| I meant in the repo link I posted | 07:21:49 | |
| Sorry a little bit early for me. I'm not fully awake. | 07:22:40 | |
| no worries | 07:22:48 | |
| And I'm working on something else right now. But I will come back NixOS on the RV later this week. | 07:24:37 | |
| * And I'm working on something else right now. But I will come back NixOS on the RV2 later this week. | 07:24:45 | |
| 08:02:36 | ||
In reply to @alex:tunstall.xyzI just ran into this problem after upgrading kernel and u-boot... I'm already using generic-extlinux-compatible though :-/ | 12:24:59 | |
| 15:31:10 | ||
| 17:17:55 | ||
| 17:33:49 | ||
| 2 Apr 2025 | ||
| 10:56:22 | ||