Skip to contentSkip to conversation

Add BeagleBadge support

PATCH Superseded Judith Mendez 3 participants 6 messages Dec 16, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add BeagleBadge support

This small patch series add support for BeagleBadge which is a AM62L based device.

Changes since v1;
- Drop beaglebadge.inc file
- Update commit shaw for AM62L to latest ti-master

Judith Mendez (2):
meta-ti-bsp: Add support for BeagleBadge
trusted-firmware-a: am62l: Update to latest ti-master

 meta-ti-bsp/conf/machine/beaglebadge-ti.conf  | 22 +++++++++++++++++++
 .../trusted-firmware-a-ti.inc                 |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 meta-ti-bsp/conf/machine/beaglebadge-ti.conf
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/2 meta-ti-bsp: Add support for BeagleBadge

Add support for the BeagleBadge which is an AM62L based device that requires new build configuration for U-Boot and TF-A sources.

---
 meta-ti-bsp/conf/machine/beaglebadge-ti.conf | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/beaglebadge-ti.conf
meta-ti-bsp/conf/machine/beaglebadge-ti.conf new file +22 -0
new file mode 100644
index 00000000..ff870c92
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: AM62L Badge
+#@DESCRIPTION: Machine configuration for the TI AM62L Badge
+
+require conf/machine/include/am62lxx.inc
+
+IMAGE_FSTYPES += "ubifs ubi"
+
+MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
+
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am62l3-badge \
+"
+
+KERNEL_DEVICETREE = ""
+
+UBOOT_MACHINE = "am62lx_badge_defconfig"
+
+TFA_BOARD = "am62l-badge"
+
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH v2 1/2] meta-ti-bsp: Add support for BeagleBadge

Quoted 27 lines · Judith Mendez

Add support for the BeagleBadge which is an AM62L based device that requires new build configuration for U-Boot and TF-A sources.

---
 meta-ti-bsp/conf/machine/beaglebadge-ti.conf | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/beaglebadge-ti.conf
meta-ti-bsp/conf/machine/beaglebadge-ti.conf new file +11 -0
new file mode 100644
index 00000000..ff870c92
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: AM62L Badge
+#@DESCRIPTION: Machine configuration for the TI AM62L Badge
+
+require conf/machine/include/am62lxx.inc
+
+IMAGE_FSTYPES += "ubifs ubi"
+
+MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
+
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"

meta-ti-bsp/conf/machine/beaglebadge-ti.conf line 21

Quoted 10 lines
meta-ti-bsp/conf/machine/beaglebadge-ti.conf new file +10 -0
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am62l3-badge \
+"
+
+KERNEL_DEVICETREE = ""
+
+UBOOT_MACHINE = "am62lx_badge_defconfig"
+
+TFA_BOARD = "am62l-badge"

So, everywhere here the platform is referred to as "AM62L Badge", including device tree, TFA and U-boot configs. Why is the machine config then called BeagleBadge? Does this come from the BeagleBoard.org?

Signature · 1 line
Denys
#3 lore raw

Re: [PATCH v2 1/2] meta-ti-bsp: Add support for BeagleBadge

Hi Denys,

Quoted 34 lines · Denys Dmytriyenko
Quoted 33 lines · Judith Mendez

Add support for the BeagleBadge which is an AM62L based device that requires new build configuration for U-Boot and TF-A sources.

---
  meta-ti-bsp/conf/machine/beaglebadge-ti.conf | 22 ++++++++++++++++++++
  1 file changed, 22 insertions(+)

create mode 100644 meta-ti-bsp/conf/machine/beaglebadge-ti.conf

meta-ti-bsp/conf/machine/beaglebadge-ti.conf new file +17 -0
new file mode 100644
index 00000000..ff870c92
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: AM62L Badge
+#@DESCRIPTION: Machine configuration for the TI AM62L Badge
+
+require conf/machine/include/am62lxx.inc
+
+IMAGE_FSTYPES += "ubifs ubi"
+
+MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
+
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am62l3-badge \
+"
+
+KERNEL_DEVICETREE = ""
Quoted 8 lines

meta-ti-bsp/conf/machine/beaglebadge-ti.conf line 21

Quoted 4 lines
meta-ti-bsp/conf/machine/beaglebadge-ti.conf new file +4 -0
+
+UBOOT_MACHINE = "am62lx_badge_defconfig"
+
+TFA_BOARD = "am62l-badge"

So, everywhere here the platform is referred to as "AM62L Badge", including device tree, TFA and U-boot configs. Why is the machine config then called BeagleBadge? Does this come from the BeagleBoard.org?

Yes this is a beagle device, but beagle sources are still not updated to build BeagleBadge. In TI trees, we refrained from using beagle naming convention until today, that is why you see AM62L Badge there.

~ Judith

#4 lore raw

PATCH v2 2/2 trusted-firmware-a: am62l: Update to latest ti-master

In reply to Judith Mendez

Update to latest ti-master commit which includes support for BeagleBadge.

---
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +1 -1
index 9e733448..05cc6987 100644
@@ -10,7 +10,7 @@ SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmwar
 SRCBRANCH = "master"
 
 LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
-SRCREV_tfa:am62lxx = "7252a99fb781075db1987d8ce2c7e37324297427"
+SRCREV_tfa:am62lxx = "76800058f24e3eb3fcacdb12106a881ae279f8c3"
 SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
 SRCBRANCH:am62lxx = "ti-master"
 
Signature · 1 line
2.34.1
#5 lore raw
In reply to Judith Mendez

meta-ti / na / 20251216221652.2231748-1-jm

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [PATCH v2 1/2] meta-ti-bsp: Add support for BeagleBadge
WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
patch:68
Subject: [PATCH v2 1/2] meta-ti-bsp: Add support for BeagleBadge

WARN: Commit message does not include file/recipe name: meta-ti-bsp: Add support for BeagleBadge. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: meta-ti-bsp: Add support for BeagleBadge.
meta-ti-bsp (COMMIT-MESSAGE-3)
patch

WARN: Revised patch missing a comment. (REVISION-1)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [PATCH v2 2/2] trusted-firmware-a: am62l: Update to latest ti-master
WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
patch:68
Subject: [PATCH v2 2/2] trusted-firmware-a: am62l: Update to latest ti-master

WARN: Revised patch missing a comment. (REVISION-1)
patch

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

=========================================================
apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [PATCH v2 0/2] Add BeagleBadge support
- Submitter: From: Judith Mendez <[email protected]>
- Date: Date: Tue, 16 Dec 2025 16:16:50 -0600
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 275d057766b0208ea671d0fff8690f4ebfdcd062

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202512040100
- Commit SHA: 2b3ca72005639850bbb6a47a046812764a09d526

Patches
----------------------------------------
FAIL - [PATCH v2 2/2] trusted-firmware-a: am62l: Update to latest ti-master
error: patch failed: meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc:10
error: meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc: patch does not apply
Applying: trusted-firmware-a: am62l: Update to latest ti-master
Patch failed at 0001 trusted-firmware-a: am62l: Update to latest ti-master