Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-08-14 Thread Vagrant Cascadian
On 2018-08-14, Vagrant Cascadian wrote:
>> Also just tried with v2018.09-rc2, same problem.

With some debugging in mmc enabled (#define DEBUG at the top of dw_mmc.c
mmc-uclass.c mmc.c rockchip_dw_mmc.c) and CONFIG_MMC_TRACE=y, it gives a
little more information:

U-Boot SPL 2018.09-rc2+dfsg-1~20180814~6 (Aug 14 2018 - 21:58:09 +)
Returning to boot ROM...
mmc_bind: alias ret=0, devnum=1


U-Boot 2018.09-rc2+dfsg-1~20180814~6 (Aug 14 2018 - 21:58:09 +)

Model: Firefly-RK3288
DRAM:  2 GiB
mmc_bind: alias ret=0, devnum=1
mmc_bind: alias ret=0, devnum=0
MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
Loading Environment from MMC... clock is disabled (0Hz)

Buswidth = 0, clock: 0


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-08-14 Thread Vagrant Cascadian
On 2018-08-14, Vagrant Cascadian wrote:
> On 2018-06-05, Vagrant Cascadian wrote:
>> On 2018-05-21, Vagrant Cascadian wrote:
>>> On 2018-05-12, Vagrant Cascadian wrote:
 On 2018-05-12, Vagrant Cascadian wrote:
> Booting firefly-rk3288 seems to hang looking for environment:
>
>   U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
>   
>   Model: Firefly-RK3288
>   DRAM:  2 GiB
>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>   Loading Environment from MMC...
>
> And just hangs there.
>>
>> Still happening with v2018.07-rc1, too.
>
> Also just tried with v2018.09-rc2, same problem.

Adding Philipp Tomsich to CC.

The not very detailed log of the Debian bug report is at:

  https://bugs.debian.org/898520

v2018.01 works, v2018.03 doesn't, the closest I got to bisecting the
issue:

>>> I tried to bisect this, and got:
>>>
>>> commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355
>>> Author: Jean-Jacques Hiblot 
>>> Date:   Thu Sep 21 16:30:08 2017 +0200
>>>
>>> mmc: disable UHS modes if Vcc cannot be switched on and off
>>>
>>>
>>> But it fails in a slightly different way:
>>>
>>>   U-Boot 2018.01-00026-g04a2ea248f (May 21 2018 - 21:46:18 +)
>>>
>>>   Model: Firefly-RK3288
>>>   DRAM:  2 GiB
>>>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>>>
>>> And just hangs without the "Loading Environment from MMC..."
>>> part...
>>>
>>>
>>> It is not a trivial revert on top of 2018.05, so I haven't been able to
>>> do that simple test.

Any further suggestions would be appreciated.

Thanks!


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-08-14 Thread Vagrant Cascadian
On 2018-06-05, Vagrant Cascadian wrote:
> On 2018-05-21, Vagrant Cascadian wrote:
>> On 2018-05-12, Vagrant Cascadian wrote:
>>> On 2018-05-12, Vagrant Cascadian wrote:
 Booting firefly-rk3288 seems to hang looking for environment:

   U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
   
   Model: Firefly-RK3288
   DRAM:  2 GiB
   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
   Loading Environment from MMC...

 And just hangs there.
>
> Still happening with v2018.07-rc1, too.

Also just tried with v2018.09-rc2, same problem.

live well,
  vagrant

>> I tried to bisect this, and got:
>>
>> commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355
>> Author: Jean-Jacques Hiblot 
>> Date:   Thu Sep 21 16:30:08 2017 +0200
>>
>> mmc: disable UHS modes if Vcc cannot be switched on and off
>>
>>
>> But it fails in a slightly different way:
>>
>>   U-Boot 2018.01-00026-g04a2ea248f (May 21 2018 - 21:46:18 +)
>>
>>   Model: Firefly-RK3288
>>   DRAM:  2 GiB
>>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>>
>> And just hangs without the "Loading Environment from MMC..."
>> part...
>>
>>
>> It is not a trivial revert on top of 2018.05, so I haven't been able to
>> do that simple test.


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-06-05 Thread Vagrant Cascadian
On 2018-05-21, Vagrant Cascadian wrote:
> On 2018-05-12, Vagrant Cascadian wrote:
>> On 2018-05-12, Vagrant Cascadian wrote:
>>> Booting firefly-rk3288 seems to hang looking for environment:
>>>
>>>   U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
>>>   
>>>   Model: Firefly-RK3288
>>>   DRAM:  2 GiB
>>>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>>>   Loading Environment from MMC...
>>>
>>> And just hangs there.

Still happening with v2018.07-rc1, too.


live well,
  vagrant

> I tried to bisect this, and got:
>
> commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355
> Author: Jean-Jacques Hiblot 
> Date:   Thu Sep 21 16:30:08 2017 +0200
>
> mmc: disable UHS modes if Vcc cannot be switched on and off
>
>
> But it fails in a slightly different way:
>
>   U-Boot 2018.01-00026-g04a2ea248f (May 21 2018 - 21:46:18 +)
>
>   Model: Firefly-RK3288
>   DRAM:  2 GiB
>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>
> And just hangs without the "Loading Environment from MMC..."
> part...
>
>
> It is not a trivial revert on top of 2018.05, so I haven't been able to
> do that simple test.


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-05-21 Thread Vagrant Cascadian
On 2018-05-12, Vagrant Cascadian wrote:
> On 2018-05-12, Vagrant Cascadian wrote:
>> Booting firefly-rk3288 seems to hang looking for environment:
>>
>>   U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
>>   
>>   Model: Firefly-RK3288
>>   DRAM:  2 GiB
>>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>>   Loading Environment from MMC...
>>
>> And just hangs there.

I tried to bisect this, and got:

commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355
Author: Jean-Jacques Hiblot 
Date:   Thu Sep 21 16:30:08 2017 +0200

mmc: disable UHS modes if Vcc cannot be switched on and off


But it fails in a slightly different way:

  U-Boot 2018.01-00026-g04a2ea248f (May 21 2018 - 21:46:18 +)

  Model: Firefly-RK3288
  DRAM:  2 GiB
  MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0

And just hangs without the "Loading Environment from MMC..."
part...


It is not a trivial revert on top of 2018.05, so I haven't been able to
do that simple test.


CONFIG_ENV_IS_IN_MMC has been enabled since at least:

  5dc4dfd2a94 (Tom Rini2017-08-28 07:16:32 -0400 36) 
CONFIG_ENV_IS_IN_MMC=y



live well,
  vagrant


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-05-12 Thread Vagrant Cascadian
Control: found 898520 2018.03+dfsg1-2

On 2018-05-12, Vagrant Cascadian wrote:
> Booting firefly-rk3288 seems to hang looking for environment:
>
>   U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
>   
>   Model: Firefly-RK3288
>   DRAM:  2 GiB
>   MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
>   Loading Environment from MMC...
>
> And just hangs there.

Same issue with 2018.03+dfsg1-2.


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#898520: u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-05-12 Thread Vagrant Cascadian
Package: u-boot-rockchip
Severity: serious
Version: 2018.05+dfsg-1

Booting firefly-rk3288 seems to hang looking for environment:

  U-Boot 2018.05+dfsg-1 (May 10 2018 - 20:24:57 +)
  
  Model: Firefly-RK3288
  DRAM:  2 GiB
  MMC:   dwmmc@ff0c: 1, dwmmc@ff0f: 0
  Loading Environment from MMC...

And just hangs there.

Since this can render a system unbootable, marking as serious.


live well,
  vagrant


signature.asc
Description: PGP signature