Skip to contentSkip to conversation

u-boot-bb.org: Add a tick-timer for PocketBeagle

PATCH In review Leon Anavi 3 participants 5 messages Mar 17

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH v3 1/1 u-boot-bb.org: Add a tick-timer for PocketBeagle

Add a chosen tick-timer in version 2025.10 to boot on PocketBeagle.

Fixes:

CPU  : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM:  512 MiB
Core:  155 devices, 16 uclasses, devicetree: separate

Could not initialize timer (err -19)

The patch is based on the following related discussions:

- arm: dts: am335x-*-u-boot: Add chosen tick-timer
https://lists.denx.de/pipermail/u-boot/2026-January/608684.html

- pocketbeagle stuck in boot loop with timer error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269124

---
 ...s-am335x-pocketbeagle-Add-tick-timer.patch | 29 +++++++++++++++++++
 .../u-boot/u-boot-bb.org_2025.10.bb           |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch new file +29 -0
new file mode 100644
index 00000000..424a4bb3
@@ -0,0 +1,29 @@
+From 55ee5fecd68d0858ba6743137162252adedf2f72 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Mon, 16 Mar 2026 18:34:58 +0000
+Subject: [PATCH] arm: dts: am335x-pocketbeagle: Add tick-timer
+
+Add a binding for the tick-timer for PocketBeagle.
+
+Upstream-Status: Pending [https://lists.denx.de/pipermail/u-boot/2026-January/608684.html]
+
+Signed-off-by: Leon Anavi <[email protected]>
+---
+ arch/arm/dts/am335x-pocketbeagle.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/dts/am335x-pocketbeagle.dts b/arch/arm/dts/am335x-pocketbeagle.dts
+index b379e3a5570..02e3aac5606 100644
+--- a/arch/arm/dts/am335x-pocketbeagle.dts
++++ b/arch/arm/dts/am335x-pocketbeagle.dts
+@@ -15,6 +15,7 @@
+ 
+ 	chosen {
+ 		stdout-path = &uart0;
++		tick-timer = &timer2;
+ 	};
+ 
+ 	leds {
+-- 
+2.53.0
+
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +1 -0
index 5a8abec0..1c4f0691 100644
@@ -17,3 +17,4 @@ SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
 SRCREV:pocketbeagle2-k3r5 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
 
 SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"
+SRC_URI:append:beaglebone = " file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch"
Signature · 1 line
2.47.3
#1 lore raw

meta-ti / na / 20260317133743.419092-1-leon.anavi

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-beagle][PATCHv3] u-boot-bb.org: Add a tick-timer for PocketBeagle
WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
patch:55
Subject: [meta-beagle][PATCHv3] u-boot-bb.org: Add a tick-timer for PocketBeagle

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-beagle][PATCHv3] u-boot-bb.org: Add a tick-timer for PocketBeagle
- Submitter: From: Leon Anavi <[email protected]>
+From: Leon Anavi <[email protected]>
- Date: Date: Tue, 17 Mar 2026 15:37:43 +0200
+Date: Mon, 16 Mar 2026 18:34:58 +0000
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 71e8f789538d90002d139646f6f52e448579c834

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: conf: Add falcon support natively
- Commit SHA: 4671eeab3c8146761f3d36ed79797136c0f3ca68

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed

#2 lore raw
In reply to Leon Anavi
Quoted 65 lines · Leon Anavi via lists.yoctoproject.org

Add a chosen tick-timer in version 2025.10 to boot on PocketBeagle.

Fixes:

CPU  : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM:  512 MiB
Core:  155 devices, 16 uclasses, devicetree: separate

Could not initialize timer (err -19)

The patch is based on the following related discussions:

- arm: dts: am335x-*-u-boot: Add chosen tick-timer
https://lists.denx.de/pipermail/u-boot/2026-January/608684.html

- pocketbeagle stuck in boot loop with timer error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269124

---
  ...s-am335x-pocketbeagle-Add-tick-timer.patch | 29 +++++++++++++++++++
  .../u-boot/u-boot-bb.org_2025.10.bb           |  1 +
  2 files changed, 30 insertions(+)

create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch

meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch new file +29 -0
new file mode 100644
index 00000000..424a4bb3
@@ -0,0 +1,29 @@
+From 55ee5fecd68d0858ba6743137162252adedf2f72 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Mon, 16 Mar 2026 18:34:58 +0000
+Subject: [PATCH] arm: dts: am335x-pocketbeagle: Add tick-timer
+
+Add a binding for the tick-timer for PocketBeagle.
+
+Upstream-Status: Pending [https://lists.denx.de/pipermail/u-boot/2026-January/608684.html]
+
+Signed-off-by: Leon Anavi <[email protected]>
+---
+ arch/arm/dts/am335x-pocketbeagle.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/dts/am335x-pocketbeagle.dts b/arch/arm/dts/am335x-pocketbeagle.dts
+index b379e3a5570..02e3aac5606 100644
+--- a/arch/arm/dts/am335x-pocketbeagle.dts
++++ b/arch/arm/dts/am335x-pocketbeagle.dts
+@@ -15,6 +15,7 @@
+
+ 	chosen {
+ 		stdout-path = &uart0;
++		tick-timer = &timer2;
+ 	};
+
+ 	leds {
+--
+2.53.0
+
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +0 -0
index 5a8abec0..1c4f0691 100644

meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f" · line 20

Quoted 4 lines
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb +1 -0
@@ -17,3 +17,4 @@ SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
  SRCREV:pocketbeagle2-k3r5 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
 
  SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"
+SRC_URI:append:beaglebone = " file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch"

Is this for beaglebone or pocketbeagle?

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19736): https://lists.yoctoproject.org/g/meta-ti/message/19736
Mute This Topic: https://lists.yoctoproject.org/mt/118364069/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
author
#3 lore raw

Hi Ryan,

Quoted 1 line · Ryan Eatmon

Is this for beaglebone or pocketbeagle?

This U-Boot patch is required to successfully boot PocketBeagle (version 1). There is no separate machine in meta-ti/meta-beagle for it so as far as I know we should use beaglebone because the configurations contain appropriate Linux kernel device tree variant for PocketBeagle (version 1):
https://git.yoctoproject.org/meta-ti/tree/meta-beagle/conf/machine/beaglebone.conf#n53

Best regards, Leon

#4 lore raw
Quoted 7 lines · Leon Anavi

Hi Ryan,

Quoted 1 line · Ryan Eatmon

Is this for beaglebone or pocketbeagle?

This U-Boot patch is required to successfully boot PocketBeagle (version 1). There is no separate machine in meta-ti/meta-beagle for it so as far as I know we should use beaglebone because the configurations contain appropriate Linux kernel device tree variant for PocketBeagle (version 1):
https://git.yoctoproject.org/meta-ti/tree/meta-beagle/conf/machine/beaglebone.conf#n53

Gotcha.

Quoted 2 lines

Best regards, Leon

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS