On 2016-04-06, Roger Quadros wrote: > On 04/04/16 10:08, Roger Quadros wrote: >> On 04/04/16 06:02, Vagrant Cascadian wrote: >>> The attached kernel config with linux 4.6-rc2 doesn't work with >>> OMAP_OCP2SCP, OMAP_CONTROL_PHY and TI_PIPE3 as modules, but works as >>> builtins. >> >> OK. This is the magic configuration that is needed for SATA to work. >> When earlier I said that TI_PIPE3 must be built in, that would imply that >> OMCP_OCP2SCP and OMAP_CONTROL_PHY will be built in due to module dependency. >> >>> >>> I did at one point get the impression that the eSATA port provides power >>> off of the USB rail... perhaps there is an ordering issue with bringup >>> of USB vs. eSATA when loaded as a module? ... > Correcting my earlier statement. We do support eSATA drives that can run > @5V/1A power. > > I've send the below patch to linux-omap and that reduces USB dependency > on EXTCON and might fix your issue as well. Thanks! Unfortunately, no such luck when built as modules with the debian config with mainline linux 541d8f4d59d79f5d37c8c726f723d42ff307db57: [ 5.195698] ahci 4a140000.sata: couldn't get PHY in node sata: -517 [ 5.207222] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled [ 5.207244] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 5.207251] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst [ 5.229994] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 321 [ 15.231005] ata1: softreset failed (1st FIS failed) [ 25.234595] ata1: softreset failed (1st FIS failed) [ 60.238725] ata1: softreset failed (1st FIS failed) [ 60.243852] ata1: limiting SATA link speed to 1.5 Gbps [ 65.414439] ata1: softreset failed (device not ready) [ 65.419747] ata1: reset failed, giving up Will test if it still works as a built-in later, and linux-next for good measure. live well, vagrant
Attachment:
signature.asc
Description: PGP signature