AnsweredAssumed Answered

LS1021A SATA - Not seeing attached SATA devices

Question asked by Patrick Morrow on May 5, 2015
Latest reply on Jul 13, 2015 by hwei

We are working with the LS1021A on a custom PCB.

We cannot see attached SATA devices on our system, either through the on-chip SATA host controller or a PCI Express attached Marvell (88SE9220) host controller. 

We are sure that the SATA devices with which we are testing work in other systems.

 

We have tried both the minimal Linux build and the X11 build.  We are building from QorIQ SDK v1.7 with service pack v1.5.

 

 

We currently have the following Yocto kernel flags set: 

  config_atags

  config_mtd_dataflash

  config_ata

  config_ata_verbose_error

  config_sata_pmp

  config_sata_ahci

  config_sata_ahci_platform

  config_sata_sil24

  config_ata_sff

  config_ata_bmdma

 

 

We have included the following modules in our kernel: 

  sata_sil24

  sata_mv

  ahci

  libahci

  libata

 

 

The Marvell chip shows up when we run lspci from the terminal.  In the verbose lspci info under the Marvell entry it says "Kernel Driver in use: ahci".

We can see (using a SATA bus analyzer) that Marvell host controller will link with a SATA device but the on-chip SATA host controller will not link to a SATA device.

 

 

When booting into Linux with the Marvell host controller attached, we do see several errors (even with no SATA device attached):

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

"ata6: COMRESET failed (errno=-16)"

 

 

Any ideas?

Outcomes