I want to put some python libraries on my micro SD card.
My SD card looks registred on my mango: (even with error -110)
dmesg
[ 1357.794577] mmc_sd_detect(mmc0): Unable to re-detect card (-110)
[ 1357.800492] mmc0: card 0001 removed
[ 1359.199899] mmc0: new ultra high speed SDR104 SDXC card at address 0001
[ 1359.201012] mmcblk0: mmc0:0001 EC2QT 59.6 GiB
[ 1359.202720] mmcblk0: p1
The uSD is visible:
root@swi-mdm9x28:~# ls /dev/mmc*
/dev/mmcblk0 /dev/mmcblk0p1
However, I can not mount it:
root@swi-mdm9x28:~# mkdir -p /tmp/sd
root@swi-mdm9x28:~# mount -t auto /dev/mmcblk0p1 /tmp/sd
mount: mounting /dev/mmcblk0p1 on /tmp/sd failed: Invalid argument
root@swi-mdm9x28:~# mount -t ext4 /dev/mmcblk0p1 /tmp/sd
mount: mounting /dev/mmcblk0p1 on /tmp/sd failed: No such device
SDR50 mode requires 1.8V for SD card, on MangOH Red board the supply voltage to SD card is 2.95V therefore we may need to set the Default Speed mode 25MHz or high speed mode 50MHz for SD card to work.
New speed modes (name are base on the bandwidth): SDR12 (max bandwidth: 12MB/s) SDR25 (max bandwidth: 25MB/s) SDR50 (max bandwidth: 50MB/s) SDR104 (max bandwidth: 104MB/s) DDR50 (max bandwidth: 50MB/s)
All these new modes under 1.8V compared to the 3.3V for DS (Default Speed
25MHz) and HS (High Speed at 50MHz)
not sure if your SD card can still work under 3V system…
I used to tune down the SDIO clock to 52MHz when running HS200 mode, by modifying the yocto source code, /kernel/driver/mmc/core/mmc.c, function mmc_select_card_type() , line around 286, like below: #if 0