Exotic Nix Targets | 349 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 May 2022 | ||
In reply to @j-k:matrix.orgIt's likely to genuinely not work. Are you using linuxPackages_latest? | 18:30:40 | |
| There's an attr in zfs called latestSupportedLinuxPackages or something, try setting boot.kernelPackages to that. If that's too old to support the hardware, I think you'll have to do without zfs for now | 18:32:01 | |
| I'm just building https://github.com/zhaofengli/nixos-riscv64/blob/master/pkgs/default.nix#L24 | 18:32:46 | |
| it mentions zfs here but IDK if it's actually used at all in the sd card image https://github.com/zhaofengli/nixos-riscv64/blob/f0b105b7671289c3fc17849532afe4fceb95bfd6/binary-cache/world.nix#L38 | 18:33:13 | |
| Yeah, I'm passing NIXPKGS_ALLOW_BROKEN=1. ZFS is pulled in by the installation image profile and was marked broken for 5.16 back then. | 18:37:06 | |
| But I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/168826 | 18:38:47 | |
| * But I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/168826 to be more up-to-date | 18:39:05 | |
| well I'm a couple hours into building so maybe I'll just hang in there 😅 Do you recommend binfmt or crosscompile? Also I manually tweaked the config to have ssh and my public key so I'm hoping I can just ssh in headless first try 🤞we'll see | 20:49:47 | |
| 24 May 2022 | ||
| For my branch I always did native and it may not even cross-compile, and my cache only contains native builds. | 00:33:55 | |
| 03:16:37 | ||
| What am I doing wrong here? 🙃
| 12:58:23 | |
| boot.binfmt.emulatedSystems have riscv64-linux in it? | 13:08:20 | |
| yep. I've been trying to test it's set up properly on that remote machine, looks like it is
and
looks good in htop | 13:21:16 | |
Download image.png | 13:21:21 | |
| 13:21:35 | |
| ok, it was an ssh issue I had to fix | 13:36:45 | |
Download image.png | 15:30:39 | |
| beautiful | 15:30:40 | |
| Brummm | 15:31:52 | |
| Qemu x 32 | 15:32:30 | |
| 3 failed tests on bison | 15:41:07 | |
| 25 May 2022 | ||
| Ericson2314: I'm looking at https://github.com/NixOS/nixpkgs/pull/169793 again. I think to do this properly we need to change the release.nix infrastructure to just use full triples everywhere. But that's going to be a huge amount of work, so I think I'm going to have to try to split it up. | 10:34:27 | |
| Alyssa Ross: yeah I see | 13:50:09 | |
| that change sounds good to me! | 13:50:18 | |
| cool :) | 13:56:17 | |
| hopefully I'll have a start by tomorrow | 13:56:38 | |
In reply to @j-k:matrix.orgI'm just assuming this is an issue introduced by binfmt so I'm back to x86_64-linux cross compiling. currently on the kernel | 14:18:06 | |
nixos-sd-image-22.05pre-git-riscv64-linux-visionfive.img.zst 🎉 | 14:36:14 | |
| the sd image from the visionfive PR just has sda1 and sda2, I thought it needed stuff in sda3 to play nice with the really weird boot config? Is there something else I need to do to the board first? | 14:45:20 | |
anything I need to do here or will it be done automatically? | 14:46:07 | |