AnsweredAssumed Answered

Can vold support sata?

Question asked by Qiulong Li on Mar 1, 2016
Latest reply on Feb 4, 2017 by Sun Frank

Hi community:

My environment is i.mx6q and android 4.4.2.

I mount sata in init.freescale.rc,like below:

# mount ext4 partitions

    mount_all /fstab.freescale

  mount ext4 /dev/block/sda1  /mnt/media_rw/sata

And boot log shows my sata is ready,like below:

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.00: ATA-8: ST500LT012-1DG142, 0001SDM1, max UDMA/133

ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32)

ata1.00: configured for UDMA/133

scsi 0:0:0:0: Direct-Access     ATA      ST500LT012-1DG14 0001 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)

sd 0:0:0:0: [sda] 4096-byte physical blocks

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

And I can read/write my sata hard driver.

But I get nothing in /dev/block/vold.

I want to use MTP to read/write my sata hard driver,but because vold can't find sata,so I can't read/write my sata by MTP.

What Can I do?Please help me.

Thank You.

Outcomes