TS-TPC-7990 SATA: Difference between revisions

From embeddedTS Manuals
No edit summary
(Undo revision 7772 by Mark (talk))
Line 1: Line 1:
The i.MX6 Quad and Dual include integrated SATA II support.  This interface has been tested to provide 135MiB/s write, and 170MiB/s read through block access.  In Linux this is accessed through the /dev/sda device:
{{Note|SATA does not work on REV A boards}}
SATA is located on the mini PCIe header on the TS-7990.  This is intended to be used with mSATA style drives to provide fast embedded storage.
 
The i.MX6 Quad and Dual include integrated SATA II support.  This interface has been tested to provide 135MiB/s write, and 170MiB/s read through block access.  In linux this is accessed through the /dev/sda device:
<pre>
<pre>
[    1.768036] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.768036] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Line 12: Line 15:
[    1.847381] sd 0:0:0:0: [sda] Attached SCSI dis
[    1.847381] sd 0:0:0:0: [sda] Attached SCSI dis
</pre>
</pre>
U-boot includes a script to boot off of a SATA drive.  The SATA drive should be formatted just like the SD card examples.  In u-boot run:
<source lang=bash>
env set bootcmd 'run sataboot;'
env save
</source>
This will ignore the SD boot jumper and just boot directly to SATA.

Revision as of 15:58, 27 October 2016

Note: SATA does not work on REV A boards

SATA is located on the mini PCIe header on the TS-7990. This is intended to be used with mSATA style drives to provide fast embedded storage.

The i.MX6 Quad and Dual include integrated SATA II support. This interface has been tested to provide 135MiB/s write, and 170MiB/s read through block access. In linux this is accessed through the /dev/sda device:

[    1.768036] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.785377] ata1.00: ATA-8: MKNSSDAT30GB-DX, 507ABBF0, max UDMA/133
[    1.791716] ata1.00: 58626288 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    1.805380] ata1.00: configured for UDMA/133
[    1.810320] scsi 0:0:0:0: Direct-Access     ATA      MKNSSDAT30GB-DX  507A PQ: 0 ANSI: 5
[    1.819459] sd 0:0:0:0: [sda] 58626288 512-byte logical blocks: (30.0 GB/27.9 GiB)
[    1.827427] sd 0:0:0:0: [sda] Write Protect is off
[    1.832812] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.843621]  sda: sda1
[    1.847381] sd 0:0:0:0: [sda] Attached SCSI dis

U-boot includes a script to boot off of a SATA drive. The SATA drive should be formatted just like the SD card examples. In u-boot run:

env set bootcmd 'run sataboot;'
env save

This will ignore the SD boot jumper and just boot directly to SATA.