Exotic Nix Targets | 345 Members | |
| 108 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Jul 2023 | ||
In reply to @alex:tunstall.xyzThat's just a hunch, I need to check with vendor firmware to be sure | 19:50:00 | |
In reply to @misuzu:matrix.orgIt is: the DTB comes from the kernel. | 19:50:29 | |
In reply to @alex:tunstall.xyzI've just tried 6.4.0-rc6 and it's still at 500000 | 19:52:50 | |
In reply to @misuzu:matrix.org How interesting. Perhaps that is the default at boot and the system is unable to change it? If you set the governor to | 19:54:54 | |
In reply to @alex:tunstall.xyzNope, tried 375000, 750000 and 1500000, still 500000 | 19:56:52 | |
In reply to @misuzu:matrix.orgI suspect your version of u-boot is lacking a patch needed to support it. | 19:58:30 | |
| 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 | |