Bug 269124

Summary: sysutils/u-boot-beaglebone: pocketbeagle stuck in boot loop with timer error
Product: Ports & Packages Reporter: Max <maxsteciuk>
Component: Individual Port(s)Assignee: freebsd-uboot (Nobody) <uboot>
Status: New ---    
Severity: Affects Only Me CC: manu
Priority: --- Flags: bugzilla: maintainer-feedback? (uboot)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
Patch for missing tick-timer none

Description Max 2023-01-23 22:42:45 UTC
Created attachment 239671 [details]
Patch for missing tick-timer

Hello,
When booting pocketbeagle I was getting "Could not initialize timer" error in a loop.
It turned out that the device tree for pocketbeagle loaded by U-Boot lacked chosen/tick-timer definition. After adding the missing property and rebuilding u-boot-beaglebone the board booted successfully.

Please see the proposed patch attached in the file.

Thanks
Max
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2023-01-24 08:51:39 UTC
This isn't the correct way.
We shouldn't use u-boot embedded dtb but the ones present on the fat partition.
So u-boot should load from the fat partition dtb/am335x-pocketbeagle.dtb