All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
@ 2016-01-20 23:34 Markus Baier
  2016-01-22 14:07 ` Hans de Goede
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Baier @ 2016-01-20 23:34 UTC (permalink / raw)
  To: u-boot

Am 19.01.2016 um 18:12 schrieb Tom Rini:
 > On Sun, Jan 17, 2016 at 09:44:53PM +0100, Markus Baier wrote:
 >
 >> Hello,
 >>
 >> tonight I switched  to the new U-Boot v2016.01
 >> on my Banana Pro system.
 >> I compiled u-boot, like I did with all the working
 >> versions before, with:
 >> make Bananapro_defconfig
 >> make
 >>
 >> But with the new U-Boot installed the SATA Port
 >> did not work anymore.
 >> The Kernel is the same 4.0.9-gentoo as I used before
 >> with the last U-Boot Release v2015.10
 >>
 >> dmesg show me the following error in the kernel log:
 >> [    1.925032] ahci-sunxi 1c18000.sata: PHY power up failed.
 >> [    1.930661] ahci-sunxi: probe of 1c18000.sata failed with error -5
 >>
 >> I also see now SATA message at the U-Boot bootscreen,
 >> the v2015.10 shows me that a SATA Port was recognized
 >> by the U-Boot loader.
 >
 > Can you please use git bisect to determine which commit broke this?
 > Thanks!

Hi,

thanks for the advice, I have found the bad commit,
it is -> 02cc27c74f9b884b538bcd1b93342a4c05b5d608
sunxi: power: Change axp209 LDO3 and LDO4 default to disabled

after that I tried the v2016.01 release again, but changed
the two lines in config AXP_ALDO3_VOLT and config AXP_ALDO4_VOLT
back to their old values, now the SATA Port is working again.


Regards
Markus Baier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
  2016-01-20 23:34 [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01 Markus Baier
@ 2016-01-22 14:07 ` Hans de Goede
  2016-01-22 18:47   ` Peter Korsgaard
  2016-01-26 19:42   ` Hans de Goede
  0 siblings, 2 replies; 6+ messages in thread
From: Hans de Goede @ 2016-01-22 14:07 UTC (permalink / raw)
  To: u-boot

Hi,

On 21-01-16 00:34, Markus Baier wrote:
> Am 19.01.2016 um 18:12 schrieb Tom Rini:
>  > On Sun, Jan 17, 2016 at 09:44:53PM +0100, Markus Baier wrote:
>  >
>  >> Hello,
>  >>
>  >> tonight I switched  to the new U-Boot v2016.01
>  >> on my Banana Pro system.
>  >> I compiled u-boot, like I did with all the working
>  >> versions before, with:
>  >> make Bananapro_defconfig
>  >> make
>  >>
>  >> But with the new U-Boot installed the SATA Port
>  >> did not work anymore.
>  >> The Kernel is the same 4.0.9-gentoo as I used before
>  >> with the last U-Boot Release v2015.10
>  >>
>  >> dmesg show me the following error in the kernel log:
>  >> [    1.925032] ahci-sunxi 1c18000.sata: PHY power up failed.
>  >> [    1.930661] ahci-sunxi: probe of 1c18000.sata failed with error -5
>  >>
>  >> I also see now SATA message at the U-Boot bootscreen,
>  >> the v2015.10 shows me that a SATA Port was recognized
>  >> by the U-Boot loader.
>  >
>  > Can you please use git bisect to determine which commit broke this?
>  > Thanks!
>
> Hi,
>
> thanks for the advice, I have found the bad commit,
> it is -> 02cc27c74f9b884b538bcd1b93342a4c05b5d608
> sunxi: power: Change axp209 LDO3 and LDO4 default to disabled
>
> after that I tried the v2016.01 release again, but changed
> the two lines in config AXP_ALDO3_VOLT and config AXP_ALDO4_VOLT
> back to their old values, now the SATA Port is working again.

Thanks for debugging this, according to the Bananapro schematic
VDD25-SATA either comes from a dedicated WL2003E25-5 linear regulator,
or it is connected to LDO4 via a 0 Ohm resistor.

So it would seem that in practice it seems that LDO4 is used, can you
give the attached patch a try ?

Regards,

Hans


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sunxi-Bananapro-Set-LDO4-to-2.5V.patch
Type: text/x-patch
Size: 850 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160122/ff4a0761/attachment.bin>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
  2016-01-22 14:07 ` Hans de Goede
@ 2016-01-22 18:47   ` Peter Korsgaard
  2016-01-26 19:42   ` Hans de Goede
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2016-01-22 18:47 UTC (permalink / raw)
  To: u-boot

>>>>> "Hans" == Hans de Goede <hdegoede@redhat.com> writes:

Hi,

 > Thanks for debugging this, according to the Bananapro schematic
 > VDD25-SATA either comes from a dedicated WL2003E25-5 linear regulator,
 > or it is connected to LDO4 via a 0 Ohm resistor.

 > So it would seem that in practice it seems that LDO4 is used, can you
 > give the attached patch a try ?

 >> From b931b7bd6ec02ffa32f155d381c16210819a16ea Mon Sep 17 00:00:00 2001
 > From: Hans de Goede <hdegoede@redhat.com>
 > Date: Fri, 22 Jan 2016 14:55:47 +0100
 > Subject: [PATCH] sunxi: Bananapro: Set LDO4 to 2.5V

 > According to the Bananapro VDD25-SATA either comes from a dedicated

You forgot 'schematics'.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
  2016-01-22 14:07 ` Hans de Goede
  2016-01-22 18:47   ` Peter Korsgaard
@ 2016-01-26 19:42   ` Hans de Goede
  1 sibling, 0 replies; 6+ messages in thread
