This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: mSATA Gen III SSD

Part Number: AM5728

Tool/software: Linux

Hi Biser,

I am working on TMDSEVM572X development boards from TI.

I have mSATA III SSD from ATP (log from my host machine [    0.704943] ata4.00: ATA-9: ATP SATA III mSATA, N0516B, max UDMA/133)

I went trough the previous post for mSATA SSD on AM5728 based EVM, I understood it does not support backward compatibility to SATA Gen III devices due to hardware bug. Does the issue still persists ??

Following is the boot log on EVM, when mSATA SSD is connected

[    9.928640] scsi host0: ahci
[    9.953268] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 348
[    9.985169] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[   10.011274] vip 48990000.vip: loading firmware vpdma-1b8.bin
[   10.028661] vip 48990000.vip: VPDMA firmware loaded
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Telephony service.
[   10.328679] ata1: SATA link down (SStatus 0 SControl 300)

Out of your experience, please suggest suitable mSATA SSD for the EVM with read speeds upto 300MBps.

Thanks & Regards,

Vamshi G.

  • The SATA experts have been notified. They will respond here.
  • Yes, the referenced errata still applies.

    We do not maintain a list of compatible SSD devices, but I've reached out to the board owner to see if he has any suggestions. He's out for the US Memorial Day holiday so any response will be delayed.

  • Hi DK,

    appreciate your response, please do update me. Mean while I will look to buy one and try... quick response will save my money.
  • Hi, Vamshi,

    TI System Test uses Kingston SMS200S3/30G, but our internal measurement of this device does not reach 300MBps. From the boot logs, it seems the mSATA wasn't plugged in. Are you using the AM5728 GP EVM with a LCD module? The LCD module has a PCIe and an mSATA slots. If this is the one you use, be sure mSATA is plugged in to the one closer to the AM5728 power connector. The other is only for PCIe.

    Rex

  • Hi Rex Chang,

    1) Thanks for your inputs, & your comment on the speed is very useful, I am looking for a device that can give upto 400MBps (suggestions are welcome).

    2) I am using AM5728 EVM with 7inch LCD module. On the bottom side I see tow slots, one is for PCIe drive and the other for mSATA & I am sure it is connected into mSATA slot (still I will verify it tomorrow and update you on this).

    3) This EVM has on-board, USB 3.0 hub, I have connected a USB 3.0 external hard-drive to verify the read/write speeds "dd" command, I measured upto 198MBps, do have any better write speed numbers on the downstream ports. <on single downstream port or on 3 downstream ports in parallel write>

    Thanks & Regards,
    Vamshi G.
  • Hi Rex,

    mSATA drive is now detected, there is a Jumper J1 on the base board (JUMPER INSTALED=mSATA) with Jumper Installed and connecting mSATA drive into slot close to power connector, it is detecting. Below is the part of the boot log

    [    8.297417] ata1.00: HPA detected: current 61857727, native 61865984
    [    8.297428] ata1.00: ATA-9: ATP SATA III mSATA, N0516B, max UDMA/133
    [    8.297434] ata1.00: 61857727 sectors, multi 1: LBA48 NCQ (depth 31/32)
    [    8.323901] ata1.00: configured for UDMA/133
    [    8.338676] scsi 0:0:0:0: Direct-Access     ATA      ATP SATA III mSA 6B   PQ: 0 ANSI: 5
    [    8.348505] sd 0:0:0:0: [sda] 61857727 512-byte logical blocks: (31.6 GB/29.4 GiB)
    [    8.358677] sd 0:0:0:0: [sda] Write Protect is off
    [    8.363584] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    8.374934]  sda: sda1
    [    8.379487] sd 0:0:0:0: [sda] Attached SCSI disk

    Please add the point J1 on the base board (JUMPER INSTALED=mSATA) into user guide from TI.

    Thanks & Regards,

    Vamshi G.

  • Hi, Vamshi,

    Glad you have it resolved. The info is described in AM5728 EVM Hardware User's Guide,

    http://processors.wiki.ti.com/index.php/AM572x_General_Purpose_EVM_HW_User_Guide#eSATA

    Rex

  • Hi Rex,

    Thanks for pointing this out, I was looking at the pdf user guide.

    I would like to check the mSATA performance on the AM572x based EVM. I see the performance numbers of read upto 225MBps from the LINK

    Please help me understand the following:

    1) I understand test results are based on LFTB, please correct me if I am wrong.

    2) I understand the tests are run using Linux SDK (tisdk, that is pre-built images provided on uSD along with EVM, running linux) please correct me if I am wrong.

    3) I see from the LFTB README, that it is not tested on platform am57xx ??

    I would like to achieve the performance numbers on the EVM I have, please provide the inputs

    Thanks & Regards,

    Vamshi G.

  • Hi, Vamshi,

    LFTB is an old test suite which is not longer used. We use open source LTP suite. You can find it in filesystem/arago-base-tisdk-image-am57xx-evm.tar.xz of the ProcSDK package. It is LTP DDT in /opt/ltp/runtest/ddt.

    Yes, the numbers in the User's Guide are using Linux SDK on TI EVM.

    Rex

  • Hi Rex,

    Thanks for your inputs, I did try to run but ended in errors. I will try them tomorrow and get back to you
  • Hi Rex,

    I tried to run the test from the folder you mentioned /opt/ltp/runtest/ddt, I see bunch of files, how do I run them, when I try to run it shows the error "permission denied" please give your inputs.

    Thanks,
    Vamshi
  • Hi, Vamshi,

    LTP is an open source package. You should be able to find info from its page, http://ltp.sourceforge.net/documentation/how-to/ltp.php.

    For your info, Below are how we ran it,

    perf command: "./runltp -P am57xx-evm -f ddt/sata_perf_ext4 -s SATA_L_PERF_EXT4_1G"

    Sanity command: "./runltp -P am57xx-evm -f ddt/msata_dd_rw -s "MSATA_S_FUNC_DD_RW_10M"

    Rex