Skip to contentSkip to conversation

Add meta-beagle layer

PATCH In review Ryan Eatmon 2 participants 16 messages Dec 19, 2024

lore
Share & tools
lore
#0 lore raw

cover Add meta-beagle layer

Backport of the meta-beagle patches from master.

Denys Dmytriyenko (12):
conf/machine: rename beagleplay machine to beagleplay-ti
meta-beagle: create a separate layer for Beagle platforms
meta-beagle: layer.conf: add lz4c to host tools list conf/machine: move "bb_org" BSP settings to meta-beagle conf/machine: split beagleplay config between meta-ti-bsp and
meta-beagle
conf/machine: move remaining Beagle platforms to meta-beagle u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle linux-bb.org: update Beagle BSP to 6.1.83
conf/machine: add BeagleY-AI platform
linux-bb.org, u-boot-bb.org: rename recipes with version beagle-bsp, linux-bb.org, u-boot-bb.org: add support for 6.6 BSP linux-bb.org_6.6: disable FORTIFY_SOURCE for now

Ryan Eatmon (1):
meta-beagle: Add SECURITY file

 {meta-ti-extras => meta-beagle}/COPYING.MIT   | 24 ++---
 {meta-ti-extras => meta-beagle}/README        | 10 +-
 {meta-ti-bsp => meta-beagle}/SECURITY         |  0
 meta-beagle/conf/layer.conf                   | 17 ++++
 .../conf/machine/beagle-x15.conf              |  5 +-
 .../conf/machine/beaglebone-ai64-k3r5.conf    | 11 ++-
 .../conf/machine/beaglebone-ai64.conf         | 22 +++--
 .../conf/machine/beaglebone.conf              |  5 +-
 meta-beagle/conf/machine/beagleplay-k3r5.conf | 11 +++
 meta-beagle/conf/machine/beagleplay.conf      | 78 +++++++++++++++
 meta-beagle/conf/machine/beagley-ai-k3r5.conf | 16 ++++
 meta-beagle/conf/machine/beagley-ai.conf      | 25 +++++
 .../conf/machine/include/beagle-bsp.inc       | 43 +++++++++
 .../u-boot/u-boot-bb.org_2023.04.bb           |  7 +-
 .../u-boot/u-boot-bb.org_2024.10.bb           | 12 +++
 .../linux/linux-bb.org-6.1}/defconfig         |  0
 .../linux/linux-bb.org-6.6}/defconfig         |  0
 .../linux/linux-bb.org-6.6/no-fortify.cfg     |  1 +
 .../recipes-kernel/linux/linux-bb.org_6.1.bb  | 19 ++--
 .../recipes-kernel/linux/linux-bb.org_6.6.bb  | 71 ++++++++++++++
 ...play-k3r5.conf => beagleplay-ti-k3r5.conf} |  1 -
 meta-ti-bsp/conf/machine/beagleplay-ti.conf   | 49 ++++++++++
 meta-ti-bsp/conf/machine/beagleplay.conf      | 96 -------------------
 meta-ti-bsp/conf/machine/include/ti-bsp.inc   | 21 +---
 ...void-64-bit-division-in-ioc_timer_fn.patch | 56 -----------
 ...-gcc13-keep-large-values-in-a-new-en.patch | 54 -----------
 26 files changed, 382 insertions(+), 272 deletions(-)
 copy {meta-ti-extras => meta-beagle}/COPYING.MIT (86%)
 copy {meta-ti-extras => meta-beagle}/README (82%)
 copy {meta-ti-bsp => meta-beagle}/SECURITY (100%)
 create mode 100644 meta-beagle/conf/layer.conf
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beagle-x15.conf (89%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64-k3r5.conf (66%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64.conf (65%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone.conf (92%)
 create mode 100644 meta-beagle/conf/machine/beagleplay-k3r5.conf
 create mode 100644 meta-beagle/conf/machine/beagleplay.conf
 create mode 100644 meta-beagle/conf/machine/beagley-ai-k3r5.conf
 create mode 100644 meta-beagle/conf/machine/beagley-ai.conf
 create mode 100644 meta-beagle/conf/machine/include/beagle-bsp.inc
 rename meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb => meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb (61%)
 create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
 copy {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.1}/defconfig (100%)
 rename {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.6}/defconfig (100%)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
 rename meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb => meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb (76%)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
 rename meta-ti-bsp/conf/machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} (88%)
 create mode 100644 meta-ti-bsp/conf/machine/beagleplay-ti.conf
 delete mode 100644 meta-ti-bsp/conf/machine/beagleplay.conf
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/13 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
similarity index 100%
rename from meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
rename to meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf
meta-ti-bsp/conf/machine/beagleplay-ti.conf renamed from meta-ti-bsp/conf/machine/beagleplay.conf +0 -0
similarity index 100%
rename from meta-ti-bsp/conf/machine/beagleplay.conf
rename to meta-ti-bsp/conf/machine/beagleplay-ti.conf
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/13 meta-beagle: create a separate layer for Beagle platforms

In reply to Ryan Eatmon

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-ti-extras => meta-beagle}/COPYING.MIT | 24 ++++++++++-----------
 {meta-ti-extras => meta-beagle}/README      | 10 ++++-----
 meta-beagle/conf/layer.conf                 | 15 +++++++++++++
 3 files changed, 32 insertions(+), 17 deletions(-)
 copy {meta-ti-extras => meta-beagle}/COPYING.MIT (86%)
 copy {meta-ti-extras => meta-beagle}/README (82%)
 create mode 100644 meta-beagle/conf/layer.conf
meta-beagle/COPYING.MIT renamed from meta-ti-extras/COPYING.MIT +12 -12
similarity index 86%
copy from meta-ti-extras/COPYING.MIT
copy to meta-beagle/COPYING.MIT
index fb950dc6..89de3547 100644
@@ -1,17 +1,17 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the "Software"), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 
-The above copyright notice and this permission notice shall be included in 
+The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
meta-beagle/README renamed from meta-ti-extras/README +5 -5
similarity index 82%
copy from meta-ti-extras/README
copy to meta-beagle/README
index c6c058e0..a17e6433 100644
@@ -1,4 +1,4 @@
-OpenEmbedded/Yocto layer that extends and supplements Texas Instruments BSP layer.
+OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
 
 It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
 source repository at git://git.yoctoproject.org/meta-ti
