Exotic Nix Targets | 339 Members | |
| 104 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Jul 2023 | ||
| Yeah, that's probably it | 19:59:14 | |
| 9 Jul 2023 | ||
| 03:19:50 | ||
In reply to @alex:tunstall.xyzby upstream, do you mean StarFive's repo or Linus' tree? I belive Linus' tree is missing support for the eMMC node for the VF2 dtsi (haven't checked for -next). | 11:14:28 | |
In reply to @thefossguy:matrix.orgVendor's, sorry I was unclear (I'd call Linus' mainline). | 11:15:32 | |
| FWIW I tried mainline too but it didn't boot and I don't have the hardware to debug failed boots. | 11:16:26 | |
| Ah okay... I tried their 6.4-rc3 with my old arch image a few months ago... It would boot but the GPU drivers are tied to the vendor 5.15.0 kernel for now :( | 11:17:08 | |
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 | |