the kernel no longer detects the SD card on my visionfive 2 v1.3b.
I tested the kernel 6.15 and it works only when I revert this change.
Has anybody seen something like this?
Since the change switched the SD card detection from polling to a specific GPIO pin, this could still be a HW problem specific to my board. As I only have one, it would be nice to know from other visionfive 2 owners
I suggest you don’t tinker with VF2 for now.
There is news these days that debian13 for riscv64 will release its official version on August 9th.The device directory supported by the new version includes VF2。So I suggest you wait until after August 9th…
Because I saw that the news and videos of debian13 for riscv64 are in Chinese, you need to search for the English news yourself.
I don’t think it’s your hardware. Whatever that patch is trying to do, it seems incorrect.
I tried to look for this change in my own kernels dtsi (the very one mentioned in Experimental Gentoo Image - #131 by rvcray that boots and runs normally) and it wasn’t there.
Puzzled I did a grep on the entire directory and can see that both broken-cd and cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW> are both declared in completely different files to that patch.
It should be noted that this is a Gentoo version of the kernels sources (sys-kernel/gentoo-sources) and that the true mainline Linux kernel (sys-kernel/vanilla-sources) is masked on riscv, so possibly; Gentoo are maintaining their own dts patches that actually work?