SATA on Wi-i.MX53 JSK?

I’m trying to connect a SATA SSD to the development board for the ConnectCore Wi-i.MX53 (using Digi Embedded Linux). I have the drive powered and plugged in to the SATA port on the dev board (P2) and when I power up, in U-Boot I can see:

CCWMX53 # sata init
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
SATA Device Info:
S/N: CVCV224105LR120BGN
Product model number: INTEL SSDSC2CW120A3
Firmware version: 400i
Capacity: 234441648 sectors

… so I feel like the drive is powered correctly and the SATA interface works. But then as the kernel boots, when it gets to the point of checking the drive I get this:

ata1: SATA max UDMA/133 mmio [mem 0x10000000-0x10000fff] port 0x100 irq 28
[…]
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

After boot, I tried re-scanning that bus, with the same results:
~ # echo “0 0 0” > /sys/class/scsi_host/host0/scan
ata1: hard resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: softreset failed (device not ready)
ata1: hard resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: softreset failed (device not ready)
ata1: hard resetting link
ata1: link is slow to respond, please be patient (ready=0)
^C
ata1: softreset failed (device not ready)
ata1: limiting SATA link speed to 1.5 Gbps
ata1: hard resetting link
ata1: softreset failed (device not ready)
ata1: reset failed, giving up
ata1: EH complete

Since things look OK in U-boot, I assume the problem is on the kernel side. Google shows lots of instances of this behavior around 2009, but not so much recently and so far I haven’t found anything helpful. Anyone else have experience getting this to work?

Thanks!

I believe you have enabled SATA support in kernel also.
Right?
Help Docs >Digi ESP for Embedded Linux > 9. Devices and Interfaces > 9.5. ATA Disk

Which DEL & uboot version are you using?
You should be having DEL 5.9.5.x . Download it from here
http://ftp1.digi.com/support/documentation/CC_i.MX53_Updates.htm
update it using Package Manager

Hi,
How you resolved it?
I have the same problem with a HDD sata disk for testing.

I have the drive powered and plugged in to the SATA port on the dev board (P2) and when I power up, in U-Boot I can see:


CCMX53 # sata init
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
SATA Device Info:
S/N: 6QF3S2Q1
Product model number: ST3320620AS
Firmware version: 3.AAK
Capacity: 625142448 sectors

… so I feel like the drive is powered correctly and the SATA interface works. But then as the kernel boots, when it gets to the point of checking the drive I get this:


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
JFFS2 doesn’t use OOB.
VFS: Mounted root (jffs2 filesystem) on device 31:4.

I have enabled “Platform AHCI SATA support” in the kernel.
My Digi EL version is 5.9.8.2.

Thanks!