The patch set SD clock frequency to maximum possible to SD-card
(50MHz). This change actual clock frequency from 32MHz to 48MHz
(speedup 1.5X).
Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32000000Hz
(slot req 50000000Hz, actual 32000000HZ div = 0)'.
Banner line after patch: 'mmc_host mmc0: Bus speed (slot 0) = 96000000Hz
(slot req 50000000Hz, actual 48000000HZ div = 1)'
Signed-off-by: Alexander Kochetkov <[email protected]>
---
arch/arm/boot/dts/rk3188-radxarock.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 1da46d1..5b7daa4 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -302,6 +302,7 @@
pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
vmmc-supply = <&vcc_sd0>;
+ clock-frequency = <50000000>;
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
--
1.7.9.5
Hi,
Am Dienstag, 21. M?rz 2017, 18:40:22 CET schrieb Alexander Kochetkov:
> The patch set SD clock frequency to maximum possible to SD-card
> (50MHz). This change actual clock frequency from 32MHz to 48MHz
> (speedup 1.5X).
>
> Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32000000Hz
> (slot req 50000000Hz, actual 32000000HZ div = 0)'.
> Banner line after patch: 'mmc_host mmc0: Bus speed (slot 0) = 96000000Hz
> (slot req 50000000Hz, actual 48000000HZ div = 1)'
>
> Signed-off-by: Alexander Kochetkov <[email protected]>
sorry, but I will not apply this patch at this time.
When testing on my radxarock with the card I always use upon entering the
rootfs everything explodes with -110 errors, while without that patch the card
runs stable as far as I can tell.
I also don't have the time to investigate further right now though.
Heiko
> 22 марта 2017 г., в 19:47, Heiko Stuebner <[email protected]> написал(а):
>
> sorry, but I will not apply this patch at this time.
> When testing on my radxarock with the card I always use upon entering the
> rootfs everything explodes with -110 errors, while without that patch the card
> runs stable as far as I can tell.
> I also don't have the time to investigate further right now though.
Ok. Let leave as is for now.
My radxa worked stable for a year with this settings.
And my custom rk3188 based board also has this setting. Kernel 4.8.
And I saw -110 errors only then I disconnect SD-card from board.
> 22 марта 2017 г., в 20:04, Alexander Kochetkov <[email protected]> написал(а):
>
> Ok. Let leave as is for now.
>
> My radxa worked stable for a year with this settings.
Ok, I not sure what my radxa worked stable with this settings.
Hieko, thanks for catching that.
Sorry for your time.
Am Mittwoch, 22. März 2017, 20:14:36 CET schrieb Alexander Kochetkov:
>
> > 22 марта 2017 г., в 20:04, Alexander Kochetkov <[email protected]> написал(а):
> >
> > Ok. Let leave as is for now.
> >
> > My radxa worked stable for a year with this settings.
>
> Ok, I not sure what my radxa worked stable with this settings.
> Hieko, thanks for catching that.
>
> Sorry for your time.
no problem :-)
Hopefully some time in the future we'll be able to figure out where
the instability on my rock came from.