diff mbox series

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

Message ID 20251216221652.2231748-2-jm@ti.com
State New
Headers show
Series Add BeagleBadge support | expand

Commit Message

Judith Mendez Dec. 16, 2025, 10:16 p.m. UTC
Add support for the BeagleBadge which is an AM62L
based device that requires new build configuration
for U-Boot and TF-A sources.

Signed-off-by: Judith Mendez <jm@ti.com>
---
 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

Comments

Denys Dmytriyenko Dec. 16, 2025, 10:54 p.m. UTC | #1
On Tue, Dec 16, 2025 at 04:16:51PM -0600, Judith Mendez wrote:
> Add support for the BeagleBadge which is an AM62L
> based device that requires new build configuration
> for U-Boot and TF-A sources.
> 
> Signed-off-by: Judith Mendez <jm@ti.com>
> ---
>  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
> 
> 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..ff870c92
> --- /dev/null
> +++ b/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
> @@ -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"

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?
Judith Mendez Dec. 16, 2025, 11:54 p.m. UTC | #2
Hi Denys,

On 12/16/25 4:54 PM, Denys Dmytriyenko wrote:
> On Tue, Dec 16, 2025 at 04:16:51PM -0600, Judith Mendez wrote:
>> Add support for the BeagleBadge which is an AM62L
>> based device that requires new build configuration
>> for U-Boot and TF-A sources.
>>
>> Signed-off-by: Judith Mendez <jm@ti.com>
>> ---
>>   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
>>
>> 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..ff870c92
>> --- /dev/null
>> +++ b/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
>> @@ -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"
> 
> 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
diff mbox series

Patch

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..ff870c92
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beaglebadge-ti.conf
@@ -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"
+