[bug] timer: orion-timer: static variable patch breaks armada-388-clearfog boot

Tony Dinh mibodhi at gmail.com
Mon Jan 16 06:07:14 CET 2023


Hi Martin,

On Sat, Jan 14, 2023 at 9:31 PM Martin Rowe <martin.p.rowe at gmail.com> wrote:
>
> Hi,
>
> Commit 5387b093 was a fix for early_init_done causing issues on Pogo
> v4 [1]. The fix breaks armada-388-clearfog because the boot hangs
> indefinitely.
>
> It appears that the cause is an infinite loop in __udelay due to
> get_ticks() always returning 0. After adding some printf statements it
> became apparent that the timer was never getting initialised.
>
> git-blame identified the "timer: orion-timer: Fix problem with early
> static variable" patch as a likely issue. Reverting the commit
> restores boot for armada-388-clearfog.

Did you build this clearfog board as is? i.e. did you make any change
in the clearfog_defconfig?

Thanks,
Tony


Tony

>
> Patching the issue is a bit beyond me without understanding the Pogo
> v4 issue, but I'm happy to test any patches that are developed.
>
> Regards
>
> Martin
>
> [1] https://lore.kernel.org/u-boot/20221221091849.1018783-1-sr@denx.de/


More information about the U-Boot mailing list