u-boot-ti: Do not depend on DM firmware for R5 builds
PATCH 1/4 u-boot-ti: Do not depend on DM firmware for R5 builds
This is not needed as the R5 builds do not use the firmware and can cause issues as ti-rtos-firmware does not handle MULTICONFIG well.
--- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +5 -5
@@ -33,11 +33,11 @@ PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/b PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-ipc/${DM_FIRMWARE},,ti-rtos-firmware" PACKAGECONFIG:append:aarch64 = " atf optee" -PACKAGECONFIG:append:j721e = " dm" -PACKAGECONFIG:append:j7200 = " dm" -PACKAGECONFIG:append:j721s2 = " dm" -PACKAGECONFIG:append:j784s4 = " dm" -PACKAGECONFIG:append:am62xx = " dm" +PACKAGECONFIG:append:aarch64:j721e = " dm" +PACKAGECONFIG:append:aarch64:j7200 = " dm" +PACKAGECONFIG:append:aarch64:j721s2 = " dm" +PACKAGECONFIG:append:aarch64:j784s4 = " dm" +PACKAGECONFIG:append:aarch64:am62xx = " dm" COMPATIBLE_MACHINE = "(ti-soc)"
Signature · 1 line
2.39.1
PATCH 2/4 conf: machine: Add proper SOC_FAMILY for R5 builds
Having our SOC_FAMILY set to our SoC name can be useful in recipes that need SoC specific configuration. Add SoC names.
Setting the revision and security type is less useful here and not used. Remove that while here.
--- meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf | 2 +- meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf | 1 + 17 files changed, 15 insertions(+), 5 deletions(-)
meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf +1 -1
@@ -5,7 +5,7 @@ # Booting GP requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-gp" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf +1 -1
@@ -5,7 +5,7 @@ # Booting SR2.0 HS-FS requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-fs" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf +1 -1
@@ -5,7 +5,7 @@ # Booting SR2.0 HS-SE requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-se" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf +0 -1
@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"
meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf +0 -1
@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-hs-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"
meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org" PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200_sr2" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e_sr1_1" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf +1 -0
@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J784S4 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j784s4" SYSFW_SOC = "j784s4" SYSFW_CONFIG = "evm"
Signature · 1 line
2.39.1
PATCH 3/4 ti-sci-fw: Use SOC_FAMILY to select boot and sysfw type
In reply to Andrew DavisUse the new SOC_FAMILY SoC information to select boot type and SYSFW/TIFS split. This removes the need to add to this recipe for each new board, only for new SoCs.
--- .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 36 +++++-------------- 1 file changed, 9 insertions(+), 27 deletions(-)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +9 -27
@@ -4,14 +4,8 @@ export TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secd include recipes-ti/includes/ti-paths.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native virtual/bootloader" -DEPENDS:remove:am65xx-evm-k3r5 = "virtual/bootloader" -DEPENDS:remove:am65xx-evm-k3r5-sr2 = "virtual/bootloader" -DEPENDS:remove:am65xx-hs-evm-k3r5 = "virtual/bootloader" -DEPENDS:remove:am65xx-hs-evm-k3r5-sr2 = "virtual/bootloader" -DEPENDS:remove:j721e-evm-k3r5 = "virtual/bootloader" -DEPENDS:remove:j721e-hs-evm-k3r5 = "virtual/bootloader" -DEPENDS:remove:j721e-hs-evm-k3r5-sr1-1 = "virtual/bootloader" -DEPENDS:remove:beaglebone-ai64-k3r5 = "virtual/bootloader" +DEPENDS:remove:am65xx = "virtual/bootloader" +DEPENDS:remove:j721e = "virtual/bootloader" DEPENDS:append = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }" CLEANBROKEN = "1"
@@ -31,17 +25,11 @@ SYSFW_SUFFIX ?= "unknown" SYSFW_CONFIG ?= "unknown" SYSFW_PREFIX = "sci" -SYSFW_PREFIX:j721e-evm-k3r5 = "fs" -SYSFW_PREFIX:j721e-hs-evm-k3r5 = "fs" -SYSFW_PREFIX:j721e-hs-evm-k3r5-sr1-1 = "fs" -SYSFW_PREFIX:beaglebone-ai64-k3r5 = "fs" -SYSFW_PREFIX:j7200-evm-k3r5 = "fs" -SYSFW_PREFIX:j7200-hs-evm-k3r5 = "fs" -SYSFW_PREFIX:j721s2-evm-k3r5 = "fs" -SYSFW_PREFIX:j721s2-hs-evm-k3r5 = "fs" -SYSFW_PREFIX:j784s4-evm-k3r5 = "fs" -SYSFW_PREFIX:am62xx-evm-k3r5 = "fs" -SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs" +SYSFW_PREFIX:j721e = "fs" +SYSFW_PREFIX:j7200 = "fs" +SYSFW_PREFIX:j721s2 = "fs" +SYSFW_PREFIX:j784s4 = "fs" +SYSFW_PREFIX:am62xx = "fs" SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
@@ -65,14 +53,8 @@ EXTRA_OEMAKE = "\ CONFIG=${SYSFW_CONFIG} SYSFW_DIR="${S}/ti-sysfw" \ SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin" \ " -EXTRA_OEMAKE:remove:am65xx-evm-k3r5 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:am65xx-evm-k3r5-sr2 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:am65xx-hs-evm-k3r5 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:am65xx-hs-evm-k3r5-sr2 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:j721e-evm-k3r5 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:j721e-hs-evm-k3r5 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:j721e-hs-evm-k3r5-sr1-1 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" -EXTRA_OEMAKE:remove:beaglebone-ai64-k3r5 = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" +EXTRA_OEMAKE:remove:am65xx = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" +EXTRA_OEMAKE:remove:j721e = "SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" do_compile() { cd ${WORKDIR}/imggen/
Signature · 1 line
2.39.1
PATCH 4/4 ti-sci-fw: Make split TIFS and DM the default
In reply to Andrew DavisGoing forward, the split TIFS/DM is going to be more common. Only AM65x and AM64x still use the combined SYSFW.
Set SYSFW_PREFIX for split "fs" firmware and override only for the two combined "sci" platforms. This makes it easier to add new platforms as no change will be needed to this recipe.
--- meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +3 -6
@@ -24,12 +24,9 @@ SYSFW_SOC ?= "unknown" SYSFW_SUFFIX ?= "unknown" SYSFW_CONFIG ?= "unknown" -SYSFW_PREFIX = "sci" -SYSFW_PREFIX:j721e = "fs" -SYSFW_PREFIX:j7200 = "fs" -SYSFW_PREFIX:j721s2 = "fs" -SYSFW_PREFIX:j784s4 = "fs" -SYSFW_PREFIX:am62xx = "fs" +SYSFW_PREFIX = "fs" +SYSFW_PREFIX:am65xx = "sci" +SYSFW_PREFIX:am64xx = "sci" SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
Signature · 1 line
2.39.1
Re: [meta-ti][master/kirkstone][PATCH 2/4] conf: machine: Add proper SOC_FAMILY for R5 builds
In reply to Andrew DavisNAK, you should not mix overrides for different archs.
I also have this cleanup for R5 machine overrides pending, but using unique names rather than the same ones with the main cores. I'll try to submit that one shortly...
Quoted 236 lines · Andrew Davis via lists.yoctoproject.org
Having our
SOC_FAMILYset to our SoC name can be useful in recipes that need SoC specific configuration. Add SoC names.Setting the revision and security type is less useful here and not used. Remove that while here.
Signed-off-by Andrew Davis <[email protected]>--- meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf | 2 +- meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf | 1 + 17 files changed, 15 insertions(+), 5 deletions(-)meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf +1
-1@@ -5,7 +5,7 @@ # Booting GP requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-gp" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf +1
-1@@ -5,7 +5,7 @@ # Booting SR2.0 HS-FS requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-fs" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf +1
-1@@ -5,7 +5,7 @@ # Booting SR2.0 HS-SE requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-se" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf +0
-1@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf +0
-1@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-hs-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org" PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e_sr1_1" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J784S4 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j784s4" SYSFW_SOC = "j784s4" SYSFW_CONFIG = "evm"Signature · 1 line
2.39.1
Re: [meta-ti][master/kirkstone][PATCH 2/4] conf: machine: Add proper SOC_FAMILY for R5 builds
Quoted 2 lines · Denys Dmytriyenko
NAK, you should not mix overrides for different archs.
Why? This seems to work just fine, and the SOC_FAMILY is am64xx no matter the core the code runs on, seems like an odd rule not to have that.
Quoted 242 lines
I also have this cleanup for R5 machine overrides pending, but using unique names rather than the same ones with the main cores. I'll try to submit that one shortly...
Quoted 236 lines · Andrew Davis via lists.yoctoproject.org
Having our
SOC_FAMILYset to our SoC name can be useful in recipes that need SoC specific configuration. Add SoC names.Setting the revision and security type is less useful here and not used. Remove that while here.
Signed-off-by Andrew Davis <[email protected]>--- meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf | 2 +- meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf | 2 +- meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf | 1 - meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf | 1 + meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf | 1 + 17 files changed, 15 insertions(+), 5 deletions(-)meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am62xx" SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-gp.conf +1
-1@@ -5,7 +5,7 @@ # Booting GP requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-gp" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-fs.conf +1
-1@@ -5,7 +5,7 @@ # Booting SR2.0 HS-FS requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-fs" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am64xx-evm-k3r5-sr2-hs-se.conf +1
-1@@ -5,7 +5,7 @@ # Booting SR2.0 HS-SE requires different SYSFW, the rest is handled at runtime require conf/machine/include/k3r5.inc -SOC_FAMILY:append = ":k3r5-sr2-hs-se" +SOC_FAMILY:append = ":am64xx" SYSFW_SOC = "am64x_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf +0
-1@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf +0
-1@@ -5,7 +5,6 @@ # Booting SR2 requires different SYSFW, the rest is handled at runtime require conf/machine/am65xx-hs-evm-k3r5.conf -SOC_FAMILY:append = ":k3r5-sr2" SYSFW_SOC = "am65x_sr2" SYSFW_SYMLINK = "sysfw.itb"meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":am65xx" SYSFW_SOC = "am65x" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org" PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j7200" SYSFW_SOC = "j7200_sr2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721e HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721e" SYSFW_SOC = "j721e_sr1_1" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j721s2" SYSFW_SOC = "j721s2" SYSFW_CONFIG = "evm"meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf +1
-0@@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for the TI J784S4 EVM (R5F core) require conf/machine/include/k3r5.inc +SOC_FAMILY:append = ":j784s4" SYSFW_SOC = "j784s4" SYSFW_CONFIG = "evm"Signature · 1 line
2.39.1