| 27 Oct 2023 |
Pratham Patel (you can mention me) | I've tried booting 6.6-rc7 on the VF2 (on archlinux) with no success (rootfs fails to mount). Has anyone else had success booting mainline on VF2? | 00:01:07 |
| Federico Damián Schonborn changed their profile picture. | 01:24:04 |
misuzu | In reply to @thefossguy:matrix.org I've tried booting 6.6-rc7 on the VF2 (on archlinux) with no success (rootfs fails to mount). Has anyone else had success booting mainline on VF2? nvme support is still not merged | 12:05:17 |
misuzu | https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream I'm using this branch | 12:06:07 |
Pratham Patel (you can mention me) | I was booting uboot from SPI and OS from SD | 12:06:09 |
Pratham Patel (you can mention me) | Upstream DT has nodes for eMMC and SD | 12:06:40 |
misuzu | In reply to @thefossguy:matrix.org I was booting uboot from SPI and OS from SD Probably something is missing in the kernel config | 12:06:46 |
Pratham Patel (you can mention me) | Plus, this was with defconfig, not distro config with old[def]config | 12:07:13 |
misuzu | https://github.com/misuzu/nixos-vf2/blob/038cd5ce7ca45ee74c4af3e869e0484a26ac1473/linux-vf2.nix#L13 | 12:07:27 |
misuzu | Check if these are enabled | 12:07:37 |
| * Pratham Patel (you can mention me) is booting the working image to check this | 12:08:39 |
Pratham Patel (you can mention me) | Right off the bat, the first option CPU_FREQ is missing lol | 12:18:22 |
Pratham Patel (you can mention me) | I thought defconfig would set that :/ | 12:18:28 |
misuzu | Also make sure to add these modules to initrd https://github.com/misuzu/nixos-vf2/blob/038cd5ce7ca45ee74c4af3e869e0484a26ac1473/configuration.nix#L26 | 12:20:35 |
Pratham Patel (you can mention me) | How easy/hard is it to build this image on the 8GB VF2 itself? | 12:21:36 |
Pratham Patel (you can mention me) | easy/hard for the board | 12:22:04 |
misuzu | You want a nixos image? | 12:22:04 |
Pratham Patel (you can mention me) | Yeah :) | 12:22:19 |
misuzu | https://github.com/misuzu/nixos-vf2/releases/tag/0.5 | 12:22:29 |
Pratham Patel (you can mention me) | Initially, I'll get one from your repo's releases | 12:22:31 |
Pratham Patel (you can mention me) | But I want to iterate and send patches and don't have a powerful-enough machine handy yet. So any fixes I do to your image must be locally built :) | 12:22:55 |
misuzu | You can cross-compile on x86_64 machine | 12:23:21 |
Pratham Patel (you can mention me) | My only ryzen pc died a few months ago :(
Now on a mobile i5 from 2018 haha | 12:23:57 |
misuzu | It'll still be faster than building on vf2 | 12:24:17 |
Pratham Patel (you can mention me) | I see a native image; maybe it is possible to build natively; only it being slow that's all. I don't mind that. But don't like OOM errors lol | 12:24:39 |
misuzu | Yes, it was build on vf2 | 12:24:58 |
misuzu | Took a week or so | 12:25:17 |
Pratham Patel (you can mention me) | oof | 12:25:22 |
Pratham Patel (you can mention me) | no binary cache? | 12:25:28 |
misuzu | Nope, everything from scratch | 12:25:41 |