Date   

[dunfell][PATCH 1/3] u-boot-ti-staging: Bump to 08.03.00.003 release

Ryan Eatmon
 

Updated the u-boot version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
index 03c73112..e3214c37 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
@@ -2,8 +2,8 @@ require u-boot-ti.inc

LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

-PR = "r24"
+PR = "r25"

BRANCH = "ti-u-boot-2021.01"

-SRCREV = "edbebb6447c16241031c21b47d27bd3484f78f42"
+SRCREV = "70c33dd821811a05c595f29ecac5abae23534768"
--
2.17.1


Re: [dunfell][PATCH v3 2/2] conf/machine: am62xx: Update build flag for low power mode

Denys Dmytriyenko
 

On Wed, May 04, 2022 at 08:30:06PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

+TFA_K3_SYSTEM_SUSPEND = "1"
Might want to keep this TFA_ variable together with the other TFA_BOARD being
set futher down in the file, to avoid scattering them all over...

Otherwise looks good to me.


+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..68bfa899 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"

EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE_append_k3 = "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"

do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
--
2.17.1


Re: [master][PATCH 1/5] am62xx, j721s2: move "gpu" machine feature from machine to soc config

Ryan Eatmon
 

Series applied to master.

On 5/5/2022 12:44, Denys Dmytriyenko wrote:
From: Denys Dmytriyenko <denys@...>
In most cases machine features should be set in the corresponding SoC config
to be applicable to different machine variants, like GP, HS or custom board.
Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/am62xx-evm.conf | 2 --
meta-ti-bsp/conf/machine/include/am62xx.inc | 2 +-
meta-ti-bsp/conf/machine/include/j721s2.inc | 2 ++
meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 --
4 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf
index 44f46d78..33b3294e 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf
@@ -4,8 +4,6 @@
require conf/machine/include/am62xx.inc
-MACHINE_FEATURES += "gpu"
-
KERNEL_DEVICETREE = " \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-csi2-ov5640.dtb \
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc
index f3bde639..56cd7c20 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -1,7 +1,7 @@
require conf/machine/include/k3.inc
SOC_FAMILY:append = ":am62xx"
-MACHINE_FEATURES += "screen touchscreen"
+MACHINE_FEATURES += "screen touchscreen gpu"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc
index 113f86c4..06654179 100644
--- a/meta-ti-bsp/conf/machine/include/j721s2.inc
+++ b/meta-ti-bsp/conf/machine/include/j721s2.inc
@@ -1,2 +1,4 @@
require conf/machine/include/j7.inc
SOC_FAMILY:append = ":j721s2"
+
+MACHINE_FEATURES += "gpu"
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf
index 5d977776..a2c15f74 100644
--- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -4,8 +4,6 @@
require conf/machine/include/j721s2.inc
-MACHINE_FEATURES += "gpu"
-
SERIAL_CONSOLES = "115200;ttyS10"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
TFA_K3_USART = "0x8"
--
Ryan Eatmon reatmon@...
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS


[master][PATCH 2/5] conf/machine: add preferences for 3D graphics providers

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Specify default 3D GLES/EGL providers for platforms using SGX and Rogue G=
PUs,
both kernel and user-space components.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/include/am62xx.inc | 6 ++++++
meta-ti-bsp/conf/machine/include/am65xx.inc | 6 ++++++
meta-ti-bsp/conf/machine/include/j721e.inc | 6 ++++++
meta-ti-bsp/conf/machine/include/j721s2.inc | 6 ++++++
meta-ti-bsp/conf/machine/include/omap-a15.inc | 5 +++++
meta-ti-bsp/conf/machine/include/ti33x.inc | 5 +++++
meta-ti-bsp/conf/machine/include/ti43x.inc | 5 +++++
7 files changed, 39 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/co=
nf/machine/include/am62xx.inc
index 56cd7c20..ce768895 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -6,6 +6,12 @@ MACHINE_FEATURES +=3D "screen touchscreen gpu"
SERIAL_CONSOLES =3D "115200;ttyS2"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
=20
+PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES =3D "${IMAGE_BOOT_FILES_MULTI_CERT}"
=20
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/co=
nf/machine/include/am65xx.inc
index 111ef96f..b71b4686 100644
--- a/meta-ti-bsp/conf/machine/include/am65xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am65xx.inc
@@ -6,6 +6,12 @@ MACHINE_FEATURES +=3D "screen touchscreen gpu"
SERIAL_CONSOLES =3D "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
=20
+PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
+
KERNEL_DEVICETREE =3D " \
ti/k3-am654-base-board.dtb \
ti/k3-am654-base-board-sr1.dtbo \
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/con=
f/machine/include/j721e.inc
index d965327c..85952d32 100644
--- a/meta-ti-bsp/conf/machine/include/j721e.inc
+++ b/meta-ti-bsp/conf/machine/include/j721e.inc
@@ -2,3 +2,9 @@ require conf/machine/include/j7.inc
SOC_FAMILY:append =3D ":j721e"
=20
MACHINE_FEATURES +=3D "gpu"
+
+PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/co=
nf/machine/include/j721s2.inc
index 06654179..65b39118 100644
--- a/meta-ti-bsp/conf/machine/include/j721s2.inc
+++ b/meta-ti-bsp/conf/machine/include/j721s2.inc
@@ -2,3 +2,9 @@ require conf/machine/include/j7.inc
SOC_FAMILY:append =3D ":j721s2"
=20
MACHINE_FEATURES +=3D "gpu"
+
+PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/=
conf/machine/include/omap-a15.inc
index 94ecab34..7cff38dc 100644
--- a/meta-ti-bsp/conf/machine/include/omap-a15.inc
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -10,6 +10,11 @@ MACHINE_KERNEL_PR =3D "r7"
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
KERNEL_IMAGETYPES =3D "zImage uImage"
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/con=
f/machine/include/ti33x.inc
index 083a24b6..2f493404 100644
--- a/meta-ti-bsp/conf/machine/include/ti33x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti33x.inc
@@ -20,6 +20,11 @@ MACHINE_KERNEL_PR =3D "r22"
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
=20
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/con=
f/machine/include/ti43x.inc
index 8757b545..3d69e453 100644
--- a/meta-ti-bsp/conf/machine/include/ti43x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -23,6 +23,11 @@ MACHINE_KERNEL_PR =3D "r3"
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
=20
--=20
2.25.1


[master][PATCH 4/5] conf/machine: remove default setting for xorg

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

meta-ti does not provide official X.org support, so no reason to set any
defaults, just assume the ones from OE-Core.

Also, drop setting MACHINE_GUI_CLASS, which is now only used by the kerne=
l
from meta-openembedded to determine the size of the Tux during boot. Keep
those for now in community Beagle machines.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/am335x-evm.conf | 1 -
meta-ti-bsp/conf/machine/am437x-evm.conf | 1 -
meta-ti-bsp/conf/machine/include/k3.inc | 2 --
meta-ti-bsp/conf/machine/include/omap-a15.inc | 7 -------
meta-ti-bsp/conf/machine/include/ti33x.inc | 9 ---------
meta-ti-bsp/conf/machine/include/ti43x.inc | 12 ------------
6 files changed, 32 deletions(-)

