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!