@@ -8,14 +8,14 @@ This layer depends on:
 
 URI: git://git.openembedded.org/openembedded-core
 layers: meta
-branch: scarthgap
+branch: master
 
 URI: git://git.yoctoproject.org/meta-arm
 layers: meta-arm
-branch: scarthgap
+branch: master
 
 URI: git://git.yoctoproject.org/meta-ti
-branch: scarthgap
+branch: master
 revision: HEAD
 layers: meta-ti-bsp
 
@@ -27,5 +27,5 @@ Please note - meta-ti mailing list requires subscription for posting:
 https://lists.yoctoproject.org/g/meta-ti
 
 Maintainers:
-Ryan Eatmon <[email protected]>
 Denys Dmytriyenko <[email protected]>
+Ryan Eatmon <[email protected]>
meta-beagle/conf/layer.conf new file +15 -0
new file mode 100644
index 00000000..0dac4946
@@ -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"
+
+LAYERDEPENDS_meta-beagle = " \
+    meta-ti-bsp \
+"
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/13 meta-beagle: layer.conf: add lz4c to host tools list

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

OE-Core master has switched from lz4c to lz4 host tool, but a corresponding change only appears in kernel 6.13. Since bb.org kernels 6.1 and 6.6 enable LZ4 compression by default, also add a legacy lz4c tool in the list.

---
 meta-beagle/conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-beagle/conf/layer.conf +2 -0
index 0dac4946..d980df8e 100644
@@ -13,3 +13,5 @@ LAYERSERIES_COMPAT_meta-beagle = "scarthgap"
 LAYERDEPENDS_meta-beagle = " \
     meta-ti-bsp \
 "
+
+HOSTTOOLS_NONFATAL += "lz4c"
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/13 conf/machine: move "bb_org" BSP settings to meta-beagle

In reply to Ryan Eatmon

From: 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
new file mode 100644
index 00000000..77d0b483
@@ -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
index 6549ff73..083177dc 100644
@@ -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
@@ -82,25 +82,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.17.1
#5 lore raw

PATCH 5/13 conf/machine: split beagleplay config between meta-ti-bsp and meta-beagle

In reply to Ryan Eatmon

From: 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
new file mode 100644
index 00000000..1423aa10
@@ -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
index 3844ccfa..c27e0abc 100644
@@ -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.17.1
#6 lore raw

PATCH 6/13 conf/machine: move remaining Beagle platforms to meta-beagle

In reply to Ryan Eatmon

