All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randolph Sapp <rs@ti.com>
To: Andrew Davis <afd@ti.com>, <rs@ti.com>, <reatmon@ti.com>,
	<denys@konsulko.com>, <praneeth@ti.com>,
	<robertcnelson@gmail.com>
Cc: <meta-ti@lists.yoctoproject.org>
Subject: Re: [meta-ti][master][PATCH 2/3] beagley-ai: add beagley-ai-ti
Date: Tue, 24 Feb 2026 13:18:16 -0600	[thread overview]
Message-ID: <DGNFN60HKEL7.1TY4PIYPC2O1K@ti.com> (raw)
In-Reply-To: <7b4a7756-a9f6-4b63-ba83-391411255e52@ti.com>

On Tue Feb 24, 2026 at 12:31 PM CST, Andrew Davis wrote:
> On 2/23/26 5:57 PM, rs@ti.com wrote:
>> From: Randolph Sapp <rs@ti.com>
>> 
>> Split the existing config into a beagley-ai-ti and beagley-ai that
>> includes it, like the existing beagleplay machine.
>> 
>> Signed-off-by: Randolph Sapp <rs@ti.com>
>> ---
>>   meta-beagle/conf/machine/beagley-ai-k3r5.conf     |  6 ++----
>>   ...agley-ai-k3r5.conf => beagley-ai-ti-k3r5.conf} |  3 ---
>>   meta-beagle/conf/machine/beagley-ai-ti.conf       | 15 +++++++++++++++
>>   meta-beagle/conf/machine/beagley-ai.conf          | 11 ++---------
>>   4 files changed, 19 insertions(+), 16 deletions(-)
>>   copy meta-beagle/conf/machine/{beagley-ai-k3r5.conf => beagley-ai-ti-k3r5.conf} (61%)
>>   create mode 100644 meta-beagle/conf/machine/beagley-ai-ti.conf
>> 
>> diff --git a/meta-beagle/conf/machine/beagley-ai-k3r5.conf b/meta-beagle/conf/machine/beagley-ai-k3r5.conf
>> index 06c74cf9..2d6948d5 100644
>> --- a/meta-beagle/conf/machine/beagley-ai-k3r5.conf
>> +++ b/meta-beagle/conf/machine/beagley-ai-k3r5.conf
>> @@ -2,10 +2,8 @@
>>   #@NAME: BeagleY AI (R5F)
>>   #@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
>>   
>> -require conf/machine/include/k3r5.inc
>> +require conf/machine/beagley-ai-ti-k3r5.conf
>> +
>>   require conf/machine/include/beagle-bsp.inc
>>   
>> -UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
>>   UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_r5_defconfig"
>> -UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_r5_defconfig"
>> -UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_r5_defconfig"
>> diff --git a/meta-beagle/conf/machine/beagley-ai-k3r5.conf b/meta-beagle/conf/machine/beagley-ai-ti-k3r5.conf
>> similarity index 61%
>> copy from meta-beagle/conf/machine/beagley-ai-k3r5.conf
>> copy to meta-beagle/conf/machine/beagley-ai-ti-k3r5.conf
>> index 06c74cf9..eaab2d57 100644
>> --- a/meta-beagle/conf/machine/beagley-ai-k3r5.conf
>> +++ b/meta-beagle/conf/machine/beagley-ai-ti-k3r5.conf
>> @@ -3,9 +3,6 @@
>>   #@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
>>   
>>   require conf/machine/include/k3r5.inc
>> -require conf/machine/include/beagle-bsp.inc
>>   
>>   UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
>> -UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_r5_defconfig"
>>   UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_r5_defconfig"
>> -UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_r5_defconfig"
>> diff --git a/meta-beagle/conf/machine/beagley-ai-ti.conf b/meta-beagle/conf/machine/beagley-ai-ti.conf
>> new file mode 100644
>> index 00000000..d6d05264
>> --- /dev/null
>> +++ b/meta-beagle/conf/machine/beagley-ai-ti.conf
>> @@ -0,0 +1,15 @@
>> +#@TYPE: Machine
>> +#@NAME: BeagleY AI (A53)
>> +#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
>> +
>> +require conf/machine/include/j722s.inc
>> +
>> +UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
>> +UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_a53_config"
>> +
>> +KERNEL_DEVICETREE_PREFIX = " \
>> +    ti/k3-am67a \
>> +    ti/k3-j722s \
>> +"
>> +
>> +MACHINE_GUI_CLASS = "bigscreen"
>> diff --git a/meta-beagle/conf/machine/beagley-ai.conf b/meta-beagle/conf/machine/beagley-ai.conf
>> index d73d0506..d2c68201 100644
>> --- a/meta-beagle/conf/machine/beagley-ai.conf
>> +++ b/meta-beagle/conf/machine/beagley-ai.conf
>> @@ -2,18 +2,11 @@
>>   #@NAME: BeagleY AI (A53)
>>   #@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
>>   
>> -require conf/machine/include/j722s.inc
>> +require conf/machine/beagley-ai-ti.conf
>> +
>
> We should flip this around, `beagley-ai-ti.conf` should include `beagley-ai.conf`,
> not the other way around. `beagley-ai.conf` is the "deafult" config using the
> Beagle kernel as one would expect of a Beagle product. The "-ti.conf" version is
> the odd ball in that it changes the default to something else. Plus that would
> keep this patch more simple, only needing changes to the new "-ti.conf" file.
>
> Only downside would be this is done the other way around currently for
> beagleplay, but that would be an easy fix to switch it too.
>
> Andrew

I agree that makes more sense from the outside looking in, but the current
version results in less variable overrides and less unused variables being
defined.

>>   require conf/machine/include/beagle-bsp.inc
>>   
>> -UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
>>   UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_a53_config"
>> -UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_a53_config"
>> -UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_a53_config"
>> -
>> -KERNEL_DEVICETREE_PREFIX = " \
>> -    ti/k3-am67a \
>> -    ti/k3-j722s \
>> -"
>>   
>>   KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
>>   ti/k3-am67a-beagley-ai.dtb \



  reply	other threads:[~2026-02-24 19:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 23:57 [meta-ti][master][PATCH 0/3] uniform beagle machine definitions rs
2026-02-23 23:57 ` [meta-ti][master][PATCH 1/3] meta-beagle: move all beagle board configurations rs
2026-02-24 14:55   ` Ryan Eatmon
2026-02-24 18:11     ` Randolph Sapp
2026-02-24 18:18       ` Andrew Davis
2026-02-24 20:45         ` Randolph Sapp
2026-02-24 18:14     ` Andrew Davis
2026-02-23 23:57 ` [meta-ti][master][PATCH 2/3] beagley-ai: add beagley-ai-ti rs
2026-02-24 18:31   ` Andrew Davis
2026-02-24 19:18     ` Randolph Sapp [this message]
2026-02-24 21:04     ` Denys Dmytriyenko
2026-02-23 23:57 ` [meta-ti][master][PATCH 3/3] beagleplay-ti: use the am62xx.inc rs
2026-02-24 18:23   ` Andrew Davis
2026-02-24  0:07 ` [meta-ti][master][PATCH 0/3] uniform beagle machine definitions PRC Automation

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DGNFN60HKEL7.1TY4PIYPC2O1K@ti.com \
    --to=rs@ti.com \
    --cc=afd@ti.com \
    --cc=denys@konsulko.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    --cc=robertcnelson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.