conf/machine: rename beagleplay machine to beagleplay-ti
RFC PATCH 1/6 conf/machine: rename beagleplay machine to beagleplay-ti
From: Denys Dmytriyenko <[email protected]>
BeaglePlay is officially supported by TI "ti-6_6" BSP and is part of the TI-SDK releases. Switching BSP to BeagleBoard.org "bb_org" settings for the same machine is possible within the same layer.
But having different machine configs for the same machine name in multiple layers can be confusing and prone to errors. Hence rename the config to indicate BeaglePlay with official TI support in order to re-use the canonical name in a separate layer.
---
.../machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} | 0
meta-ti-bsp/conf/machine/{beagleplay.conf => beagleplay-ti.conf} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename meta-ti-bsp/conf/machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} (100%)
rename meta-ti-bsp/conf/machine/{beagleplay.conf => beagleplay-ti.conf} (100%)meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf renamed from meta-ti-bsp/conf/machine/beagleplay-k3r5.conf +0 -0
meta-ti-bsp/conf/machine/beagleplay-ti.conf renamed from meta-ti-bsp/conf/machine/beagleplay.conf +0 -0
Signature · 1 line
2.25.1
RFC PATCH 2/6 meta-beagle: create a separate layer for Beagle platforms
From: Denys Dmytriyenko <[email protected]>
The new meta-beagle will host all supported Beagle platforms that use TI SoCs and hence need to depend on meta-ti-bsp. The default BSP for the platforms in this layer will use BeagleBoard.org official trees for the Linux kernel and U-boot.
--- meta-beagle/conf/layer.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-beagle/conf/layer.conf
meta-beagle/conf/layer.conf new file +15 -0
@@ -0,0 +1,15 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-beagle" +BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-beagle = "6" + +LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar" + +LAYERDEPENDS_meta-bealge = " \ + meta-ti-bsp \ +"
Signature · 1 line
2.25.1
Re: [meta-ti] [master][RFC PATCH 2/6] meta-beagle: create a separate layer for Beagle platforms
Quoted 22 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
The new meta-beagle will host all supported Beagle platforms that use TI SoCs and hence need to depend on meta-ti-bsp. The default BSP for the platforms in this layer will use BeagleBoard.org official trees for the Linux kernel and U-boot.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-beagle/conf/layer.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+)create mode 100644
meta-beagle/conf/layer.confmeta-beagle/conf/layer.conf new file +3
-0@@ -0,0 +1,15 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" +
meta-beagle/conf/layer.conf line 13
Quoted 10 lines
meta-beagle/conf/layer.conf new file +10
-0+# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-beagle" +BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-beagle = "6" + +LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar" + +LAYERDEPENDS_meta-bealge = " \
misspelling------------^
Quoted 13 lines
meta-beagle/conf/layer.conf new file +2
-1+ meta-ti-bsp \ +" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#18041): https://lists.yoctoproject.org/g/meta-ti/message/18041
Mute This Topic: https://lists.yoctoproject.org/mt/109412224/6551054
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
Re: [meta-ti] [master][RFC PATCH 2/6] meta-beagle: create a separate layer for Beagle platforms
Quoted 29 lines · Ryan Eatmon
Quoted 26 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
The new meta-beagle will host all supported Beagle platforms that use TI SoCs and hence need to depend on meta-ti-bsp. The default BSP for the platforms in this layer will use BeagleBoard.org official trees for the Linux kernel and U-boot.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-beagle/conf/layer.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-beagle/conf/layer.confmeta-beagle/conf/layer.conf new file +7
-0@@ -0,0 +1,15 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-beagle"
Quoted 8 lines
meta-beagle/conf/layer.conf line 13
Quoted 6 lines
meta-beagle/conf/layer.conf new file +6
-0+BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-beagle = "6" + +LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar" + +LAYERDEPENDS_meta-bealge = " \misspelling------------^
Indeed, thanks!
Quoted 2 lines
Quoted 2 lines
meta-beagle/conf/layer.conf new file +2
-0+ meta-ti-bsp \ +"
RFC PATCH 3/6 conf/machine: move "bb_org" BSP settings to meta-beagle
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Define "bb_org" default BSP settings in meta-beagle layer that all Beagle platforms will use.
--- .../conf/machine/include/beagle-bsp.inc | 24 +++++++++++++++++++ meta-ti-bsp/conf/machine/include/ti-bsp.inc | 21 +--------------- 2 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 meta-beagle/conf/machine/include/beagle-bsp.inc
meta-beagle/conf/machine/include/beagle-bsp.inc new file +24 -0
@@ -0,0 +1,24 @@ +# Use meta-ti-bsp "multi-BSP" facility to create a custom "bb_org" BSP profile +# with default preferences for Beagle platforms + +# Default is bb_org, but can override with any of the existing options +TI_PREFERRED_BSP ?= "bb_org" + +# ========== +# bb_org +# BeagleBoard.org kernel 6.1, u-boot 2023.04 +# based on TI staging trees with extra Beagle-specific features +# but may not be up-to-date with TI version +# ========== +BSP_KERNEL_PROVIDER:bsp-bb_org = "linux-bb.org" +BSP_KERNEL_VERSION:bsp-bb_org = "%" +BSP_BOOTLOADER_PROVIDER:bsp-bb_org = "u-boot-bb.org" +BSP_BOOTLOADER_VERSION:bsp-bb_org = "%" + +BSP_SGX_DRIVER_PROVIDER:bsp-bb_org = "ti-sgx-ddk-km" +BSP_SGX_DRIVER_VERSION:bsp-bb_org = "1.17%" +BSP_SGX_UMLIBS_VERSION:bsp-bb_org = "1.17%" +BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org = "ti-img-rogue-driver" +BSP_ROGUE_DRIVER_VERSION:bsp-bb_org = "23%" +BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org = "23%" +BSP_MESA_PVR_VERSION:bsp-bb_org = "22%"
meta-ti-bsp/conf/machine/include/ti-bsp.inc +1 -20
@@ -3,7 +3,7 @@ # preferences for kernel, bootloader and graphics components, as # well as a dedicated machine override. -# Supported options are: mainline, next, ti-6_6, ti-6_1, bb_org +# Supported options are: mainline, next, ti-6_12, ti-6_6, ti-6_1 TI_PREFERRED_BSP ??= "ti-6_6" # Use bsp-* namespace for overrides
@@ -80,25 +80,6 @@ BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_1 = "23%" BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_1 = "23%" BSP_MESA_PVR_VERSION:bsp-ti-6_1 = "22%" -# ========== -# bb_org -# BeagleBoard.org kernel 6.1, u-boot 2023.04 -# based on TI staging trees with extra Beagle-specific features -# but may not be up-to-date with TI version -# ========== -BSP_KERNEL_PROVIDER:bsp-bb_org = "linux-bb.org" -BSP_KERNEL_VERSION:bsp-bb_org = "%" -BSP_BOOTLOADER_PROVIDER:bsp-bb_org = "u-boot-bb.org" -BSP_BOOTLOADER_VERSION:bsp-bb_org = "%" - -BSP_SGX_DRIVER_PROVIDER:bsp-bb_org = "ti-sgx-ddk-km" -BSP_SGX_DRIVER_VERSION:bsp-bb_org = "1.17%" -BSP_SGX_UMLIBS_VERSION:bsp-bb_org = "1.17%" -BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org = "ti-img-rogue-driver" -BSP_ROGUE_DRIVER_VERSION:bsp-bb_org = "23%" -BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org = "23%" -BSP_MESA_PVR_VERSION:bsp-bb_org = "22%" - # ========== # sane fallback defaults # if specific values are not defined or bsp is set incorrectly
Signature · 1 line
2.25.1
RFC PATCH 4/6 conf/machine: split beagleplay config between meta-ti-bsp and meta-beagle
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Extract "bb_org" BSP specific settings from beagleplay-ti in meta-ti-bsp and move them to own beagleplay machine config in meta-beagle.
The differences between 2 configs are minimal, hence beagleplay in meta-beagle inherits beagleplay-ti from meta-ti-bsp as a base and only adjusts what's needed.
--- meta-beagle/conf/machine/beagleplay-k3r5.conf | 8 +++ meta-beagle/conf/machine/beagleplay.conf | 45 ++++++++++++++++ .../conf/machine/beagleplay-ti-k3r5.conf | 1 - meta-ti-bsp/conf/machine/beagleplay-ti.conf | 51 +------------------ 4 files changed, 55 insertions(+), 50 deletions(-) create mode 100644 meta-beagle/conf/machine/beagleplay-k3r5.conf create mode 100644 meta-beagle/conf/machine/beagleplay.conf
meta-beagle/conf/machine/beagleplay-k3r5.conf new file +8 -0
@@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: BeaglePlay (R5F) +#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core) + +require conf/machine/beagleplay-ti-k3r5.conf +require conf/machine/include/beagle-bsp.inc + +UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config"
meta-beagle/conf/machine/beagleplay.conf new file +45 -0
45 lines not on this page · raw message
meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf +0 -1
@@ -12,6 +12,5 @@ UBOOT_MACHINE = "am62x_evm_r5_defconfig" UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig" UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_r5_defconfig" -UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config" UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config" UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config"
meta-ti-bsp/conf/machine/beagleplay-ti.conf +2 -49
74 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 5/6 conf/machine: move remaining Beagle platforms to meta-beagle
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Include beagle-bsp.inc to define "bb_org" BSP settings and select that as a default.
---
{meta-ti-bsp => meta-beagle}/conf/machine/beagle-x15.conf | 3 +--
.../conf/machine/beaglebone-ai64-k3r5.conf | 3 +--
{meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64.conf | 3 +--
{meta-ti-bsp => meta-beagle}/conf/machine/beaglebone.conf | 3 +--
4 files changed, 4 insertions(+), 8 deletions(-)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beagle-x15.conf (94%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64-k3r5.conf (94%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64.conf (96%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone.conf (95%)meta-beagle/conf/machine/beagle-x15.conf renamed from meta-ti-bsp/conf/machine/beagle-x15.conf +1 -2
@@ -2,9 +2,8 @@ #@NAME: BeagleBoard X15 #@DESCRIPTION: Machine configuration for the BeagleBoard X15 -TI_PREFERRED_BSP ?= "bb_org" - require conf/machine/include/am57xx.inc +require conf/machine/include/beagle-bsp.inc DT_VENDOR_PREFIX = "ti/omap/" DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf renamed from meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf +1 -2
@@ -2,9 +2,8 @@ #@NAME: BeagleBone AI-64 (R5F) #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core) -TI_PREFERRED_BSP ?= "bb_org" - require conf/machine/include/k3r5.inc +require conf/machine/include/beagle-bsp.inc SYSFW_SOC = "j721e" SYSFW_CONFIG = "evm"
meta-beagle/conf/machine/beaglebone-ai64.conf renamed from meta-ti-bsp/conf/machine/beaglebone-ai64.conf +1 -2
@@ -2,9 +2,8 @@ #@NAME: BeagleBone AI-64 (A72) #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core) -TI_PREFERRED_BSP ?= "bb_org" - require conf/machine/include/j721e.inc +require conf/machine/include/beagle-bsp.inc IMAGE_SR1_1_HS_FS_FILES:bsp-bb_org = "" IMAGE_SR2_HS_SE_FILES:bsp-bb_org = ""
meta-beagle/conf/machine/beaglebone.conf renamed from meta-ti-bsp/conf/machine/beaglebone.conf +1 -2
@@ -2,9 +2,8 @@ #@NAME: BeagleBone machine #@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board -TI_PREFERRED_BSP ?= "bb_org" - require conf/machine/include/ti33x.inc +require conf/machine/include/beagle-bsp.inc DT_VENDOR_PREFIX = "ti/omap/" DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
Signature · 1 line
2.25.1
RFC PATCH 6/6 u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Move "bb_org" kernel and U-boot providers that use corresponding official BeagleBoard.org trees into own meta-beagle layer.
---
.../recipes-bsp/u-boot/u-boot-bb.org_git.bb | 2 +-
.../0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch | 0
...1-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch | 0
.../recipes-kernel/linux/linux-bb.org/defconfig | 0
.../recipes-kernel/linux/linux-bb.org_git.bb | 0
5 files changed, 1 insertion(+), 1 deletion(-)
rename {meta-ti-bsp => meta-beagle}/recipes-bsp/u-boot/u-boot-bb.org_git.bb (92%)
rename {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch (100%)
rename {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch (100%)
rename {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/linux-bb.org/defconfig (100%)
rename {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/linux-bb.org_git.bb (100%)meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_git.bb renamed from meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb +1 -1
@@ -1,4 +1,4 @@ -require u-boot-ti.inc +require recipes-bsp/u-boot/u-boot-ti.inc SUMMARY = "BeagleBoard.org U-Boot"
meta-beagle/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch renamed from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch +0 -0
meta-beagle/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch renamed from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch +0 -0
meta-beagle/recipes-kernel/linux/linux-bb.org/defconfig renamed from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig +0 -0
meta-beagle/recipes-kernel/linux/linux-bb.org_git.bb renamed from meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb +0 -0
Signature · 1 line
2.25.1
Hi Denys,
Quoted 8 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <denys@ konsulko. com> BeaglePlay is officially supported by TI "ti-6_6" BSP and is part of the TI-SDK releases. Switching BSP to BeagleBoard. org "
bb_org" settings for the same machine is possible within the same ZjQcmQRYFpfptBannerStart
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uZdqXRfP9k07KqZFHPOj3DFYN5-MCGhQRn4XVQxYA21XJhOdaXkP5hLhMcH5N1PhQXx_-P68NVrtl3ufBrA_ew$>ZjQcmQRYFpfptBannerEnd
From: Denys Dmytriyenko <[email protected]>
Quoted 8 lines
BeaglePlay is officially supported by TI "ti-6_6" BSP and is part of the TI-SDK releases. Switching BSP to BeagleBoard.org "
bb_org" settings for the same machine is possible within the same layer.But having different machine configs for the same machine name in multiple layers can be confusing and prone to errors. Hence rename the config to indicate BeaglePlay with official TI support in order to re-use the canonical name in a separate layer.
Apart from [1], in general the entire series looks good to me!
[1]- https://lists.yoctoproject.org/g/meta-ti/message/18047
Quoted 3 lines
Signed-off-by Denys Dmytriyenko <[email protected]>---
Quoted 16 lines
.../machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} | 0 meta-ti-bsp/conf/machine/{beagleplay.conf => beagleplay-ti.conf} | 0 2 files changed, 0 insertions(+), 0 deletions(-)rename
meta-ti-bsp/conf/machine/{beagleplay-k3r5.conf=> beagleplay-ti-k3r5.conf} (100%) renamemeta-ti-bsp/conf/machine/{beagleplay.conf=> beagleplay-ti.conf} (100%)meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf renamed from meta-ti-bsp/conf/machine/beagleplay-k3r5.conf +0
-0meta-ti-bsp/conf/machine/beagleplay-ti.conf renamed from meta-ti-bsp/conf/machine/beagleplay.conf +0
-0Signature · 1 line
2.25.1