From: 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
similarity index 94%
rename from meta-ti-bsp/conf/machine/beagle-x15.conf
rename to meta-beagle/conf/machine/beagle-x15.conf
index 6f8c435b..e9ab5d40 100644
@@ -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
similarity index 94%
rename from meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf
rename to meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf
index d415a212..95d3abc0 100644
@@ -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
similarity index 96%
rename from meta-ti-bsp/conf/machine/beaglebone-ai64.conf
rename to meta-beagle/conf/machine/beaglebone-ai64.conf
index 56e1ed4e..faffd0bb 100644
@@ -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
similarity index 95%
rename from meta-ti-bsp/conf/machine/beaglebone.conf
rename to meta-beagle/conf/machine/beaglebone.conf
index 0db4d304..6048383b 100644
@@ -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.17.1
#7 lore raw

PATCH 7/13 u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle

In reply to Ryan Eatmon

From: 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
similarity index 92%
rename from meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
rename to meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_git.bb
index 13286564..0b23effc 100644
@@ -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
similarity index 100%
rename from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
rename to meta-beagle/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
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
similarity index 100%
rename from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
rename to meta-beagle/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
meta-beagle/recipes-kernel/linux/linux-bb.org/defconfig renamed from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig
rename to meta-beagle/recipes-kernel/linux/linux-bb.org/defconfig
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
similarity index 100%
rename from meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
rename to meta-beagle/recipes-kernel/linux/linux-bb.org_git.bb
Signature · 1 line
2.17.1
#8 lore raw

PATCH 8/13 linux-bb.org: update Beagle BSP to 6.1.83

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

Update Beagle BSP to the latest 6.1.83 kernel version.

---
 .../recipes-kernel/linux/linux-bb.org_git.bb     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta-beagle/recipes-kernel/linux/linux-bb.org_git.bb +8 -8
index ef79bfb7..986eda68 100644
@@ -52,14 +52,14 @@ PB-MIKROBUS-1.dtbo \
 
 S = "${WORKDIR}/git"
 
-# 6.1.80 version for 32-bit
-SRCREV:armv7a = "4ca9ea30768d58c8d4d56d03dd1eaf8c8feb7ef9"
-PV:armv7a = "6.1.80+git"
-BRANCH:armv7a = "v6.1.80-ti-r34"
+# 6.1.83 version for 32-bit
+SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792"
+PV:armv7a = "6.1.83+git"
+BRANCH:armv7a = "v6.1.83-ti-r35"
 
-# 6.1.80 version for 64-bit
-SRCREV:aarch64 = "977c75e082620f15c06c72bcced30f787c14b390"
-PV:aarch64 = "6.1.80+git"
-BRANCH:aarch64 = "v6.1.80-ti-arm64-r49"
+# 6.1.83 version for 64-bit
+SRCREV:aarch64 = "135558243d5a98ed39812b797d2ba6295ef3b86a"
+PV:aarch64 = "6.1.83+git"
+BRANCH:aarch64 = "v6.1.83-ti-arm64-r64"
 
 KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
Signature · 1 line
2.17.1
#9 lore raw

PATCH 9/13 conf/machine: add BeagleY-AI platform

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

Add machine configuration for BeagleY-AI platform.

---
 meta-beagle/conf/machine/beagley-ai-k3r5.conf | 14 +++++++++++
 meta-beagle/conf/machine/beagley-ai.conf      | 23 +++++++++++++++++++
 .../recipes-bsp/u-boot/u-boot-bb.org_git.bb   |  5 ++++
 3 files changed, 42 insertions(+)
 create mode 100644 meta-beagle/conf/machine/beagley-ai-k3r5.conf
 create mode 100644 meta-beagle/conf/machine/beagley-ai.conf
