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.

OMAP-L138,SATA Interface Problem.About the harddisk capacity limitation and format.

Other Parts Discussed in Thread: OMAP-L138

Hi,

 

The version of my linux kernel is 2.6.32-rc6, once I connect my 320G harddisk with OMAP-L138, the format of the disk  is FAT32,and the sata interface worked well. Then I try to connect my 1T harddisk with OMAP-L138, but it cannot reset sucessfully, the following are the warnings:

 

ata1: link is slow to respond, please be patient (ready=0)

ata1: softreset failed (device not ready)

ata1: link is slow to respond, please be patient (ready=0)

ata1: softreset failed (device not ready)

ata1: link is slow to respond, please be patient (ready=0)

ata1: softreset failed (device not ready)

ata1: limiting SATA link speed to 1.5 Gbps

ata1: softreset failed (device not ready)

ata1: reset failed, giving up

 

Then I change the format of my 1T harddisk  from NTFS to FAT32, but it cannot work either. Then I put a 500G hardisk (NTFS) in the  harddisk case and then connect it with OMAP-L138,I got the following direction:

 

scsi 1:0:0:0: Direct-Access     WDC WD50 00BEVT-22A0RT0   0009 PQ: 0 ANSI: 0

sd 1:0:0:0: [sda] Spinning up disk...Please wait: booting...

Starting udev

..

udev: starting version 141

.ready

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

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

sd 1:0:0:0: [sda] Assuming drive cache: write through

sd 1:0:0:0: [sda] Assuming drive cache: write through

sda: sda1 sda2 sda3 sda4

sd 1:0:0:0: [sda] Assuming drive cache: write through

sd 1:0:0:0: [sda] Attached SCSI disk

 

But when I login, then use the mount direct to mount the sda device to /mnt,it does not work.

 

 

Is this a problem of my linux kernel driver or the format of the harddisk, or the own limitation of OMAP-L138.

Looking forward to your advice.

 

regars

 

XingwangXu

  • Are you using the EVM or a custom board? If you are using an EVM, can you give the serial number on the SOM? If you are using a custom board, can you send schematics of the SATA interface?

    We have seen issues similar to this on older revisions of the EVM. The problem was fixed in the latest revision through layout and component changes to be compliant with the datasheet.

    Jeff

  • In the 500GB HDD case pl. ensure that the "sda1-4" are less than 30GB partitions.  FAT32 cannot handle partitions beyond ~30GB.  This might have been the issue in this case.

    W.r.t 1TB HDD have you applied all the needed patches (if any) and pl. ensure that the kernel that you are using is the latest one.  Can you attache ahci-ti.c file in "drivers/ata" directory?

    regards

    swami