All of lore.kernel.org
 help / color / mirror / Atom feed
* Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)
@ 2021-05-28  6:24 Morten Bruun
  2021-05-28 16:57 ` Fabio Estevam
  2021-05-28 17:20 ` Oleh Kravchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Morten Bruun @ 2021-05-28  6:24 UTC (permalink / raw)
  To: u-boot

Hi,

I'm working on a project where we recently upgraded to Yocto/hardknott.

After the upgrade to U-Boot 2021.01 the boot stops at

switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...

and then nothing more happens. Sometimes resetting power will cause the
RPi4 to boot - but not always.

I then downgraded to U-Boot 2020.07 and the RPi4 boots every time.

I will be looking at the commits between 2020.07 and 2021.01 - but I'm not
really sure what to look for - any ideas?

Best regards
Morten

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

* Re: Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)
  2021-05-28  6:24 Boot stops on RPi4 yocto/hardknott (u-boot 2021.01) Morten Bruun
@ 2021-05-28 16:57 ` Fabio Estevam
  2021-05-28 17:20 ` Oleh Kravchenko
  1 sibling, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2021-05-28 16:57 UTC (permalink / raw)
  To: Morten Bruun; +Cc: U-Boot-Denx

Hi Morten,

On Fri, May 28, 2021 at 1:14 PM Morten Bruun <morten.bruun@apide.com> wrote:

> I will be looking at the commits between 2020.07 and 2021.01 - but I'm not
> really sure what to look for - any ideas?

You could try running 'git bisect' between these two versions to find
the guilty commit.

Regards,

Fabio Estevam

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

* Re: Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)
  2021-05-28  6:24 Boot stops on RPi4 yocto/hardknott (u-boot 2021.01) Morten Bruun
  2021-05-28 16:57 ` Fabio Estevam
@ 2021-05-28 17:20 ` Oleh Kravchenko
  2021-06-09  7:50   ` Morten Bruun
  1 sibling, 1 reply; 5+ messages in thread
From: Oleh Kravchenko @ 2021-05-28 17:20 UTC (permalink / raw)
  To: Morten Bruun; +Cc: u-boot

Hello Morten,
Start from bisecting a bad commit.

Then it will be easy to say what is wrong.

--
Best regards,
Oleh Kravchenko

> 28 трав. 2021 р. о 19:14 Morten Bruun <morten.bruun@apide.com> пише:
> 
> Hi,
> 
> I'm working on a project where we recently upgraded to Yocto/hardknott.
> 
> After the upgrade to U-Boot 2021.01 the boot stops at
> 
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> 
> and then nothing more happens. Sometimes resetting power will cause the
> RPi4 to boot - but not always.
> 
> I then downgraded to U-Boot 2020.07 and the RPi4 boots every time.
> 
> I will be looking at the commits between 2020.07 and 2021.01 - but I'm not
> really sure what to look for - any ideas?
> 
> Best regards
> Morten


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

* Re: Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)
  2021-05-28 17:20 ` Oleh Kravchenko
@ 2021-06-09  7:50   ` Morten Bruun
  2021-06-09  7:59     ` Peter Robinson
  0 siblings, 1 reply; 5+ messages in thread
From: Morten Bruun @ 2021-06-09  7:50 UTC (permalink / raw)
  To: Oleh Kravchenko; +Cc: u-boot

On Fri, May 28, 2021 at 7:21 PM Oleh Kravchenko <oleg@kaa.org.ua> wrote:

> Hello Morten,
> Start from bisecting a bad commit.
>
> Then it will be easy to say what is wrong.
>
>
I did a git bisect. But the error is not a 100% reproducable so I must have
taken a wrong turn somewhere during the bisect.

I think the solution is to just skip the 2021.01 release.

Thanks for your help.

Morten

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

* Re: Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)
  2021-06-09  7:50   ` Morten Bruun
@ 2021-06-09  7:59     ` Peter Robinson
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Robinson @ 2021-06-09  7:59 UTC (permalink / raw)
  To: Morten Bruun; +Cc: Oleh Kravchenko, u-boot

On Wed, Jun 9, 2021 at 8:51 AM Morten Bruun <morten.bruun@apide.com> wrote:
>
> On Fri, May 28, 2021 at 7:21 PM Oleh Kravchenko <oleg@kaa.org.ua> wrote:
>
> > Hello Morten,
> > Start from bisecting a bad commit.
> >
> > Then it will be easy to say what is wrong.
> >
> >
> I did a git bisect. But the error is not a 100% reproducable so I must have
> taken a wrong turn somewhere during the bisect.
>
> I think the solution is to just skip the 2021.01 release.

Assuming it works with the later ones too. The other thing to check is
what version of the RPi firmware you're using.

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

end of thread, other threads:[~2021-06-09  8:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  6:24 Boot stops on RPi4 yocto/hardknott (u-boot 2021.01) Morten Bruun
2021-05-28 16:57 ` Fabio Estevam
2021-05-28 17:20 ` Oleh Kravchenko
2021-06-09  7:50   ` Morten Bruun
2021-06-09  7:59     ` Peter Robinson

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.