Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)

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

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

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

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

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.
participants (4)
-
Fabio Estevam
-
Morten Bruun
-
Oleh Kravchenko
-
Peter Robinson