Skip to contentSkip to conversation

conf: beagley-ai: add beagley-ai-ti configuration

PATCH In review [email protected] 4 participants 11 messages Feb 23 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: beagley-ai: add beagley-ai-ti configuration

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
 meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf
 create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf
meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +16 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
Signature · 1 line
2.53.0
#1 lore raw

meta-ti / na / 20260223202236.3642261-1-rs

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][master][PATCH] conf: beagley-ai: add beagley-ai-ti configuration
WARN: Commit message does not include file/recipe name: conf: beagley-ai: add beagley-ai-ti configuration. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: conf: beagley-ai: add beagley-ai-ti configuration.
conf (COMMIT-MESSAGE-3)
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-ti][master][PATCH] conf: beagley-ai: add beagley-ai-ti configuration
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Mon, 23 Feb 2026 14:22:36 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 5e49c9ea6de3d4ba49e571b2247d66879c820473

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: bbc4f137e10f7654cd3247cb811d42fb7f59fe7b

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 [email protected]
Quoted 37 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
  meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
  2 files changed, 23 insertions(+)

create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

Andrew

Quoted 11 lines

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

#3 lore raw
Quoted 57 lines · Andrew Davis
Quoted 37 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++ meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++

  2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not. We do not answer questions or support the meta-beagle boards. Those are supported by the community (aka Denys). But the beagleplay-ti board using the TI kernel and TI uboot is supported. We will answer questions about them.

It was a decision from Sitara management to do this.

That's why we name them differently to draw a distinction between the two.

Quoted 14 lines

Andrew

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19562): https://lists.yoctoproject.org/g/meta-ti/message/19562
Mute This Topic: https://lists.yoctoproject.org/mt/117964418/3619733
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
#4 lore raw
Quoted 74 lines · Ryan Eatmon
Quoted 59 lines · Andrew Davis
Quoted 39 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++ meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++

  2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not. We do not answer questions or support the meta-beagle boards. Those are supported by the community (aka Denys). But the beagleplay-ti board using the TI kernel and TI uboot is supported. We will answer questions about them.

Quoted 4 lines

It was a decision from Sitara management to do this.

That's why we name them differently to draw a distinction between the two.

That really is unfortunate. Inclusion of meta-beagle in meta-ti does not make that clear, and the layer README(s) don't offer that information freely either.

- Randolph

#5 lore raw
Quoted 75 lines · Randolph Sapp
Quoted 74 lines · Ryan Eatmon
Quoted 59 lines · Andrew Davis
Quoted 39 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
   meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
   meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
   2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not. We do not answer questions or support the meta-beagle boards. Those are supported by the community (aka Denys). But the beagleplay-ti board using the TI kernel and TI uboot is supported. We will answer questions about them.

Quoted 7 lines
Quoted 4 lines

It was a decision from Sitara management to do this.

That's why we name them differently to draw a distinction between the two.

That really is unfortunate. Inclusion of meta-beagle in meta-ti does not make that clear, and the layer README(s) don't offer that information freely either.

I would rather drop the beagleboard-ti and all TI versions of the beagle boards and just rely on meta-beagle and what beagle officially supports.

Quoted 1 line

- Randolph

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#6 lore raw
Quoted 80 lines · Ryan Eatmon
Quoted 77 lines · Randolph Sapp
Quoted 76 lines · Ryan Eatmon
Quoted 59 lines · Andrew Davis
Quoted 39 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
   meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
   meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
   2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not. We do not answer questions or support the meta-beagle boards. Those are supported by the community (aka Denys). But the beagleplay-ti board using the TI kernel and TI uboot is supported. We will answer questions about them.

It was a decision from Sitara management to do this.

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

That's why we name them differently to draw a distinction between the two.

That really is unfortunate. Inclusion of meta-beagle in meta-ti does not make that clear, and the layer README(s) don't offer that information freely either.

I would rather drop the beagleboard-ti and all TI versions of the beagle boards and just rely on meta-beagle and what beagle officially supports.

I don't necessarily hate that idea. Guessing this is hinging on Andrew's idea of overriding the BSP provider variable directly for our internal testing?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 87 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 86 lines · Ryan Eatmon
Quoted 82 lines · Randolph Sapp
Quoted 74 lines · Ryan Eatmon
Quoted 59 lines · Andrew Davis
Quoted 39 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
   meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
   meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
   2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not. We do not answer questions or support the meta-beagle boards. Those are supported by the community (aka Denys). But the beagleplay-ti board using the TI kernel and TI uboot is supported. We will answer questions about them.

Quoted 4 lines

It was a decision from Sitara management to do this.

That's why we name them differently to draw a distinction between the two.

That really is unfortunate. Inclusion of meta-beagle in meta-ti does not make that clear, and the layer README(s) don't offer that information freely either.

Quoted 6 lines
Quoted 3 lines

I would rather drop the beagleboard-ti and all TI versions of the beagle boards and just rely on meta-beagle and what beagle officially supports.

I don't necessarily hate that idea. Guessing this is hinging on Andrew's idea of overriding the BSP provider variable directly for our internal testing?

I've been informed that both paths should be easily traversable. It's not just for testing purposes. As to what should be the default behavior, I'm getting mixed messages. If we want to unify to a single machine configuration then the default behavior must be defined.

#9 lore raw
In reply to Ryan Eatmon
Quoted 60 lines · Ryan Eatmon
Quoted 57 lines · Andrew Davis
Quoted 37 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++ meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++

  2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 8 lines
Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not.  We do not answer questions or support the meta-beagle boards.  Those are supported by the community (aka Denys).  But the beagleplay-ti board using the TI kernel and TI uboot is supported.  We will answer questions about them.

