Exotic Nix Targets | 337 Members | |
| 103 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Jul 2023 | ||
In reply to @alex:tunstall.xyzYeah, the mainline kernel doesn't know where the SD card is. I checked it via UART and it panicked at a recovery shell with a missing rootfs. Dug deeper to find out that the upstream DTB doesn't yet have an "entry" for the eMMC node. | 11:18:21 | |
| Vendor kernel has this node: https://github.com/starfive-tech/linux/blob/b4920a1a3dd328124c61b07e8a6ab48c67881037/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi#L23 | 11:21:02 | |
| Meanwhile upstream doesn't yet have it: https://github.com/torvalds/linux/blob/e2c510d6d630fe6593a0cf87531913b4b08ebeb1/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi#L18 | 11:21:33 | |
| For microSD, mmc1 is the correct node btw. I don't think mmc0 is used in the VF2, but it seems like it's for eMMC. | 11:22:27 | |
| Yes, but both are missing from upstream ;) | 11:23:22 | |
| Oh dear, no ethernet in mainline either | 11:23:29 | |
| :') | 11:23:47 | |
| 10 Jul 2023 | ||
| artemis: RE your past problems with The easy way to check it is to set | 08:32:39 | |
I disabled sandbox fallback in the overlay with https://github.com/trofi/nix-guix-gentoo/commit/88050fcf0f3a11a7a6763494eda580b707be1267 and added a README entry to diagnose it: https://github.com/trofi/nix-guix-gentoo/commit/8109131192dc340e314d9e41159b176bfb5b82c8 | 08:33:40 | |
What environment did you use to run nix? Real machine, a VM or some container? | 08:34:20 | |
In reply to @trofi:matrix.orgreal machine, no VMs, no containers | 08:56:22 | |
| also my /etc/nix/nix.conf already has `sandbox-fallback = false` | 08:58:48 | |
| * also my /etc/nix/nix.conf already has `sandbox-fallback = false` without issue | 08:59:01 | |
| * also my /etc/nix/nix.conf already has `sandbox-fallback = false` without issue. i dont know when i added that but it's been there | 08:59:53 | |
| 09:05:21 | ||
| 09:39:14 | ||
| Must be something else then (or a poisoned local cache when was built without a sandbox, before nix.conf tweaks) | 09:46:47 | |
| how coud i clean local cache to ttest that theory | 10:41:41 | |
| Good question. I would "uninstall" everything by cleaning all gc roots in /nix/var/nix/gcroots and run nix-xollect-garbage -d. | 10:56:09 | |
| * Good question. I would "uninstall" everything by cleaning all gc roots in /nix/var/nix/gcroots and run nix-collect-garbage -d. | 10:56:33 | |
| Alternatively you can `nix-build --check` all paths in the problematic closure. But it will require checking for false positives manually. | 11:00:46 | |
| i will do the first option | 11:25:01 | |
| 11 Jul 2023 | ||
In reply to @alex:tunstall.xyzI've gotten Linux 5.15 to compile but it doesn't boot, doesn't log to journalctl, and doesn't output to HDMI, so I've folded and ordered the necessary hardware to debug over serial. | 10:41:37 | |
| * I've gotten Linux 5.15 (VF2 dev branch) to compile but it doesn't boot, doesn't log to journalctl, and doesn't output to HDMI, so I've folded and ordered the necessary hardware to debug over serial. | 10:42:00 | |
In reply to @alex:tunstall.xyzI have a serial adapter, could you publish your patches so I can try them on the star64? | 17:43:14 | |
| 12 Jul 2023 | ||
In reply to @fgaz:matrix.org Sure: https://github.com/AlexandreTunstall/nixos-vf2/tree/linux-devel This isn't the exact code I'm building (my VF2 configuration files are a bit of a mess), but it should work when built natively or at the very least allow you to build the same kernel. | 04:34:43 | |
| My main machine (x86 computer) is dead so don't have enough resources to CXX but if I could get an image, I can check for the issue... | 06:58:27 | |
In reply to @thefossguy:matrix.orgI might be able to generate a NAR of the closure. | 07:15:53 | |
| This should work. https://github.com/AlexandreTunstall/nixos-vf2/releases/tag/broken-v1 If needed, I can spend extra time to build a disk image instead. | 07:39:40 | |
| By the way, if you don't already have NixOS on the VF2, you can get a bootable image from here: https://github.com/misuzu/nixos-vf2/releases (set boot mode to flash). | 07:45:19 | |