| 27 Oct 2023 |
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 |