meta-beagle/conf/machine/beagley-ai-k3r5.conf new file +14 -0
new file mode 100644
index 00000000..87462e72
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: BeagleY AI (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
+
+require conf/machine/include/k3r5.inc
+require conf/machine/include/beagle-bsp.inc
+
+SYSFW_SOC = "j722s"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "j722s_evm_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am67a_beagley_ai_r5.config"
meta-beagle/conf/machine/beagley-ai.conf new file +23 -0
new file mode 100644
index 00000000..8dcc9b14
@@ -0,0 +1,23 @@
+#@TYPE: Machine
+#@NAME: BeagleY AI (A53)
+#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
+
+require conf/machine/include/j722s.inc
+require conf/machine/include/beagle-bsp.inc
+
+UBOOT_MACHINE = "j722s_evm_a53_config"
+
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am67a_beagley_ai_a53.config"
+
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-j722s \
+"
+
+KERNEL_DEVICETREE = ""
+
+KERNEL_DEVICETREE:append:bsp-bb_org = " \
+ti/k3-j722s-evm.dtb \
+ti/k3-am67a-beagley-ai.dtb \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_git.bb +5 -0
index 0b23effc..8e14c495 100644
@@ -15,3 +15,8 @@ BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay"
 BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay"
 SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
 SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
+
+BRANCH:beagley-ai = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
+BRANCH:beagley-ai-k3r5 = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
+SRCREV:beagley-ai = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
+SRCREV:beagley-ai-k3r5 = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
Signature · 1 line
2.17.1
#10 lore raw

PATCH 10/13 linux-bb.org, u-boot-bb.org: rename recipes with version

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

Rename "bb_org" BSP recipes to include version in the recipe names. This way we can support multiple versions.

Also remove 2 unused kernel patches that were needed for 5.10

---
 ...bb.org_git.bb => u-boot-bb.org_2023.04.bb} |  0
 .../defconfig                                 |  0
 ...void-64-bit-division-in-ioc_timer_fn.patch | 56 -------------------
 ...-gcc13-keep-large-values-in-a-new-en.patch | 54 ------------------
 ...inux-bb.org_git.bb => linux-bb.org_6.1.bb} |  3 +
 5 files changed, 3 insertions(+), 110 deletions(-)
 rename meta-beagle/recipes-bsp/u-boot/{u-boot-bb.org_git.bb => u-boot-bb.org_2023.04.bb} (100%)
 rename meta-beagle/recipes-kernel/linux/{linux-bb.org => linux-bb.org-6.1}/defconfig (100%)
 delete mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
 delete mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
 rename meta-beagle/recipes-kernel/linux/{linux-bb.org_git.bb => linux-bb.org_6.1.bb} (93%)
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb renamed from meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_git.bb +0 -0
similarity index 100%
rename from meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_git.bb
rename to meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb
meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig renamed from meta-beagle/recipes-kernel/linux/linux-bb.org/defconfig +0 -0
similarity index 100%
rename from meta-beagle/recipes-kernel/linux/linux-bb.org/defconfig
rename to meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig
meta-beagle/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch deleted +0 -56

56 lines not on this page · raw message

meta-beagle/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch deleted +0 -54

54 lines not on this page · raw message

meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb renamed from meta-beagle/recipes-kernel/linux/linux-bb.org_git.bb +3 -0
similarity index 93%
rename from meta-beagle/recipes-kernel/linux/linux-bb.org_git.bb
rename to meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb
index 986eda68..063bcac3 100644
@@ -1,3 +1,6 @@
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
 SECTION = "kernel"
 SUMMARY = "BeagleBoard.org Linux kernel"
 LICENSE = "GPL-2.0-only"
Signature · 1 line
2.17.1
#11 lore raw

PATCH 11/13 beagle-bsp, linux-bb.org, u-boot-bb.org: add support for 6.6 BSP

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

Most Beagle platforms are switching to 6.6 based Linux kernel and U-boot 2024.10. Add corresponding recipes and extend beagle-bsp with required settings.

BeagleY-AI for now remains on 6.1 BSP with U-boot 2023.04.

---
 meta-beagle/conf/machine/beagle-x15.conf      |  2 +-
 .../conf/machine/beaglebone-ai64-k3r5.conf    |  8 ++-
 meta-beagle/conf/machine/beaglebone-ai64.conf | 19 ++++--
 meta-beagle/conf/machine/beaglebone.conf      |  2 +-
 meta-beagle/conf/machine/beagleplay-k3r5.conf |  5 +-
 meta-beagle/conf/machine/beagleplay.conf      | 37 +++++++++-
 meta-beagle/conf/machine/beagley-ai-k3r5.conf |  4 +-
 meta-beagle/conf/machine/beagley-ai.conf      |  6 +-
 .../conf/machine/include/beagle-bsp.inc       | 47 +++++++++----
 .../u-boot/u-boot-bb.org_2024.10.bb           | 12 ++++
 .../defconfig                                 |  0
 .../recipes-kernel/linux/linux-bb.org_6.6.bb  | 68 +++++++++++++++++++
 12 files changed, 179 insertions(+), 31 deletions(-)
 create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
 copy meta-beagle/recipes-kernel/linux/{linux-bb.org-6.1 => linux-bb.org-6.6}/defconfig (100%)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
meta-beagle/conf/machine/beagle-x15.conf +1 -1
index e9ab5d40..8ad028f4 100644
@@ -7,7 +7,7 @@ require conf/machine/include/beagle-bsp.inc
 
 DT_VENDOR_PREFIX = "ti/omap/"
 DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