diff --git a/meta-ti-bsp/conf/machine/am335x-evm.conf b/meta-ti-bsp/conf/=
machine/am335x-evm.conf
index 09bd3934..9301406b 100644
--- a/meta-ti-bsp/conf/machine/am335x-evm.conf
+++ b/meta-ti-bsp/conf/machine/am335x-evm.conf
@@ -4,7 +4,6 @@
=20
require conf/machine/include/ti33x.inc
=20
-MACHINE_GUI_CLASS =3D "smallscreen"
MACHINE_FEATURES +=3D "screen touchscreen"
=20
IMAGE_FSTYPES +=3D "ubifs ubi"
diff --git a/meta-ti-bsp/conf/machine/am437x-evm.conf b/meta-ti-bsp/conf/=
machine/am437x-evm.conf
index 4e3681d5..98602add 100644
--- a/meta-ti-bsp/conf/machine/am437x-evm.conf
+++ b/meta-ti-bsp/conf/machine/am437x-evm.conf
@@ -4,7 +4,6 @@
=20
require conf/machine/include/ti43x.inc
=20
-MACHINE_GUI_CLASS =3D "smallscreen"
MACHINE_FEATURES +=3D "touchscreen"
=20
IMAGE_FSTYPES +=3D "ubifs ubi"
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/m=
achine/include/k3.inc
index 7b353129..911b59bd 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -29,8 +29,6 @@ EXTRA_IMAGEDEPENDS +=3D "virtual/bootloader"
TFA_PLATFORM =3D "k3"
TFA_BOARD =3D "generic"
=20
-MACHINE_GUI_CLASS =3D "smallscreen"
-
# Use the expected value of the ubifs filesystem's volume name in the ke=
rnel
# and u-boot.
UBI_VOLNAME =3D "rootfs"
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/=
conf/machine/include/omap-a15.inc
index 8ab614f0..f548f3fd 100644
--- a/meta-ti-bsp/conf/machine/include/omap-a15.inc
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -40,13 +40,6 @@ UBOOT_SUFFIX =3D "img"
=20
EXTRA_IMAGEDEPENDS +=3D "virtual/bootloader"
=20
-PREFERRED_PROVIDER_virtual/xserver =3D "xserver-xorg"
-XSERVER =3D "xserver-xorg \
- xf86-input-evdev \
- xf86-video-fbdev"
-
-MACHINE_GUI_CLASS =3D "smallscreen"
-
# Use the expected value of the ubifs filesystem's volume name in the ke=
rnel
# and u-boot.
UBI_VOLNAME =3D "rootfs"
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/con=
f/machine/include/ti33x.inc
index 06d35f09..cfacc30d 100644
--- a/meta-ti-bsp/conf/machine/include/ti33x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti33x.inc
@@ -4,15 +4,6 @@ SOC_FAMILY:append =3D ":ti33x"
DEFAULTTUNE ?=3D "armv7athf-neon"
require conf/machine/include/arm/armv7a/tune-cortexa8.inc
=20
-PREFERRED_PROVIDER_virtual/xserver =3D "xserver-xorg"
-
-# For built-in LCD, add xf86-input-tslib
-XSERVER =3D "xserver-xorg \
- xf86-input-evdev \
- xf86-input-mouse \
- xf86-video-fbdev \
- xf86-input-keyboard"
-
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR =3D "r22"
=20
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/con=
f/machine/include/ti43x.inc
index 98b374a1..0da5f761 100644
--- a/meta-ti-bsp/conf/machine/include/ti43x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -4,18 +4,6 @@ SOC_FAMILY:append =3D ":ti43x"
DEFAULTTUNE ?=3D "armv7athf-neon"
require conf/machine/include/arm/armv7a/tune-cortexa9.inc
=20
-PREFERRED_PROVIDER_virtual/xserver =3D "xserver-xorg"
-
-# For built-in LCD, add xf86-input-tslib
-XSERVER =3D "xserver-xorg \
- xf86-input-evdev \
- xf86-input-mouse \
- xf86-video-fbdev \
- xf86-input-keyboard"
-
-# Default to external video, change to smallscreen for built-in LCD
-MACHINE_GUI_CLASS =3D "bigscreen"
-
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR =3D "r3"
=20
--=20
2.25.1


[master][PATCH 5/5] ti-rtos-firmware: remove duplicate assignment

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

FILES:${PN} is being assigned twice, remove duplicate.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 2 --
1 file changed, 2 deletions(-)

diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/met=
a-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index f3912784..93429570 100644
--- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -33,8 +33,6 @@ PR =3D "${INC_PR}.0"
# Secure Build=20
DEPENDS +=3D "openssl-native"
=20
-FILES:${PN} +=3D "${nonarch_base_libdir}"
-
TI_SECURE_DEV_PKG ?=3D ""
=20
RTOS_ETH_FW_DIR =3D "${S}/ti-eth/${PLAT_SFX}"
--=20
2.25.1


