i.MX6Q sata mount issue

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX6Q sata mount issue

713 Views
jasonhsu
Contributor III

Hi community,

I meet a strange issue about sata mounting.

1) I modified init.rc like below ( add line in blue)

    mkdir /mnt/extsd 0000 system system

    symlink /mnt/extsd /extsd

    mkdir /mnt/udisk 0000 system system

    symlink /mnt/udisk /udisk

# jianhua@20140808 for sata/ssd

    mkdir /mnt/ssd 0775 system system

    symlink /mnt/ssd  /ssd

2) I modified fstab.freescale like below (add line in blue)

/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc2 /mnt/extsd vfat defaults voldmanaged=sdcard:auto

/devices/platform/fsl-ehci /mnt/udisk vfat defaults voldmanaged=sdcard:auto

/devices/platform/ahci  /mnt/ssd  ntfs  defaults voldmanaged=ssd:auto

after system bootup, there are none file lists in /ssd folder

However, if I changed fstab.freescale like below:

/devices/platform/ahci /mnt/extsd ntfs defaults voldmanaged=ssd:auto

after system bootup, there are correct file list in /extsd folder that are just the files in sata disk.


could you give me some advices why such difference. ( finally, i want to mount sata disk in ssd folder, because extsd should be reserved for external sd card).

Many thx...

Tags (2)
0 Kudos
2 Replies

65 Views
Raana
Contributor III

Dear Jianhua,

May I get that fstab for SATA device ? because right now, I'm trying to mount the filesystem through SATA device.

Thank You.

Best Regards,

J.P.Raja

0 Kudos

65 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Jianhua,

   Correct, If you want to use SATA disk in android system, you should mount it as an "extsd" in fstab.

Regards,

Weidong