-DT_VENDOR_PREFIX:bsp-bb_org = ""
+DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
 
 KERNEL_DEVICETREE_PREFIX = " \
 ${DT_VENDOR_PREFIX}am57xx-beagle-x15 \
meta-beagle/conf/machine/beaglebone-ai64-k3r5.conf +5 -3
index 95d3abc0..4574f82b 100644
@@ -15,8 +15,10 @@ UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
 UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
 UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
 
-UBOOT_MACHINE = "j721e_evm_r5_defconfig"
-UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_r5_defconfig"
+UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"
 
-UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_r5.config"
+UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_r5_defconfig"
 UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_r5.config"
+
+UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_r5_defconfig"
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_r5.config"
meta-beagle/conf/machine/beaglebone-ai64.conf +13 -6
index faffd0bb..a521c8cf 100644
@@ -5,18 +5,25 @@
 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 = ""
+IMAGE_SR1_1_HS_FS_FILES = ""
+IMAGE_SR1_1_HS_SE_FILES = ""
+IMAGE_SR2_HS_FS_FILES = ""
+IMAGE_SR2_HS_SE_FILES = ""
 
-UBOOT_MACHINE = "j721e_evm_a72_config"
-UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_a72_defconfig"
+UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
 
+UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_a72_config"
 UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_a72.config"
-UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_a72.config"
+
+UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_a72_config"
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_a72.config"
 
 SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
 SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
 
+SPL_BINARY:bsp-bb_org-6_6 = "tispl.bin_unsigned"
+SPL_BINARYNAME:bsp-bb_org-6_6 = "tispl.bin"
+
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-j721e \
 "
@@ -29,7 +36,7 @@ ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
 ti/k3-j721e-sk.dtb \
 "
 
-KERNEL_DEVICETREE:append:bsp-bb_org = " \
+KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
 ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
 ti/k3-j721e-common-proc-board-infotainment.dtbo \
 ti/k3-j721e-evm-csi2-ov5640.dtbo \
meta-beagle/conf/machine/beaglebone.conf +1 -1
index 6048383b..456da618 100644
@@ -7,7 +7,7 @@ require conf/machine/include/beagle-bsp.inc
 
 DT_VENDOR_PREFIX = "ti/omap/"
 DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
-DT_VENDOR_PREFIX:bsp-bb_org = ""
+DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
 
 KERNEL_DEVICETREE_PREFIX = " \
 ${DT_VENDOR_PREFIX}am335x-bone \
meta-beagle/conf/machine/beagleplay-k3r5.conf +4 -1
index 1423aa10..3e7f0c1b 100644
@@ -3,6 +3,9 @@
 #@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"
+UBOOT_MACHINE:bsp-bb_org-6_6 = "am62x_beagleplay_r5_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_r5.config"
meta-beagle/conf/machine/beagleplay.conf +35 -2
index 1977b4c1..b1a463e1 100644
@@ -3,11 +3,17 @@
 #@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
 
 require conf/machine/beagleplay-ti.conf
+
 require conf/machine/include/beagle-bsp.inc
 
-UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config"
+UBOOT_MACHINE:bsp-bb_org-6_6 = "am62x_beagleplay_a53_defconfig"
+
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_a53.config"
+
+SPL_BINARY:bsp-bb_org-6_6 = "tispl.bin_unsigned"
+SPL_BINARYNAME:bsp-bb_org-6_6 = "tispl.bin"
 
-KERNEL_DEVICETREE:append:bsp-bb_org = " \
+KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
 ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
 ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
 ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
@@ -43,3 +49,30 @@ ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \
 ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
 ti/k3-am62x-sk-mcan.dtbo \
 "
+
+KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \
+ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
+ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
+ti/k3-am625-beagleplay.dtb \
+ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
+ti/k3-am625-minimal.dtb \
+ti/k3-am625-sk.dtb \
+ti/k3-am625-sk-ecap-capture.dtbo \
+ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
+ti/k3-am625-sk-m2-cc3301.dtbo \
+ti/k3-am625-sk-mcspi-loopback.dtbo \
+ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
+ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
+ti/k3-am62x-sk-csi2-imx219.dtbo \
+ti/k3-am62x-sk-csi2-ov5640.dtbo \
+ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
+ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
+ti/k3-am62x-sk-dmtimer-pwm.dtbo \
+ti/k3-am62x-sk-eqep.dtbo \
+ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
+ti/k3-am62x-sk-hdmi-audio.dtbo \
+ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
+ti/k3-am62x-sk-mcan.dtbo \
+ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
+ti/k3-am62x-sk-pwm.dtbo \
+"
meta-beagle/conf/machine/beagley-ai-k3r5.conf +3 -1
index 87462e72..6cc370d1 100644
@@ -3,6 +3,8 @@
 #@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
 
 require conf/machine/include/k3r5.inc
