LS1021A SATA - Not seeing attached SATA devices

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021A SATA - Not seeing attached SATA devices

1,207 Views
patrickmorrow
Contributor III

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?

0 Kudos
3 Replies

1,006 Views
hwei
Contributor III

Hi Patrick,

I'll try it in SDK1.8, thanks

0 Kudos

1,006 Views
hwei
Contributor III

Hi Patrick,

I get a similar problem. Have you solved it?

Thanks

0 Kudos

1,006 Views
patrickmorrow
Contributor III

Hello H Wei,

I can't remember if we were ever able to resolve this in 1.7 but it isn't an issue in SDK 1.8.

0 Kudos