TS-TPC-7990 SATA: Difference between revisions

From embeddedTS Manuals
No edit summary
(Reworded note about sata, grammar)
 
Line 1: Line 1:
{{Note|SATA does not work on REV A boards}}
{{Note|SATA is functional on Rev. B or newer PCBs.}}
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.
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.


Line 16: Line 16:
</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:
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>
<source lang=bash>
env set bootcmd 'run sataboot;'
env set bootcmd 'run sataboot;'
Line 22: Line 22:
</source>
</source>


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

Latest revision as of 14:05, 28 September 2018

Note: SATA is functional on Rev. B or newer PCBs.

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 in sequential accesses. 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 boot directly to SATA.