[android-porting] Android 6.0.1 cannot detect external SD card on iMX6Q board

2016-12-13 Thread Phi Nguyen


Hi all,

i have problem with mount external SD card on my iMX6q board. When i insert 
or remove SD card, it can be detected and on debug console shows as:

when inserted:

mmc1: mmc_rescan_try_freq: trying to init card at 30 Hz
mmc1: host does not support reading read-only switch, assuming write-enable
mmc1: new high speed SDHC card at address 0007
mmcblk1: mmc1:0007 SL32G 28.9 GiB 
mmcblk1: p1 p2

 

BUT on android 6, nothing happens! i don't see any message inform new sd 
card inserted, i go to Settings -> Storage & USB and it only shows Internal 
Storage, NOT exist SD card. I try to use "File Manager" app and it only 
shows internal storage also!

 

in /device/fsl/sabresd_6dq/fstab.freescale i'm using this command:

devices/soc0/soc/210.aips-bus/2194000.usdhc/mmc_host/mmc1* auto auto 
defaults voldmanaged=sdcard1:auto,encryptable=userdata

 

Can any one give me some advices, where can i edit in android AOSP to 
mount/enable external sd card and can detect it? 

My device running on Android Mashmallow 6.0.1 and Kernel 4.1.15

 

Thanks!

 

Regards,

Nguyen

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-porting] Re: Android 6.0.1 cannot detect external SD card on iMX6Q board

2016-12-25 Thread Phi Nguyen
I've changed a little to: devices/soc0/soc/210.aips-
bus/2194000.usdhc/mmc_host* auto auto defaults voldmanaged=sdcard:auto,
encryptable=userdata 
and it's mounted successfull with both SD card and USB storage.

BG,

On Saturday, December 24, 2016 at 10:47:34 PM UTC+7, minde...@gmail.com 
wrote:
>
>
>
> On Wednesday, December 14, 2016 at 1:13:05 AM UTC+5:30, Phi Nguyen wrote:
>>
>> Hi all,
>>
>> i have problem with mount external SD card on my iMX6q board. When i 
>> insert or remove SD card, it can be detected and on debug console shows as:
>>
>> when inserted:
>>
>> mmc1: mmc_rescan_try_freq: trying to init card at 30 Hz
>> mmc1: host does not support reading read-only switch, assuming 
>> write-enable
>> mmc1: new high speed SDHC card at address 0007
>> mmcblk1: mmc1:0007 SL32G 28.9 GiB 
>> mmcblk1: p1 p2
>>
>>  
>>
>> BUT on android 6, nothing happens! i don't see any message inform new sd 
>> card inserted, i go to Settings -> Storage & USB and it only shows Internal 
>> Storage, NOT exist SD card. I try to use "File Manager" app and it only 
>> shows internal storage also!
>>
>>  
>>
>> in /device/fsl/sabresd_6dq/fstab.freescale i'm using this command:
>>
>> devices/soc0/soc/210.aips-bus/2194000.usdhc/mmc_host/mmc1* auto auto 
>> defaults voldmanaged=sdcard1:auto,encryptable=userdata
>>
>>  
>>
>> Can any one give me some advices, where can i edit in android AOSP to 
>> mount/enable external sd card and can detect it? 
>>
>> My device running on Android Mashmallow 6.0.1 and Kernel 4.1.15
>>
>>  
>>
>> Thanks!
>>
>>  
>>
>> Regards,
>>
>> Nguyen
>>
>
> Can you do a busybox fdisk /dev/mmcblk1 and list out all the partitions? 
> If it is successful can you create a fresh ext3 file system in each of 
> these partitions?
>
> -GB
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.