+
+TI_PREFERRED_BSP ?= "bb_org-6_1"
 require conf/machine/include/beagle-bsp.inc
 
 SYSFW_SOC = "j722s"
@@ -11,4 +13,4 @@ SYSFW_SUFFIX = "hs-fs"
 
 UBOOT_MACHINE = "j722s_evm_r5_defconfig"
 
-UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am67a_beagley_ai_r5.config"
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config"
meta-beagle/conf/machine/beagley-ai.conf +4 -2
index 8dcc9b14..9b1832d2 100644
@@ -3,11 +3,13 @@
 #@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
 
 require conf/machine/include/j722s.inc
+
+TI_PREFERRED_BSP ?= "bb_org-6_1"
 require conf/machine/include/beagle-bsp.inc
 
 UBOOT_MACHINE = "j722s_evm_a53_config"
 
-UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am67a_beagley_ai_a53.config"
+UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_a53.config"
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-j722s \
@@ -15,7 +17,7 @@ KERNEL_DEVICETREE_PREFIX = " \
 
 KERNEL_DEVICETREE = ""
 
-KERNEL_DEVICETREE:append:bsp-bb_org = " \
+KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
 ti/k3-j722s-evm.dtb \
 ti/k3-am67a-beagley-ai.dtb \
 "
meta-beagle/conf/machine/include/beagle-bsp.inc +33 -14

57 lines not on this page · raw message

meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb new file +12 -0
new file mode 100644
index 00000000..10b20873
@@ -0,0 +1,12 @@
+require recipes-bsp/u-boot/u-boot-ti.inc
+
+SUMMARY = "BeagleBoard.org U-Boot"
+
+COMPATIBLE_MACHINE = "beagle.*"
+
+PV = "2024.10"
+
+UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+BRANCH = "v2024.10-Beagle"
+SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9"
meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/defconfig renamed from meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig +0 -0
similarity index 100%
copy from meta-beagle/recipes-kernel/linux/linux-bb.org-6.1/defconfig
copy to meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/defconfig
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
2.17.1
#12 lore raw

PATCH 12/13 linux-bb.org_6.6: disable FORTIFY_SOURCE for now

In reply to Ryan Eatmon

From: Denys Dmytriyenko <[email protected]>

Rogue graphics driver 24.1 currently fails to build against the kernel that enables FORTIFY_SOURCE, such as bb.org. Disable this config for now, until the driver is fixed.

---
 .../recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg       | 1 +
 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb           | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg new file +1 -0
new file mode 100644
index 00000000..808f9519
@@ -0,0 +1 @@
+CONFIG_FORTIFY_SOURCE=n
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb +3 -0
index bf8f8a24..056142d9 100644
@@ -66,3 +66,6 @@ PV:aarch64 = "6.6.58+git"
 BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
 
 KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
+
+SRC_URI += "file://no-fortify.cfg"
+KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"
Signature · 1 line
2.17.1
#13 lore raw

PATCH 13/13 meta-beagle: Add SECURITY file

In reply to Ryan Eatmon

Add missing SECURITY file required by yocto-check-layer.

---
 {meta-ti-bsp => meta-beagle}/SECURITY | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 copy {meta-ti-bsp => meta-beagle}/SECURITY (100%)
meta-beagle/SECURITY renamed from meta-ti-bsp/SECURITY +0 -0
similarity index 100%
copy from meta-ti-bsp/SECURITY
copy to meta-beagle/SECURITY
Signature · 1 line
2.17.1
#14 lore raw
In reply to Ryan Eatmon
Quoted 1 line · Ryan Eatmon via lists.yoctoproject.org

Backport of the meta-beagle patches from master.

Are there any changes here from my backport to scarthgap I posted yesterday? Or is it just a re-post?

Quoted 73 lines

Denys Dmytriyenko (12):
conf/machine: rename beagleplay machine to beagleplay-ti
meta-beagle: create a separate layer for Beagle platforms
meta-beagle: layer.conf: add lz4c to host tools list conf/machine: move "bb_org" BSP settings to meta-beagle conf/machine: split beagleplay config between meta-ti-bsp and
meta-beagle
conf/machine: move remaining Beagle platforms to meta-beagle u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle linux-bb.org: update Beagle BSP to 6.1.83
conf/machine: add BeagleY-AI platform
linux-bb.org, u-boot-bb.org: rename recipes with version beagle-bsp, linux-bb.org, u-boot-bb.org: add support for 6.6 BSP linux-bb.org_6.6: disable FORTIFY_SOURCE for now

