Exotic Nix Targets | 345 Members | |
| 108 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 May 2023 | ||
| how are you trying to do the cross compile? | 08:21:46 | |
| I am currently looking at helix's flake.nix and zellij's in this repo: https://github.com/a-kenji/zellij-nix | 08:27:56 | |
| afaict, zellij has only openssl and pkg-config as nativeBuildInputs, yet, helix cross-compiles to riscv64-linux, while zellij does not | 08:28:19 | |
| they both seem to use rust-overlay, though helix uses nci->rust-overlay | 08:28:39 | |
In reply to @colemickens:matrix.orgI'll reply in the issue soon, trying to get the cross compilation building atm. | 08:56:11 | |
In reply to @snektron:matrix.orgYou need to run pci probe or something first | 10:12:42 | |
In reply to @snektron:matrix.orgWhat do you mean by "fix up"? I have the 8 GB version | 10:14:15 | |
In reply to @misuzu:matrix.orgThe device tree node, at least on the version that I have its hardcoded to 4GB even if i have the 8GB version | 10:18:33 | |
| So free -h reports 4GB | 10:19:00 | |
| 10:20:14 | |
| Maybe you have different kernel, I'm using this one https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream | 10:21:20 | |
| Looks like upstream u-boot already has the necessary logic for 2/4/8G versions https://patchwork.ozlabs.org/project/uboot/patch/20230329034224.26545-10-yanhong.wang@starfivetech.com/ | 10:41:51 | |
| And I'm using close-to-upstream u-boot https://github.com/misuzu/u-boot/commits/visionfive2 | 10:42:24 | |
In reply to @misuzu:matrix.org
| 10:43:46 | |
In reply to @misuzu:matrix.org*
VF2 16G confirmed? | 10:43:52 | |
In reply to @misuzu:matrix.orgYea i built this onr but it didnt work there. Maybe it requires a newer kernel ill do that next, but using your fork i still wasnt able to see my nvme | 11:15:27 | |
In reply to @snektron:matrix.orgpcie needs to be initialized for nvme scan to work. It even loads the kernel, but then there's the issue with the kernel itself. I have my efi partition on sdcard for now for that reason | 11:22:20 | |
Yes, pci scan didnt help | 11:25:36 | |
| 11:28:30 | |
| Ah, you need to call info | 12:59:47 | |
| * | 16:30:58 | |
| 16:40:02 | ||
| 17:24:14 | ||
| For RISC-V people: https://github.com/NixOS/nixpkgs/pull/234495 this bring in RISC-V OVMF for QEMU :) | 20:33:08 | |
| (only full "bios", not split vars/bios) | 20:33:14 | |
| (I have a PR for this but figuring out the EDK2 build system seems to be another level of wizardry) | 20:33:25 | |
| Out of curiosity. Is there someone in here running Nix on s390x? | 21:04:32 | |
Download image.png | 21:05:37 | |
| it works!! | 21:05:46 | |
| out of curiosity, why do you ask? | 21:06:46 | |