# How to get file from SD card

**URL:** <https://forum.legato.io/t/how-to-get-file-from-sd-card/6764>\
**Category:** Uncategorized\
**Created:** [July 4, 2024, 6:25am UTC](https://forum.legato.io/t/how-to-get-file-from-sd-card/6764 "2024-07-04T06:25:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [July 4, 2024, 6:25am UTC](https://forum.legato.io/t/how-to-get-file-from-sd-card/6764/1 "2024-07-04T06:25:06Z")

</div>

does this is mean already connect to sd-card ?  
if not, how to do?

```auto
root@swi-mdm9x28-wp:~# dmesg | grep mmc
[1.279347] sdhci_msm 7864900.sdhci: No vmmc regulator found
[1.279362] sdhci_msm 7864900.sdhci: No vqmmc regulator found
[1.279759] mmc0: SDHCI controller on 7864900.sdhci [7864900.sdhci] using 32-bit ADMA in legacy mode
[7281.356236] mmc0: new high speed SDIO card at address 0001

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [July 4, 2024, 6:51am UTC](https://forum.legato.io/t/how-to-get-file-from-sd-card/6764/2 "2024-07-04T06:51:47Z")

</div>

i remember i saw the following when the SD card is connected successfully:

```auto

root@swi-mdm9x28:~# dmesg | grep 'mmc'
[1.072562] sdhci_msm 7864900.sdhci: No vmmc regulator found
[1.072576] sdhci_msm 7864900.sdhci: No vqmmc regulator found
[1.072941] mmc0: SDHCI controller on 7864900.sdhci [7864900.sdhci] using 32-bit ADMA in legacy mode
[1.200555] mmc0: new high speed SDHC card at address e624
[1.208729] mmcblk0: mmc0:e624 SU08G 7.40 GiB
[1.210479] mmcblk0: p1
root@swi-mdm9x28:~#

```

After that I can mount SD card by the following commands:

```auto
mkdir -p /tmp/sdcard
/bin/mount -t auto -o sync /dev/mmcblk0p1 "/tmp/sdcard"

```

---

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [July 4, 2024, 7:25am UTC](https://forum.legato.io/t/how-to-get-file-from-sd-card/6764/3 "2024-07-04T07:25:58Z")

</div>

but now it doesn’t have this two lines. how to do?

> [@jyijyi](#):
>
> ```auto
> [1.208729] mmcblk0: mmc0:e624 SU08G 7.40 GiB
> [1.210479] mmcblk0: p1
> 
> ```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [July 4, 2024, 7:35am UTC](https://forum.legato.io/t/how-to-get-file-from-sd-card/6764/4 "2024-07-04T07:35:40Z")

</div>

then maybe the SD card has problem

With Mangoh board, you can try other SD card stated here :

> **[Micro SD Support on MangOH](https://mangoh.discourse.group/t/micro-sd-support-on-mangoh/91/12)**
>
> Hi spastor, Thanks. Good to know that you are able to mount the sd card. I am able to load the driver without any issue and selected the SDIO using mux 9 even in my board Jumper setting is also proper but still I am unable to see mmcblk0p1 in...