[master][PATCH 3/5] conf/machine: make default PREFERRED_PROVIDERs easy to override

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Use weak assignment for default PREFERRED_PROVIDER values to allow user t=
o
easily overwrite them from local.conf.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/include/am62xx.inc | 10 +++++-----
meta-ti-bsp/conf/machine/include/am65xx.inc | 10 +++++-----
meta-ti-bsp/conf/machine/include/j721e.inc | 10 +++++-----
meta-ti-bsp/conf/machine/include/j721s2.inc | 10 +++++-----
meta-ti-bsp/conf/machine/include/k3.inc | 4 ++--
meta-ti-bsp/conf/machine/include/omap-a15.inc | 14 +++++++-------
meta-ti-bsp/conf/machine/include/ti33x.inc | 14 +++++++-------
meta-ti-bsp/conf/machine/include/ti43x.inc | 14 +++++++-------
8 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/co=
nf/machine/include/am62xx.inc
index ce768895..bcf435f5 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -6,11 +6,11 @@ MACHINE_FEATURES +=3D "screen touchscreen gpu"
SERIAL_CONSOLES =3D "115200;ttyS2"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
=20
-PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-img-rogue-driver"
=20
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES =3D "${IMAGE_BOOT_FILES_MULTI_CERT}"
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/co=
nf/machine/include/am65xx.inc
index b71b4686..d6bd9810 100644
--- a/meta-ti-bsp/conf/machine/include/am65xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am65xx.inc
@@ -6,11 +6,11 @@ MACHINE_FEATURES +=3D "screen touchscreen gpu"
SERIAL_CONSOLES =3D "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
=20
-PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-sgx-ddk-km"
=20
KERNEL_DEVICETREE =3D " \
ti/k3-am654-base-board.dtb \
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/con=
f/machine/include/j721e.inc
index 85952d32..fe260178 100644
--- a/meta-ti-bsp/conf/machine/include/j721e.inc
+++ b/meta-ti-bsp/conf/machine/include/j721e.inc
@@ -3,8 +3,8 @@ SOC_FAMILY:append =3D ":j721e"
=20
MACHINE_FEATURES +=3D "gpu"
=20
-PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-img-rogue-driver"
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/co=
nf/machine/include/j721s2.inc
index 65b39118..5cd74683 100644
--- a/meta-ti-bsp/conf/machine/include/j721s2.inc
+++ b/meta-ti-bsp/conf/machine/include/j721s2.inc
@@ -3,8 +3,8 @@ SOC_FAMILY:append =3D ":j721s2"
=20
MACHINE_FEATURES +=3D "gpu"
=20
-PREFERRED_PROVIDER_virtual/egl =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-img-rogue-umlibs"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-img-rogue-driver"
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/m=
achine/include/k3.inc
index a39ddd2a..7b353129 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -11,8 +11,8 @@ BBMULTICONFIG +=3D "k3r5"
MACHINE_KERNEL_PR =3D "r0"
=20
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?=3D "u-boot-ti-staging"
=20
KERNEL_IMAGETYPE =3D "Image"
KERNEL_IMAGETYPES =3D "Image vmlinux.gz"
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/=
conf/machine/include/omap-a15.inc
index 7cff38dc..8ab614f0 100644
--- a/meta-ti-bsp/conf/machine/include/omap-a15.inc
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -8,13 +8,13 @@ require conf/machine/include/arm/armv7a/tune-cortexa15.=
inc
MACHINE_KERNEL_PR =3D "r7"
=20
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/bootloader ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
KERNEL_IMAGETYPES =3D "zImage uImage"
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/con=
f/machine/include/ti33x.inc
index 2f493404..06d35f09 100644
--- a/meta-ti-bsp/conf/machine/include/ti33x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti33x.inc
@@ -18,13 +18,13 @@ MACHINE_KERNEL_PR =3D "r22"
=20
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/bootloader ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
=20
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/con=
f/machine/include/ti43x.inc
index 3d69e453..98b374a1 100644
--- a/meta-ti-bsp/conf/machine/include/ti43x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -21,13 +21,13 @@ MACHINE_KERNEL_PR =3D "r3"
=20
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel ?=3D "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot =3D "u-boot-ti-staging"
-PREFERRED_PROVIDER_virtual/egl =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles1 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgles2 =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgbm =3D "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/gpudriver =3D "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/bootloader ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?=3D "u-boot-ti-staging"
+PREFERRED_PROVIDER_virtual/egl ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles1 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgles2 ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/libgbm ?=3D "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/gpudriver ?=3D "ti-sgx-ddk-km"
=20
KERNEL_IMAGETYPE =3D "zImage"
=20
--=20
2.25.1


[master][PATCH 1/5] am62xx, j721s2: move "gpu" machine feature from machine to soc config

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

