mmc2: error -110 whilst initialising SD card
mmc2: new high speed SDHC card at address 1234
mmcblk2: mmc2:1234 SA32G 28.9 GiB (ro)
mmcblk2: p1
root@imx6qsabresd:~# mount -t vfat -wr /dev/mmcblk2p1 sd
root@imx6qsabresd:~# cd sd
root@imx6qsabresd:~/sd# mkdir wwww
mkdir: can't create directory 'wwww': Read-only file system
v/mmcblk2p1 sdesd:~/sd# mount -t vfat -wr /dev/mmcblk2p1 sdmount -t vfat -wr /de
Hi tom
please check SD_WP (write protection) signal.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
is it working in uboot, had you checked signals with oscilloscope ?
~igor
I remov the wp from the dts . It work .
when I insert the card it display:
root@imx6qsabresd:~# mmc2: host does not support reading read-only switch. assuming write-enable.
mmc2: new high speed SDHC card at address 1234
mmcblk2: mmc2:1234 SA32G 28.9 GiB
mmcblk2: p1
but after I mount it on the system. the card's content like the next:
root@imx6qsabresd:~/sd# ls
ddd imx6q-sabresd.dtb zImage
imx6dl-sabresd.dtb imx6sx-sdb.dtb
It is not my card .how weirdly it is . could you explant for me ?