And selecting TI kernel and TI uboot is done by simply setting TI_PREFERRED_BSP = "ti-6_12", why do we need to clone files for this?

Quoted 2 lines

It was a decision from Sitara management to do this.

To do what? Support BeagleY, sure that is fine, we also support Wayland for instance, but we don't go and clone it and rebrand it Wayland-TI™.

We support community projects by working in those communities, in this case the community project is "meta-beagle". So let's add support for our TI BSP to that project, not fork bits of it into our meta-ti project.

Anyway to close the loop on the two threads,

Quoted 2 lines

I don't necessarily hate that idea. Guessing this is hinging on Andrew's idea of overriding the BSP provider variable directly for our internal testing?

We could at very least start with this "beagley-ai-ti.conf" do nothing but the following two lines:

require meta-beagle/conf/machine/beagley-ai.conf
TI_PREFERRED_BSP = "ti-6_18"

This would remove any duplication at least, but does introduce a reverse dependency from meta-ti towards meta-beagle. So the first option of a BSP provider override as needed is still my strong preference.

Andrew

Quoted 18 lines

That's why we name them differently to draw a distinction between the two.

Quoted 14 lines

Andrew

Quoted 11 lines

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

#10 lore raw
Quoted 91 lines · Andrew Davis
Quoted 60 lines · Ryan Eatmon
Quoted 57 lines · Andrew Davis
Quoted 37 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++ meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++

  2 files changed, 23 insertions(+)

  create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 10 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 8 lines
Quoted 5 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

The difference between the two platforms is that one is supported by TI and one is not.  We do not answer questions or support the meta-beagle boards.  Those are supported by the community (aka Denys).  But the beagleplay-ti board using the TI kernel and TI uboot is supported.  We will answer questions about them.

And selecting TI kernel and TI uboot is done by simply setting TI_PREFERRED_BSP = "ti-6_12", why do we need to clone files for this?

Quoted 2 lines

It was a decision from Sitara management to do this.

To do what? Support BeagleY, sure that is fine, we also support Wayland for instance, but we don't go and clone it and rebrand it Wayland-TI™.

We support community projects by working in those communities, in this case the community project is "meta-beagle". So let's add support for our TI BSP to that project, not fork bits of it into our meta-ti project.

Anyway to close the loop on the two threads,

Quoted 2 lines

I don't necessarily hate that idea. Guessing this is hinging on Andrew's idea of overriding the BSP provider variable directly for our internal testing?

We could at very least start with this "beagley-ai-ti.conf" do nothing but the following two lines:

Quoted 9 lines

require meta-beagle/conf/machine/beagley-ai.conf
TI_PREFERRED_BSP = "ti-6_18"

This would remove any duplication at least, but does introduce a reverse dependency from meta-ti towards meta-beagle. So the first option of a BSP provider override as needed is still my strong preference.

Andrew

I'd almost prefer we move all the beagle-ti configs back into meta-beagle and do that override there. Makes the layer dependency tree more reasonable and provides logical isolation from meta-ti and meta-beagle devices.

I'll draft that. Doesn't seem so awful.

Quoted 1 line
Quoted 1 line

That's why we name them differently to draw a distinction between the two.

#11 lore raw
In reply to Andrew Davis
Quoted 42 lines · Andrew Davis
Quoted 41 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add a TI configuration for the BeagleY-AI development board.

---
  meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf |  7 +++++++
  meta-ti-bsp/conf/machine/beagley-ai-ti.conf      | 16 ++++++++++++++++
  2 files changed, 23 insertions(+)

create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf create mode 100644 meta-ti-bsp/conf/machine/beagley-ai-ti.conf

meta-ti-bsp/conf/machine/beagley-ai-ti-k3r5.conf new file +7 -0
new file mode 100644
index 00000000..88d0888b
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +10 -0
new file mode 100644
index 00000000..088cbd62
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: BeagleY-AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY-AI (A53)
+
+require conf/machine/include/j722s.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am67a \
+    ti/k3-j722s \
+"
Quoted 8 lines

meta-ti-bsp/conf/machine/beagley-ai-ti.conf line 16

Quoted 6 lines
meta-ti-bsp/conf/machine/beagley-ai-ti.conf new file +6 -0
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am67a-beagley-ai.dtb \
+"
+
+UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"

This defconfig doesn't work if you select an older BSP.

Yeah, I've famously voiced concerns about the BSP provider logic in general, but 6.6 and it's associated BSP profile is frozen. Though the beagley-ai.conf uses j722s_evm_a53_config, the 'k3-j722s-evm.dts' in that profile defines 8GB of DDR, which is clearly wrong. I don't want to see that blow up later.

Quoted 6 lines

Thinking on this, the only difference we should have between this machine config and the one already in meta-beagle is the default selected BSP (bsp-ti-6_12 vs bb_org-6_12). Why can't we just have the one config and select the BSP with TI_PREFERRED_BSP? We could do that externally from the build env, or with a branding.

Quoted 8 lines

The issue with this patch is we would now have two configs for the same hardware, and there is no TI produced BeagleY, so having the machine config for it in this layer just seems wrong. I have the same complaint for beagleplay-ti and beaglebadge-ti, we should drop those too and fix them in the same way.

Andrew

The only thing this solution does is obscure this behavior with a new variable and deduplicate what should be static configuration files. I don't really think it's an improvement.

- Randolph