Ryan Eatmon (1):
meta-beagle: Add SECURITY file

 {meta-ti-extras => meta-beagle}/COPYING.MIT   | 24 ++---
 {meta-ti-extras => meta-beagle}/README        | 10 +-
 {meta-ti-bsp => meta-beagle}/SECURITY         |  0
 meta-beagle/conf/layer.conf                   | 17 ++++
 .../conf/machine/beagle-x15.conf              |  5 +-
 .../conf/machine/beaglebone-ai64-k3r5.conf    | 11 ++-
 .../conf/machine/beaglebone-ai64.conf         | 22 +++--
 .../conf/machine/beaglebone.conf              |  5 +-
 meta-beagle/conf/machine/beagleplay-k3r5.conf | 11 +++
 meta-beagle/conf/machine/beagleplay.conf      | 78 +++++++++++++++
 meta-beagle/conf/machine/beagley-ai-k3r5.conf | 16 ++++
 meta-beagle/conf/machine/beagley-ai.conf      | 25 +++++
 .../conf/machine/include/beagle-bsp.inc       | 43 +++++++++
 .../u-boot/u-boot-bb.org_2023.04.bb           |  7 +-
 .../u-boot/u-boot-bb.org_2024.10.bb           | 12 +++
 .../linux/linux-bb.org-6.1}/defconfig         |  0
 .../linux/linux-bb.org-6.6}/defconfig         |  0
 .../linux/linux-bb.org-6.6/no-fortify.cfg     |  1 +
 .../recipes-kernel/linux/linux-bb.org_6.1.bb  | 19 ++--
 .../recipes-kernel/linux/linux-bb.org_6.6.bb  | 71 ++++++++++++++
 ...play-k3r5.conf => beagleplay-ti-k3r5.conf} |  1 -
 meta-ti-bsp/conf/machine/beagleplay-ti.conf   | 49 ++++++++++
 meta-ti-bsp/conf/machine/beagleplay.conf      | 96 -------------------
 meta-ti-bsp/conf/machine/include/ti-bsp.inc   | 21 +---
 ...void-64-bit-division-in-ioc_timer_fn.patch | 56 -----------
 ...-gcc13-keep-large-values-in-a-new-en.patch | 54 -----------
 26 files changed, 382 insertions(+), 272 deletions(-)
 copy {meta-ti-extras => meta-beagle}/COPYING.MIT (86%)
 copy {meta-ti-extras => meta-beagle}/README (82%)
 copy {meta-ti-bsp => meta-beagle}/SECURITY (100%)
 create mode 100644 meta-beagle/conf/layer.conf
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beagle-x15.conf (89%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64-k3r5.conf (66%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64.conf (65%)
 rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone.conf (92%)
 create mode 100644 meta-beagle/conf/machine/beagleplay-k3r5.conf
 create mode 100644 meta-beagle/conf/machine/beagleplay.conf
 create mode 100644 meta-beagle/conf/machine/beagley-ai-k3r5.conf
 create mode 100644 meta-beagle/conf/machine/beagley-ai.conf
 create mode 100644 meta-beagle/conf/machine/include/beagle-bsp.inc
 rename meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb => meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb (61%)
 create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
 copy {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.1}/defconfig (100%)
 rename {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.6}/defconfig (100%)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
 rename meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb => meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb (76%)
 create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
 rename meta-ti-bsp/conf/machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} (88%)
 create mode 100644 meta-ti-bsp/conf/machine/beagleplay-ti.conf
 delete mode 100644 meta-ti-bsp/conf/machine/beagleplay.conf
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
Signature · 1 line
2.17.1
#15 lore raw
Quoted 5 lines · Denys Dmytriyenko
Quoted 1 line · Ryan Eatmon via lists.yoctoproject.org

Backport of the meta-beagle patches from master.

Are there any changes here from my backport to scarthgap I posted yesterday? Or is it just a re-post?

I just completely missed that you sent the series yesterday. Ooops.

Quoted 74 lines
Quoted 74 lines

Denys Dmytriyenko (12):
conf/machine: rename beagleplay machine to beagleplay-ti
meta-beagle: create a separate layer for Beagle platforms
meta-beagle: layer.conf: add lz4c to host tools list conf/machine: move "bb_org" BSP settings to meta-beagle conf/machine: split beagleplay config between meta-ti-bsp and
meta-beagle
conf/machine: move remaining Beagle platforms to meta-beagle u-boot-bb_org, linux-bb_org: move "bb_org" providers to meta-beagle linux-bb.org: update Beagle BSP to 6.1.83
conf/machine: add BeagleY-AI platform
linux-bb.org, u-boot-bb.org: rename recipes with version beagle-bsp, linux-bb.org, u-boot-bb.org: add support for 6.6 BSP linux-bb.org_6.6: disable FORTIFY_SOURCE for now

Ryan Eatmon (1):
meta-beagle: Add SECURITY file

  {meta-ti-extras => meta-beagle}/COPYING.MIT   | 24 ++---
  {meta-ti-extras => meta-beagle}/README        | 10 +-
  {meta-ti-bsp => meta-beagle}/SECURITY         |  0
  meta-beagle/conf/layer.conf                   | 17 ++++
  .../conf/machine/beagle-x15.conf              |  5 +-
  .../conf/machine/beaglebone-ai64-k3r5.conf    | 11 ++-
  .../conf/machine/beaglebone-ai64.conf         | 22 +++--
  .../conf/machine/beaglebone.conf              |  5 +-
  meta-beagle/conf/machine/beagleplay-k3r5.conf | 11 +++
  meta-beagle/conf/machine/beagleplay.conf      | 78 +++++++++++++++
  meta-beagle/conf/machine/beagley-ai-k3r5.conf | 16 ++++
  meta-beagle/conf/machine/beagley-ai.conf      | 25 +++++
  .../conf/machine/include/beagle-bsp.inc       | 43 +++++++++
  .../u-boot/u-boot-bb.org_2023.04.bb           |  7 +-
  .../u-boot/u-boot-bb.org_2024.10.bb           | 12 +++
  .../linux/linux-bb.org-6.1}/defconfig         |  0
  .../linux/linux-bb.org-6.6}/defconfig         |  0
  .../linux/linux-bb.org-6.6/no-fortify.cfg     |  1 +
  .../recipes-kernel/linux/linux-bb.org_6.1.bb  | 19 ++--
  .../recipes-kernel/linux/linux-bb.org_6.6.bb  | 71 ++++++++++++++
  ...play-k3r5.conf => beagleplay-ti-k3r5.conf} |  1 -
  meta-ti-bsp/conf/machine/beagleplay-ti.conf   | 49 ++++++++++
  meta-ti-bsp/conf/machine/beagleplay.conf      | 96 -------------------
  meta-ti-bsp/conf/machine/include/ti-bsp.inc   | 21 +---
  ...void-64-bit-division-in-ioc_timer_fn.patch | 56 -----------
  ...-gcc13-keep-large-values-in-a-new-en.patch | 54 -----------
  26 files changed, 382 insertions(+), 272 deletions(-)

