neggles / linux-quartz64

Development kernel for QuartzPro64
Other
17 stars 13 forks source link

`sd-uhs-sdr104` doesn't seem to work with high speed SD cards #2

Open alyssarosenzweig opened 1 year ago

alyssarosenzweig commented 1 year ago

Commenting out this line https://github.com/neggles/linux-quartz64/blob/linux-quartz64/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts#L323 seems required for certain high speed SD cards to work (fix suggested by CounterPillow)... of course, that's not great for performance

neggles commented 1 year ago

Interesting. Would that happen to be SanDisk Ultra/Extreme cards? I've had one or two people report problems with those, but they're notoriously flaky and with the big performance drop I'd been trying to avoid disabling SDR104 😓

Personally I've been using a crappy SD card for u-boot+kernel with rootfs on eMMC, but that's not an option for everyone & a working system beats a non-working system so I'll go comment it out for the time being. Will see if I can dig into it a bit more soon, I've got plenty of different microSD cards I can test with - hopefully it's another pinctrl/regulator-y thing like the rk356x u-boot SD issue CounterPillow finally worked out recently & not something fundamentally broken...

Thanks for letting me know! 😄