diff mbox series

[meta-beagle,PATCHv2] u-boot-bb.org: Add a tick-timer for PocketBeagle

Message ID 20260317083729.1640948-1-leon.anavi@konsulko.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-beagle,PATCHv2] u-boot-bb.org: Add a tick-timer for PocketBeagle | expand

Commit Message

Leon Anavi March 17, 2026, 8:37 a.m. UTC
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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...s-am335x-pocketbeagle-Add-tick-timer.patch | 29 +++++++++++++++++++
 1 file changed, 29 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

Comments

PRC Automation March 17, 2026, 8:40 a.m. UTC | #1
meta-ti / na / 20260317083729.1640948-1-leon.anavi

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-beagle][PATCHv2] u-boot-bb.org: Add a tick-timer for PocketBeagle
    WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
        patch:55
            Subject: [meta-beagle][PATCHv2] u-boot-bb.org: Add a tick-timer for PocketBeagle
    
    WARN: Commit message does not include file/recipe name: u-boot-bb.org: Add a tick-timer for PocketBeagle. (COMMIT-MESSAGE-2)
        patch
    
    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][PATCHv2] u-boot-bb.org: Add a tick-timer for PocketBeagle
- Submitter: From: Leon Anavi <leon.anavi@konsulko.com>
+From: Leon Anavi <leon.anavi@konsulko.com>
- Date: Date: Tue, 17 Mar 2026 10:37:29 +0200
+Date: Mon, 16 Mar 2026 18:34:58 +0000
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: fb58dade2bb8bfeb0b70202050bf34254ee64c8a

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: conf: Add falcon support natively
- Commit SHA: 00d3d9ec970580d296870c0886bd6836c3caca0d

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



=========================================================
  check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
Ryan Eatmon March 17, 2026, 1:13 p.m. UTC | #2
You need to add the patch to the correct recipe...

u-boot-bb.org-2025.10.bb
------------------------

SRC_URI += "file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch"

Just adding the patch to the directory is not enough.



On 3/17/2026 3:37 AM, Leon Anavi via lists.yoctoproject.org wrote:
> 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
> 
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>   ...s-am335x-pocketbeagle-Add-tick-timer.patch | 29 +++++++++++++++++++
>   1 file changed, 29 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
> 
> diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
> new file mode 100644
> index 00000000..424a4bb3
> --- /dev/null
> +++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
> @@ -0,0 +1,29 @@
> +From 55ee5fecd68d0858ba6743137162252adedf2f72 Mon Sep 17 00:00:00 2001
> +From: Leon Anavi <leon.anavi@konsulko.com>
> +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 <leon.anavi@konsulko.com>
> +---
> + 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
> +
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#19732): https://lists.yoctoproject.org/g/meta-ti/message/19732
> Mute This Topic: https://lists.yoctoproject.org/mt/118361098/6551054
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Leon Anavi March 17, 2026, 1:39 p.m. UTC | #3
Hi Ryan,

On 3/17/26 15:13, Ryan Eatmon wrote:
>
> You need to add the patch to the correct recipe...
>
> u-boot-bb.org-2025.10.bb
> ------------------------
>
> SRC_URI += "file://0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch"
>
> Just adding the patch to the directory is not enough.

Thank you for the quick feedback. Sorry that initially I forgot to git 
add the u-boot-bb.org_2025.10.bb. I've just sent v3 of the patch. Btw 
this change with the tick-timer affects only PocketBeagle so it is with 
SRC_URI:append:beaglebone.

Best regards, Leon

>
>
>
> On 3/17/2026 3:37 AM, Leon Anavi via lists.yoctoproject.org wrote:
>> 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
>>
>> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>> ---
>>   ...s-am335x-pocketbeagle-Add-tick-timer.patch | 29 +++++++++++++++++++
>>   1 file changed, 29 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
>>
>> diff --git 
>> a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch 
>> b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch 
>>
>> new file mode 100644
>> index 00000000..424a4bb3
>> --- /dev/null
>> +++ 
>> b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
>> @@ -0,0 +1,29 @@
>> +From 55ee5fecd68d0858ba6743137162252adedf2f72 Mon Sep 17 00:00:00 2001
>> +From: Leon Anavi <leon.anavi@konsulko.com>
>> +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 <leon.anavi@konsulko.com>
>> +---
>> + 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
>> +
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#19732): 
>> https://lists.yoctoproject.org/g/meta-ti/message/19732
>> Mute This Topic: https://lists.yoctoproject.org/mt/118361098/6551054
>> Group Owner: meta-ti+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
>> [reatmon@ti.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
diff mbox series

Patch

diff --git a/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
new file mode 100644
index 00000000..424a4bb3
--- /dev/null
+++ b/meta-beagle/recipes-bsp/u-boot/u-boot-bb.org-2025.10+git/0001-arm-dts-am335x-pocketbeagle-Add-tick-timer.patch
@@ -0,0 +1,29 @@ 
+From 55ee5fecd68d0858ba6743137162252adedf2f72 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <leon.anavi@konsulko.com>
+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 <leon.anavi@konsulko.com>
+---
+ 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
+