I am running petalinux on my microzed. I can boot from the SD card, but unable to mount it after the kernel comes up. In the log messages I see :
mmc0: error -110 whilst initialising SD card
Any suggestions?
I am running petalinux on my microzed. I can boot from the SD card, but unable to mount it after the kernel comes up. In the log messages I see :
mmc0: error -110 whilst initialising SD card
Any suggestions?
Found the problem.
Clock frequency need to be changed for microzed
ps7_sd_0: ps7-sdio@e0100000 {
tttclock-frequency = <0x7735940>;
-tttcompatible = "xlnx,ps7-sdio-1.00.a", "generic-sdhci";
-tttinterrupt-parent = <&ps7_scugic_0>;
-tttinterrupts = <0x0 0x18 0x4>;
+tttclock-names = "ref_clk", "aper_clk";
+tttclocks = <&clkc 21>, <&clkc 32>;
+tttcompatible = "xlnx,ps7-sdio-1.00.a", "generic-sdhci", "arasan,sdhci";
+tttinterrupt-parent = <&ps7_scugic_0>;
+tttinterrupts = <0 24 4>;
tttreg = <0xe0100000 0x1000>;
tttxlnx,has-cd = <0x1>;
tttxlnx,has-power = <0x0>;
tttxlnx,has-wp = <0x1>;
tttxlnx,sdio-clk-freq-hz = <0x3f93e10>;
-tt};
Found the problem.
Clock frequency need to be changed for microzed
ps7_sd_0: ps7-sdio@e0100000 {
tttclock-frequency = <0x7735940>;
-tttcompatible = "xlnx,ps7-sdio-1.00.a", "generic-sdhci";
-tttinterrupt-parent = <&ps7_scugic_0>;
-tttinterrupts = <0x0 0x18 0x4>;
+tttclock-names = "ref_clk", "aper_clk";
+tttclocks = <&clkc 21>, <&clkc 32>;
+tttcompatible = "xlnx,ps7-sdio-1.00.a", "generic-sdhci", "arasan,sdhci";
+tttinterrupt-parent = <&ps7_scugic_0>;
+tttinterrupts = <0 24 4>;
tttreg = <0xe0100000 0x1000>;
tttxlnx,has-cd = <0x1>;
tttxlnx,has-power = <0x0>;
tttxlnx,has-wp = <0x1>;
tttxlnx,sdio-clk-freq-hz = <0x3f93e10>;
-tt};