cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
coreyhahn
Contributor
Contributor
15,555 Views
Registered: ‎09-13-2018

mmc0: error -110 whilst initialising SD card

Jump to solution

Trying to mount an SDCard after a successful boot on a ZynqMPSoC 19 part on a dev board from a commercial vendor.

It boots fine every time.  It boots with several speed grades of micro cards and sizes from  old 4GB class 4 cards to new class 10 32GB cards.  Cannot figure out to mount the SD card mmcblk0p1 because mmcblk0 does not appear in the /dev/.  Looking through boot i see.

 

[ 2.406023] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 40, base_baud = 6249999) is a xuartps
[ 2.522354] mmc0: error -110 whilst initialising SD card
[ 2.761810] mmc0: error -110 whilst initialising SD card
[ 2.970618] mmc0: error -110 whilst initialising SD card
[ 3.182821] mmc0: error -110 whilst initialising SD card

 

I have tried several different cards of ages, speeds, and sizes with no luck.  Always error -110 and no /dev/ for mmcblk0.

I have also tried turning down the default clock to 50MHz.  Again i have not had any trouble booting into petalinux so the card can be read during boot.

0 Kudos
1 Solution

Accepted Solutions
coreyhahn
Contributor
Contributor
15,523 Views
Registered: ‎09-13-2018

Hammered on this bug for a couple of days and then find the answer 5 minutes after i post.

Using the "no-1-8-v;" line in the device tree cleared this particular error up.

 

 

&sdhci1 {
	status = "okay";
	xlnx,has-cd = <0x1>;
	xlnx,has-power = <0x0>;
	xlnx,has-wp = <0x1>;
	disable-wp;
	no-1-8-v;
};

 

View solution in original post

3 Replies
coreyhahn
Contributor
Contributor
15,524 Views
Registered: ‎09-13-2018

Hammered on this bug for a couple of days and then find the answer 5 minutes after i post.

Using the "no-1-8-v;" line in the device tree cleared this particular error up.

 

 

&sdhci1 {
	status = "okay";
	xlnx,has-cd = <0x1>;
	xlnx,has-power = <0x0>;
	xlnx,has-wp = <0x1>;
	disable-wp;
	no-1-8-v;
};

 

View solution in original post

flove
Newbie
Newbie
14,568 Views
Registered: ‎05-26-2019
Thank you for posting this! :D

I'd love to change this voltage setting, too.
However, I am a beginner. Would you be as kind as to tell us the step-by-steps to do this?

I have a SD card reader that works perfectly, except with a certain card that doesn't seem to be detected. It would be nice to try changing this voltage setting, so please tell me how :D
0 Kudos
Rono
Visitor
Visitor
1,980 Views
Registered: ‎04-07-2021

Please specify the directory path and the file name that need to be added with

"no-1-8-v".

 

Thanks,

0 Kudos