[IMX8] How to enable SD card as external storage in Android 12?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[IMX8] How to enable SD card as external storage in Android 12?

641 Views
Kunyang_Fan
Contributor II

Hi,

How to enable the SD card as a external storage in Android 12 when booting from eMMC ? The Android Settings->Storage can't see the inserted SD card. The file format in SD is  a single partition with vfat format. We can found the the partitions is existed by /proc/partitions, but the upper Android layer can't show SD card.

179 24 62367744 mmcblk1
179 25 62365696 mmcblk1p1

Hardware: IMX8MP EVK

SW: Android 12.1.0_1.0.0 (L5.15.52_2.1.0 BSP)

 

Best regards, 

Kunyang

0 Kudos
1 Reply

633 Views
Kunyang_Fan
Contributor II

For Imx8mp platform, the fastest way is to change the file "/device/nxp/imx8m/evk_8mp/fstab.nxp" and append the line "/devices/platform/soc@0/30800000.bus/30b50000.mmc/mmc_host/* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata" in this file. 

 

0 Kudos