It turns out that it really isn't mvHddPowerCtrl that turns on the HDD... Even converting it to a dummy would still spin up the HDD.
bodhi Wrote:
-------------------------------------------------------
> ebbes,
>
> We might have to reset the SATA PHY. My theory is
> that is was set (in error) to a Shutdown state,
> thus need to be brought up to Operational by
> U-Boot.
Might be... but I don't really think so since the HDD spins up before any SATA initialization routines are called when using original U-Boot.
I just had a look at the PCB. It seems like SATA power pin 11 is shorted to GND (via 0-Ohm-resistor) which disables staggered spin-up, so this is not the problem. However, one of the three +5V power pins seems to have a resistance of about 50 Ohm against the other two 5-Volt pins. Maybe this indicates that 5-Volt power has to be somehow enabled? When powering my HDD using a simple self-made adapter (GND to USB GND, +5V to USB +5V), the HDD spins up immediately on connection. The Pogoplug Power connector only seems to connect GND and +5V, no 3.3V or 12V. Since all GND pins are shorted to GND (thus staggered spin-up should be disabled), the only remaining option is lack of +5V power for the HDD to spin up. So I assume there really is something missing to enable +5V, it shouldn't be about any SATA PHY status.
Maybe I should try shorting all 3 +5V pins...
EDIT: okay, my assumption was only partially correct: when using original U-Boot, the +5V pins have +5V potential against GND, as it should be. When using patched mainline U-Boot, those pins have less than +1V potential against GND. So I guess our problem is in fact that SATA power has to be enabled somehow. At least I know what I have to search in the code now.
EDIT²: Fact: SATA power is linked with USB power.
bodhi Wrote:
-------------------------------------------------------
> ebbes,
>
> We might have to reset the SATA PHY. My theory is
> that is was set (in error) to a Shutdown state,
> thus need to be brought up to Operational by
> U-Boot.
Might be... but I don't really think so since the HDD spins up before any SATA initialization routines are called when using original U-Boot.
I just had a look at the PCB. It seems like SATA power pin 11 is shorted to GND (via 0-Ohm-resistor) which disables staggered spin-up, so this is not the problem. However, one of the three +5V power pins seems to have a resistance of about 50 Ohm against the other two 5-Volt pins. Maybe this indicates that 5-Volt power has to be somehow enabled? When powering my HDD using a simple self-made adapter (GND to USB GND, +5V to USB +5V), the HDD spins up immediately on connection. The Pogoplug Power connector only seems to connect GND and +5V, no 3.3V or 12V. Since all GND pins are shorted to GND (thus staggered spin-up should be disabled), the only remaining option is lack of +5V power for the HDD to spin up. So I assume there really is something missing to enable +5V, it shouldn't be about any SATA PHY status.
Maybe I should try shorting all 3 +5V pins...
EDIT: okay, my assumption was only partially correct: when using original U-Boot, the +5V pins have +5V potential against GND, as it should be. When using patched mainline U-Boot, those pins have less than +1V potential against GND. So I guess our problem is in fact that SATA power has to be enabled somehow. At least I know what I have to search in the code now.
EDIT²: Fact: SATA power is linked with USB power.