NixOS RISC-V | 227 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 | 69 Servers |
| Sender | Message | Time |
|---|---|---|
| 21 Oct 2023 | ||
| I only see a 100 INR (~1.20 USD) price, obviously because it is a pre-order coupon code. But I don't wanna commit unless I know the final price. Anybody know this? | 07:58:44 | |
| Ah nevermind, the price is 120 USD. | 08:12:14 | |
| 22 Oct 2023 | ||
| If anyone has the time, llvm 17 is missing libatomic https://github.com/NixOS/nixpkgs/pull/258614#issuecomment-1773235978 | 09:43:01 | |
| > to avoid bootstrapping Does anybody have a RISC-V binary cache somewhere? I'm not even able to get cachix compiled. AFAICT GHC can't be bootstrapped on riscv64 and cross compiling doesn't work either (due to Template Haskell stuff not being able to be cross compiled). Only idea that I have currently is to copy the store paths over to other machines on which cachix is available. | 15:28:19 | |
In reply to @twz123:matrix.org GHC can be bootstrapped, but it's not yet in Nixpkgs haskell-updates. As for existing binary caches, there are a few, e.g. https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 | 15:32:45 | |
| Be warned that TH is completely broken on RISC-V in general because GHC has to be built unregistered (see https://gitlab.haskell.org/ghc/ghc/-/issues/23957), and Nixpkgs doesn't have anything in place to make TH work in cross/unregisterised scenarios. Most Haskell packages can still be built by disabling test suites (when they depend on TH) and overriding Cabal files (when the package uses a multithreaded-only RTS flag). | 15:35:53 | |
| * Be warned that TH is completely broken on RISC-V in general because GHC has to be built unregisterised (see https://gitlab.haskell.org/ghc/ghc/-/issues/23957), and Nixpkgs doesn't have anything in place to make TH work in cross/unregisterised scenarios. Most Haskell packages can still be built by disabling test suites (when they depend on TH) and overriding Cabal files (when the package uses a multithreaded-only RTS flag). | 15:36:05 | |
In reply to @alex:tunstall.xyzThanks. You mean that when trying out the aforementioned PR, I might be able to get GHC compiled? Will try that out. I don't have any idea about Haskell whatsoever, so I'd probably not be able to override anything in the Cabal files. (I can override stuff with doCheck=false though and see if that gets me anywhere ๐). I'll check out cache.ztier.in. It'd already help if only stdenv would be in there. Bootstrapping gcc is no fun ๐ตโ๐ซ. Do you know who maintains that cache? | 15:49:37 | |
In reply to @twz123:matrix.org You can get GHC compiled with that. There is some useful information in the PR about how to do it, but the idea is cross-compile from another architecture, copy to RISC-V machine, and use it to compile natively. For overriding Haskell packages, there are some very useful functions in I'd be very surprised if the binary cache didn't have stdenv when using the same version of Nixpkgs. I don't know | 15:59:09 | |
| * You can get GHC compiled with that. There is some useful information in the PR about how to do it, but the idea is cross-compile from another architecture, copy to RISC-V machine, and use it to compile natively. For overriding Haskell packages, there are some very useful functions in I'd be very surprised if the binary cache didn't have stdenv when using the same version of Nixpkgs. I don't know | 15:59:31 | |
| * You can get GHC compiled with that. There is some useful information in the PR about how to do it, but the idea is cross-compile from another architecture, copy to RISC-V machine, and use it to compile natively. For overriding Haskell packages, there are some very useful functions in I'd be very surprised if the binary cache didn't have stdenv when using the same version of Nixpkgs. | 16:00:13 | |
In reply to @twz123:matrix.orgI include a bunch of packages, including all stdenv stages, in my star64 images https://sr.ht/~fgaz/nixos-star64 | 16:32:22 | |
| 23 Oct 2023 | ||
| 09:07:34 | ||
| 25 Oct 2023 | ||
| 00:12:28 | ||
| 26 Oct 2023 | ||
| 06:06:55 | ||
| Why isnt this room connected to the NixOS space btw? | 18:14:26 | |
In reply to @niko:conduit.rsIt is (in the topics subspace). | 18:15:02 | |
| Oh | 18:15:14 | |
| can you link me to the topic subspace? | 18:15:21 | |
| https://matrix.to/#/#topics:nixos.org | 18:51:08 | |
| i didn't even know you could access the subspace separately, but there it is | 18:51:20 | |
| 20:34:05 | ||
| 27 Oct 2023 | ||
| I've tried booting 6.6-rc7 on the VF2 (on archlinux) with no success (rootfs fails to mount). Has anyone else had success booting mainline on VF2? | 00:01:07 | |
| 01:24:04 | ||
In reply to @thefossguy:matrix.orgnvme support is still not merged | 12:05:17 | |
| https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream I'm using this branch | 12:06:07 | |
| I was booting uboot from SPI and OS from SD | 12:06:09 | |
| Upstream DT has nodes for eMMC and SD | 12:06:40 | |
In reply to @thefossguy:matrix.orgProbably something is missing in the kernel config | 12:06:46 | |
| Plus, this was with defconfig, not distro config with old[def]config | 12:07:13 | |