In most cases machine features should be set in the corresponding SoC con=
fig
to be applicable to different machine variants, like GP, HS or custom boa=
rd.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/am62xx-evm.conf | 2 --
meta-ti-bsp/conf/machine/include/am62xx.inc | 2 +-
meta-ti-bsp/conf/machine/include/j721s2.inc | 2 ++
meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 --
4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/=
machine/am62xx-evm.conf
index 44f46d78..33b3294e 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf
@@ -4,8 +4,6 @@
=20
require conf/machine/include/am62xx.inc
=20
-MACHINE_FEATURES +=3D "gpu"
-
KERNEL_DEVICETREE =3D " \
ti/k3-am625-sk.dtb \
ti/k3-am625-sk-csi2-ov5640.dtb \
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/co=
nf/machine/include/am62xx.inc
index f3bde639..56cd7c20 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -1,7 +1,7 @@
require conf/machine/include/k3.inc
SOC_FAMILY:append =3D ":am62xx"
=20
-MACHINE_FEATURES +=3D "screen touchscreen"
+MACHINE_FEATURES +=3D "screen touchscreen gpu"
=20
SERIAL_CONSOLES =3D "115200;ttyS2"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/co=
nf/machine/include/j721s2.inc
index 113f86c4..06654179 100644
--- a/meta-ti-bsp/conf/machine/include/j721s2.inc
+++ b/meta-ti-bsp/conf/machine/include/j721s2.inc
@@ -1,2 +1,4 @@
require conf/machine/include/j7.inc
SOC_FAMILY:append =3D ":j721s2"
+
+MACHINE_FEATURES +=3D "gpu"
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/=
machine/j721s2-evm.conf
index 5d977776..a2c15f74 100644
--- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -4,8 +4,6 @@
=20
require conf/machine/include/j721s2.inc
=20
-MACHINE_FEATURES +=3D "gpu"
-
SERIAL_CONSOLES =3D "115200;ttyS10"
SERIAL_CONSOLES_CHECK =3D "${SERIAL_CONSOLES}"
TFA_K3_USART =3D "0x8"
--=20
2.25.1


Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode

Ryan Eatmon
 

On 5/4/2022 19:36, Denys Dmytriyenko wrote:
On Wed, May 04, 2022 at 06:49:30PM -0500, Praneeth Bajjuri wrote:
From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..5264fa97 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"
EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
NAK
Either append or +=, not both!
Sending a v3 for Praneeth.


do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
--
2.17.1
--
Ryan Eatmon reatmon@...
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS


[dunfell][PATCH v3 0/2] am62xx: Upgrade ATF to get LP support

Ryan Eatmon
 

This series upgrades ATF to current master which is 2.6+.
This gets much needed AM62 Low power mode feature.

Changes in v3:
* Fixed the build flag patch as commented by Denys Dmytriyenko
Changes in v2:
* Fixed the build flag patch as provided by Nishanth Menon
* updated RFC patch sent earlier to move from ti-atf-next to ti-atf

Nishanth Menon (1):
conf/machine: am62xx: Update build flag for low power mode

Praneeth Bajjuri (1):
trusted-firmware-a: upgrade to v2.6+

conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)

--
2.17.1


[dunfell][PATCH v3 2/2] conf/machine: am62xx: Update build flag for low power mode

Ryan Eatmon
 

From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

+TFA_K3_SYSTEM_SUSPEND = "1"
+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..68bfa899 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"

EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE_append_k3 = "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"

do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
--
2.17.1


[dunfell][PATCH v3 1/2] trusted-firmware-a: upgrade to v2.6+

Ryan Eatmon
 

From: Praneeth Bajjuri <praneeth@...>

upgrade arm-trusted-firmare to master which is currently v2.6+

This upgrade picks up am62x low power mode feature.

Signed-off-by: Praneeth Bajjuri <praneeth@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index b84da1f3..80b1d664 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -1,8 +1,8 @@
-PV_k3 = "2.5"
+PV_k3 = "2.6"
LIC_FILES_CHKSUM_k3 = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
BRANCH_k3 = "ti-atf"
SRC_URI_k3 = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH};name=tfa"
-SRCREV_tfa_k3 = "0693f356eb2a25adf8758d98058120bed082cc73"
+SRCREV_tfa_k3 = "6541aa24f834daa80da701e0054dfe3a16cda0ce"
COMPATIBLE_MACHINE_k3 = "k3"
TFA_BUILD_TARGET_k3 = "all"
TFA_INSTALL_TARGET_k3 = "bl31"
--
2.17.1


Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode

Denys Dmytriyenko
 