From: Hans de Goede @ 2016-01-26 19:42 UTC (permalink / raw)
  To: u-boot

Hi,

On 01/22/2016 03:07 PM, Hans de Goede wrote:
> Hi,
>
> On 21-01-16 00:34, Markus Baier wrote:
>> Am 19.01.2016 um 18:12 schrieb Tom Rini:
>>  > On Sun, Jan 17, 2016 at 09:44:53PM +0100, Markus Baier wrote:
>>  >
>>  >> Hello,
>>  >>
>>  >> tonight I switched  to the new U-Boot v2016.01
>>  >> on my Banana Pro system.
>>  >> I compiled u-boot, like I did with all the working
>>  >> versions before, with:
>>  >> make Bananapro_defconfig
>>  >> make
>>  >>
>>  >> But with the new U-Boot installed the SATA Port
>>  >> did not work anymore.
>>  >> The Kernel is the same 4.0.9-gentoo as I used before
>>  >> with the last U-Boot Release v2015.10
>>  >>
>>  >> dmesg show me the following error in the kernel log:
>>  >> [    1.925032] ahci-sunxi 1c18000.sata: PHY power up failed.
>>  >> [    1.930661] ahci-sunxi: probe of 1c18000.sata failed with error -5
>>  >>
>>  >> I also see now SATA message at the U-Boot bootscreen,
>>  >> the v2015.10 shows me that a SATA Port was recognized
>>  >> by the U-Boot loader.
>>  >
>>  > Can you please use git bisect to determine which commit broke this?
>>  > Thanks!
>>
>> Hi,
>>
>> thanks for the advice, I have found the bad commit,
>> it is -> 02cc27c74f9b884b538bcd1b93342a4c05b5d608
>> sunxi: power: Change axp209 LDO3 and LDO4 default to disabled
>>
>> after that I tried the v2016.01 release again, but changed
>> the two lines in config AXP_ALDO3_VOLT and config AXP_ALDO4_VOLT
>> back to their old values, now the SATA Port is working again.
>
> Thanks for debugging this, according to the Bananapro schematic
> VDD25-SATA either comes from a dedicated WL2003E25-5 linear regulator,
> or it is connected to LDO4 via a 0 Ohm resistor.
>
> So it would seem that in practice it seems that LDO4 is used, can you
> give the attached patch a try ?

I had access to a bananapro board myself today, and I can confirm that
the patch I wrote fixes this.

Regards,

Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
  2016-01-17 20:44 Markus Baier
@ 2016-01-19 17:12 ` Tom Rini
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2016-01-19 17:12 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 17, 2016 at 09:44:53PM +0100, Markus Baier wrote:

> Hello,
> 
> tonight I switched  to the new U-Boot v2016.01
> on my Banana Pro system.
> I compiled u-boot, like I did with all the working
> versions before, with:
> make Bananapro_defconfig
> make
> 
> But with the new U-Boot installed the SATA Port
> did not work anymore.
> The Kernel is the same 4.0.9-gentoo as I used before
> with the last U-Boot Release v2015.10
> 
> dmesg show me the following error in the kernel log:
> [    1.925032] ahci-sunxi 1c18000.sata: PHY power up failed.
> [    1.930661] ahci-sunxi: probe of 1c18000.sata failed with error -5
> 
> I also see now SATA message at the U-Boot bootscreen,
> the v2015.10 shows me that a SATA Port was recognized
> by the U-Boot loader.

Can you please use git bisect to determine which commit broke this?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160119/ffd84329/attachment.sig>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01
@ 2016-01-17 20:44 Markus Baier
  2016-01-19 17:12 ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Baier @ 2016-01-17 20:44 UTC (permalink / raw)
  To: u-boot

Hello,

tonight I switched  to the new U-Boot v2016.01
on my Banana Pro system.
I compiled u-boot, like I did with all the working
versions before, with:
make Bananapro_defconfig
make

But with the new U-Boot installed the SATA Port
did not work anymore.
The Kernel is the same 4.0.9-gentoo as I used before
with the last U-Boot Release v2015.10

dmesg show me the following error in the kernel log:
[    1.925032] ahci-sunxi 1c18000.sata: PHY power up failed.
[    1.930661] ahci-sunxi: probe of 1c18000.sata failed with error -5

I also see now SATA message at the U-Boot bootscreen,
the v2015.10 shows me that a SATA Port was recognized
by the U-Boot loader.

Regards
Markus Baier

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-26 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 23:34 [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01 Markus Baier
2016-01-22 14:07 ` Hans de Goede
2016-01-22 18:47   ` Peter Korsgaard
2016-01-26 19:42   ` Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2016-01-17 20:44 Markus Baier
2016-01-19 17:12 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.