<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: imx6 ata initialize question in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457791#M71622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Weidong. I found why android frameworks can not get correct information from vold daemon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I format SATA to FAT filesystem. It won't create two node in /dev/block/vold(8:1) so that volume daemon can not determine devtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after I format SATA to FAT32/ext4 filesystem. It will create two node in /dev/block/vold (8:0/8:1). Then volume daemon can detect devtype and mount automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I not sure why it can't work in FAT filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way it maybe a another issue result in my android frmaeworks won't get correct information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that kernel message had printed the SATA initialized information. But it only tried to read SATA information in five times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read times is define in /kernel/include/linux/libata.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I download image, first time to boot the device. It doesn't have enough times to get SATA initialized information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I modify the value(ATA_EH_MAX_TRIES) more than 5. Then it can initial correctly. Maybe it's a another issue result in my android won't get correct information from volume daemon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2015 05:17:03 GMT</pubDate>
    <dc:creator>rudolphhsueh</dc:creator>
    <dc:date>2015-07-13T05:17:03Z</dc:date>
    <item>
      <title>imx6 ata initialize question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457789#M71620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I recently porting the SATA with imx6(quad-core). But I always can't get the right volume information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp; ensure that my sata had been set in kernel init period. Here is the kernel message:&lt;/P&gt;&lt;P&gt;==================================================================================&lt;/P&gt;&lt;P&gt;[ 1677.724423] ata1: hard resetting link&lt;/P&gt;&lt;P&gt;[ 1678.685972] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)&lt;/P&gt;&lt;P&gt;[ 1678.692856] ata1.00: ATA-8: SSE032GPTC0-S81, S8FM04.3, max UDMA/100&lt;/P&gt;&lt;P&gt;[ 1678.699665] ata1.00: 62533296 sectors, multi 16: LBA48 NCQ (depth 31/32)&lt;/P&gt;&lt;P&gt;[ 1678.707025] ata1.00: configured for UDMA/100&lt;/P&gt;&lt;P&gt;[ 1678.711476] ata1: EH complete&lt;/P&gt;&lt;P&gt;[ 1680.226612] scsi 0:0:0:0: Direct-Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSE032GPTC0-S81&amp;nbsp; S8FM PQ: 0 ANSI: 5&lt;/P&gt;&lt;P&gt;[ 1680.238112] sd 0:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)&lt;/P&gt;&lt;P&gt;[ 1680.247428] sd 0:0:0:0: [sda] Write Protect is off&lt;/P&gt;&lt;P&gt;[ 1680.252503] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00&lt;/P&gt;&lt;P&gt;[ 1680.257932] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA&lt;/P&gt;&lt;P&gt;[ 1680.269009]&amp;nbsp; sda: sda1&lt;/P&gt;&lt;P&gt;E/DirectVolume( 2341): [DirectVol[ 1680.272993] sd 0:0:0:0: [sda] Attached SCSI disk&lt;/P&gt;&lt;P&gt;==================================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is similar to the documents what I reference named i.MX_6_Linux_Reference_Manual.pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not sure whether sata initialize is correctly or not. I just see only one node show in /dev/block/vold/8:1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I take the USB disk to compare with SATA. USB disk always show two node in /dev/block/vold/8:16 and 8:17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And vold daemon will get the /dev/block/vold/8:16 to check devtype. After check devtype it will get 8:17 to mount USB partition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But SATA doesn't have another node to let vold determine devtype. So my android always not get correct message from kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I have any suggestions, If there anyone knows it, please tell me how to make like USB disk in /dev/block/vold to show correct node. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 10:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457789#M71620</guid>
      <dc:creator>rudolphhsueh</dc:creator>
      <dc:date>2015-07-07T10:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ata initialize question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457790#M71621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolph,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From log,&amp;nbsp; your SATA disk should work normally, you can test it like this : copy files from SATA to SD, or save a movie file on SATA and play it .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; try it , please !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;H3&gt;&lt;/H3&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 04:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457790#M71621</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2015-07-09T04:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ata initialize question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457791#M71622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Weidong. I found why android frameworks can not get correct information from vold daemon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I format SATA to FAT filesystem. It won't create two node in /dev/block/vold(8:1) so that volume daemon can not determine devtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after I format SATA to FAT32/ext4 filesystem. It will create two node in /dev/block/vold (8:0/8:1). Then volume daemon can detect devtype and mount automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I not sure why it can't work in FAT filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way it maybe a another issue result in my android frmaeworks won't get correct information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that kernel message had printed the SATA initialized information. But it only tried to read SATA information in five times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read times is define in /kernel/include/linux/libata.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I download image, first time to boot the device. It doesn't have enough times to get SATA initialized information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I modify the value(ATA_EH_MAX_TRIES) more than 5. Then it can initial correctly. Maybe it's a another issue result in my android won't get correct information from volume daemon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 05:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ata-initialize-question/m-p/457791#M71622</guid>
      <dc:creator>rudolphhsueh</dc:creator>
      <dc:date>2015-07-13T05:17:03Z</dc:date>
    </item>
  </channel>
</rss>

