Bug 269124 - sysutils/u-boot-beaglebone: pocketbeagle stuck in boot loop with timer error
Summary: sysutils/u-boot-beaglebone: pocketbeagle stuck in boot loop with timer error
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-uboot (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-23 22:42 UTC by Max
Modified: 2023-01-24 08:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (uboot)


Attachments
Patch for missing tick-timer (238 bytes, patch)
2023-01-23 22:42 UTC, Max
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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