U-boot 2023.01 not booting anymore MCR3000 board - Bisected 50128aeb0f8 ("cyclic: get rid of cyclic_init()")

Christophe Leroy christophe.leroy at csgroup.eu
Mon Jan 30 09:46:23 CET 2023

Le 28/01/2023 à 11:08, Christophe Leroy a écrit :
> Hi,
> I'm trying to boot MCR3000 board with U-boot 2023.01 and it crashes in 
> the weed in fdtdec_setup().
> I bisected the issue to commit 50128aeb0f8 ("cyclic: get rid of 
> cyclic_init()")
> At the time being I don't understand what happens.
> The problem is here below, idx is in the weed, I don't know why, any idea ?

I finaly identified the issue. It is a long lasting bug that was 
introduced when powerpc was migrated to generic board. The powerpc 
version of board_init_f() was not using boot_flags and the asm callers 
didn't take care of it.

But generic version of board_init_f() uses it, and it is random.

Everything goes well when boot_flags are set to 0.

I will send a patch shortly to fix it.


More information about the U-Boot mailing list