On Wed, May 04, 2022 at 06:49:30PM -0500, Praneeth Bajjuri wrote:
From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

+TFA_K3_SYSTEM_SUSPEND = "1"
+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..5264fa97 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"

EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
NAK

Either append or +=, not both!


do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
--
2.17.1
--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964


Re: [dunfell][PATCH] recipes-bsp: tifs-lpm-stub: Introduce new recipe

praneeth
 

On 5/4/2022 4:49 PM, Ryan Eatmon wrote:
On 5/4/2022 16:43, Denys Dmytriyenko wrote:
On Wed, May 04, 2022 at 04:38:44PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
This firmware stub is required by the TI foundational security
software while transitioning to low power mode.

Add a recipe for this compatible with am62xx-evm
Is it GP only FW?
Not sure how to answer that.  I was just told to pick up this change for the release and I cleaned it up to match a more consistent style.
Yes, this signed firmware is applicable for GP only.
We dont have a HS variant yet.



Signed-off-by: Nikhil Devshatwar <nikhil.nd@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
  recipes-bsp/ti-linux-fw/ti-linux-fw.inc       |  1 +
  .../tifs-lpm-stub/tifs-lpm-stub_git.bb        | 24 +++++++++++++++++++
  recipes-kernel/linux/kernel-rdepends.inc      |  4 ++++
  3 files changed, 29 insertions(+)
  create mode 100644 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb

diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 3ebdae30..47e76347 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -18,6 +18,7 @@ GOODIX_FW_VERSION = "1.0.0.0"
  CADENCE_MHDP_FW_VERSION = "1.2.17"
  IMG_DEC_FW_VERSION = "1.0"
  CNM_WAVE521_FW_VERSION = "1.0.00"
+TIFS_LPM_STUB_FW_VERSION = "08.03.02"
  TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa"
  SRCREV = "${TI_LINUX_FW_SRCREV}"
diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
new file mode 100644
index 00000000..642a8d3a
--- /dev/null
+++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -0,0 +1,24 @@
+SUMMARY = "TI Foundational security Low Power Management Stub"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${TIFS_LPM_STUB_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am62xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = "ti-fs-stub-firmware-am62x-gp-signed.bin"
+
+do_install() {
+    install -d ${D}${base_libdir}/firmware/ti-sysfw/
+    install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${base_libdir}/firmware/ti-sysfw/${TARGET}
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 522d9674..17aee4c2 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -45,3 +45,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
  # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw"
+
+# Add run-time dependency for TIFS Low Power Module stub
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub"
+
--
2.17.1


[dunfell PATCH v2 0/2] am62xx: Upgrade ATF to get LP support

praneeth
 

This series upgrades ATF to current master which is 2.6+.
This gets much needed AM62 Low power mode feature.

Changes in v2:
* Fixed the build flag patch as provided by Nishanth Menon
* updated RFC patch sent earlier to move from ti-atf-next to ti-atf

Nishanth Menon (1):
conf/machine: am62xx: Update build flag for low power mode

Praneeth Bajjuri (1):
trusted-firmware-a: upgrade to v2.6+

conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)

--
2.17.1


[dunfell PATCH v2 1/2] trusted-firmware-a: upgrade to v2.6+

praneeth
 

upgrade arm-trusted-firmare to master which is currently v2.6+

This upgrade picks up am62x low power mode feature.

Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index b84da1f3..80b1d664 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -1,8 +1,8 @@
-PV_k3 = "2.5"
+PV_k3 = "2.6"
LIC_FILES_CHKSUM_k3 = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
BRANCH_k3 = "ti-atf"
SRC_URI_k3 = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH};name=tfa"
-SRCREV_tfa_k3 = "0693f356eb2a25adf8758d98058120bed082cc73"
+SRCREV_tfa_k3 = "6541aa24f834daa80da701e0054dfe3a16cda0ce"
COMPATIBLE_MACHINE_k3 = "k3"
TFA_BUILD_TARGET_k3 = "all"
TFA_INSTALL_TARGET_k3 = "bl31"
--
2.17.1


[dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode

praneeth
 

From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

+TFA_K3_SYSTEM_SUSPEND = "1"
+
# AM62 supports multi-certificate images, use the same
IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"

diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..5264fa97 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"

EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"

do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
--
2.17.1


Re: [dunfell PATCH] conf/machine: am62xx: Update build flag for low power mode

praneeth
 

On 5/3/2022 3:16 PM, Denys Dmytriyenko wrote:
On Tue, May 03, 2022 at 02:25:09PM -0500, Praneeth Bajjuri wrote:
Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
How is this getting passed to ATF?
This patch is wrong, Will submit a new one.


OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"
--
2.17.1


Re: [dunfell][PATCH] recipes-bsp: tifs-lpm-stub: Introduce new recipe

Denys Dmytriyenko
 

On Wed, May 04, 2022 at 04:49:23PM -0500, Ryan Eatmon wrote:


On 5/4/2022 16:43, Denys Dmytriyenko wrote:
On Wed, May 04, 2022 at 04:38:44PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
This firmware stub is required by the TI foundational security
software while transitioning to low power mode.

Add a recipe for this compatible with am62xx-evm
Is it GP only FW?
Not sure how to answer that. I was just told to pick up this change
for the release and I cleaned it up to match a more consistent
style.
Adding Nikhil to direct recipients.

The reason I'm asking - the change is specific to am62xx-evm and not a more
generic am62xx family (GP, HS, custom(er) boards).

Plus the FW name is "ti-fs-stub-firmware-am62x-gp-signed.bin" with GP in the
name, hence the question.



Signed-off-by: Nikhil Devshatwar <nikhil.nd@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 +
.../tifs-lpm-stub/tifs-lpm-stub_git.bb | 24 +++++++++++++++++++
recipes-kernel/linux/kernel-rdepends.inc | 4 ++++
3 files changed, 29 insertions(+)
create mode 100644 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb

diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 3ebdae30..47e76347 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -18,6 +18,7 @@ GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"
+TIFS_LPM_STUB_FW_VERSION = "08.03.02"
TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa"
SRCREV = "${TI_LINUX_FW_SRCREV}"
diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
new file mode 100644
index 00000000..642a8d3a
--- /dev/null
+++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -0,0 +1,24 @@
+SUMMARY = "TI Foundational security Low Power Management Stub"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${TIFS_LPM_STUB_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am62xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = "ti-fs-stub-firmware-am62x-gp-signed.bin"
+
+do_install() {
+ install -d ${D}${base_libdir}/firmware/ti-sysfw/
+ install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${base_libdir}/firmware/ti-sysfw/${TARGET}
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 522d9674..17aee4c2 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -45,3 +45,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
# Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw"
+
+# Add run-time dependency for TIFS Low Power Module stub
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub"
+
--
2.17.1


Re: [dunfell][PATCH] recipes-bsp: tifs-lpm-stub: Introduce new recipe

Ryan Eatmon
 

On 5/4/2022 16:43, Denys Dmytriyenko wrote:
On Wed, May 04, 2022 at 04:38:44PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
This firmware stub is required by the TI foundational security
software while transitioning to low power mode.

Add a recipe for this compatible with am62xx-evm
Is it GP only FW?
Not sure how to answer that. I was just told to pick up this change for the release and I cleaned it up to match a more consistent style.


Signed-off-by: Nikhil Devshatwar <nikhil.nd@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 +
.../tifs-lpm-stub/tifs-lpm-stub_git.bb | 24 +++++++++++++++++++
recipes-kernel/linux/kernel-rdepends.inc | 4 ++++
3 files changed, 29 insertions(+)
create mode 100644 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb

diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 3ebdae30..47e76347 100644
--- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -18,6 +18,7 @@ GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.00"
+TIFS_LPM_STUB_FW_VERSION = "08.03.02"
TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa"
SRCREV = "${TI_LINUX_FW_SRCREV}"
diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
new file mode 100644
index 00000000..642a8d3a
--- /dev/null
+++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -0,0 +1,24 @@
+SUMMARY = "TI Foundational security Low Power Management Stub"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${TIFS_LPM_STUB_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am62xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = "ti-fs-stub-firmware-am62x-gp-signed.bin"
+
+do_install() {
+ install -d ${D}${base_libdir}/firmware/ti-sysfw/
+ install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${base_libdir}/firmware/ti-sysfw/${TARGET}
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 522d9674..17aee4c2 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -45,3 +45,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
# Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw"
+
+# Add run-time dependency for TIFS Low Power Module stub
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub"
+
--
2.17.1
--
Ryan Eatmon reatmon@...
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

161 - 180 of 14873