On 12/15/25 6:32 PM, Mendez, Judith via lists.yoctoproject.org wrote:
Add support for the beaglebadge which is an am62l
Are we calling it this now? (meta-ti is a public list so I guess so)
Will probably be capitalized like "BeagleBadge", same for "AM62L".
based device that requires new build configration
s/configration/configuration
for u-boot and TF-A sources.
s/u-boot/U-Boot
---
meta-ti-bsp/conf/machine/beaglebadge-ti.conf | 19 +++++++++++++++++++
.../conf/machine/include/beaglebadge.inc | 9 +++++++++
.../trusted-firmware-a-ti.inc | 3 +++
3 files changed, 31 insertions(+)
create mode 100644 meta-ti-bsp/conf/machine/beaglebadge-ti.conf
create mode 100644 meta-ti-bsp/conf/machine/include/beaglebadge.inc
diff --git a/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
b/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
new file mode 100644
index 00000000..a9d59823
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: AM62L Badge
+#@DESCRIPTION: Machine configuration for the TI AM62L Badge
+
+require conf/machine/include/beaglebadge.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"
diff --git a/meta-ti-bsp/conf/machine/include/beaglebadge.inc
b/meta-ti-bsp/conf/machine/include/beaglebadge.inc
new file mode 100644
index 00000000..5700050a
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/beaglebadge.inc
@@ -0,0 +1,9 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62lxx"
+
+MACHINE_FEATURES += "screen"
+
+TFA_BOARD = "am62l-badge"
+TFA_K3_SYSTEM_SUSPEND = "1"
This line isn't needed.
Also, we probably do not need an include for this when everything
is the same a am62lxx.inc (other than the TFA_BOARD which you can
just override in the .conf file).
+
+OPTEEMACHINE = "k3-am62lx"
diff --git
a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
index 9e733448..7ef3dfb7 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
@@ -14,6 +14,8 @@ SRCREV_tfa:am62lxx =
"7252a99fb781075db1987d8ce2c7e37324297427"
SRC_URI_TRUSTED_FIRMWARE_A:am62lxx =
"git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH:am62lxx = "ti-master"
+SRCREV_tfa:beaglebadge-ti = "76800058f24e3eb3fcacdb12106a881ae279f8c3"
+
SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}"
COMPATIBLE_MACHINE = "k3"
@@ -24,6 +26,7 @@ TFA_SPD = "opteed"
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
+TFA_INSTALL_TARGET:beaglebadge-ti = "bl31 bl1"
Line not needed, this board will also match the "am62lxx" line above.
Andrew
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if
d.getVar('TFA_K3_BL32_BASE') else ''}"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19361):
https://lists.yoctoproject.org/g/meta-ti/message/19361
Mute This Topic: https://lists.yoctoproject.org/mt/116802769/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-