copy {meta-ti-extras => meta-beagle}/COPYING.MIT (86%)
copy {meta-ti-extras => meta-beagle}/README (82%)
copy {meta-ti-bsp => meta-beagle}/SECURITY (100%)
create mode 100644 meta-beagle/conf/layer.conf
rename {meta-ti-bsp => meta-beagle}/conf/machine/beagle-x15.conf (89%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64-k3r5.conf (66%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone-ai64.conf (65%)
rename {meta-ti-bsp => meta-beagle}/conf/machine/beaglebone.conf (92%)
create mode 100644 meta-beagle/conf/machine/beagleplay-k3r5.conf
create mode 100644 meta-beagle/conf/machine/beagleplay.conf
create mode 100644 meta-beagle/conf/machine/beagley-ai-k3r5.conf
create mode 100644 meta-beagle/conf/machine/beagley-ai.conf
create mode 100644 meta-beagle/conf/machine/include/beagle-bsp.inc
rename meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb => meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2023.04.bb (61%) create mode 100644 meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
copy {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.1}/defconfig (100%) rename {meta-ti-bsp/recipes-kernel/linux/linux-bb.org => meta-beagle/recipes-kernel/linux/linux-bb.org-6.6}/defconfig (100%) create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org-6.6/no-fortify.cfg
rename meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb => meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb (76%) create mode 100644 meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
rename meta-ti-bsp/conf/machine/{beagleplay-k3r5.conf => beagleplay-ti-k3r5.conf} (88%)
create mode 100644 meta-ti-bsp/conf/machine/beagleplay-ti.conf
delete mode 100644 meta-ti-bsp/conf/machine/beagleplay.conf
delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch

Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS