Date   

[master][PATCH 01/10] u-boot-ti: Use SRCPV instead of SRCREV for U_BOOT_LOCAL_VERSION

Denys Dmytriyenko
 

From: Nishanth Menon <nm@...>

SRCREV works with fixed commits, but when we use AUTOREV for a
downstream distro bbappend, we will end up getting a bad local
revision.

Lets use SRCPV instead, which bitbake already deals with sensibly.

[1] https://www.yoctoproject.org/docs/2.5.1/dev-manual/dev-manual.html#au=
tomatically-incrementing-a-binary-package-revision-number

Fixes: 39fa0c1d3d02 ("u-boot-ti: Use SRCREV to get short commit ID")
Suggested-by: Denys Dmytriyenko <denys@...>
Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/r=
ecipes-bsp/u-boot/u-boot-ti.inc
index 5ddcaff7..dddf6284 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
@@ -1,6 +1,6 @@
# UBOOT_LOCALVERSION can be set to add a tag to the end of the
# U-boot version string. such as the commit id
-UBOOT_LOCALVERSION =3D "-g${@d.getVar("SRCREV", False).__str__()[:10]}"
+UBOOT_LOCALVERSION =3D "-g${@d.getVar('SRCPV', True).split('+')[1]}"
=20
UBOOT_SUFFIX ?=3D "img"
SPL_BINARY ?=3D "MLO"
--=20
2.25.1


[master][PATCH 00/10] sync up with Dunfell 08.03.00.003

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Sync up with Dunfell up to 08.03.00.003 release.
Plus couple minor fixes.

Denys Dmytriyenko (2):
libdce: upgrade to 3.00.15.00 and specify branch
dsptop: fix host contamination warning

Nishanth Menon (3):
u-boot-ti: Use SRCPV instead of SRCREV for U_BOOT_LOCAL_VERSION
recipes-kernel: setup-defconfig: Use SRCPV to update
KERNEL_LOCALVERSION
conf/machine: am62xx: Update build flag for low power mode

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

Ryan Eatmon (4):
recipes-bsp: tifs-lpm-stub: Introduce new recipe
u-boot-ti-staging: Bump to 08.03.00.003 release
linux-ti-staging: Bump to 08.03.00.003 release
linux-ti-staging-rt: Bump to 08.03.00.003 release

meta-ti-bsp/conf/machine/include/am62xx.inc | 2 ++
.../recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 +
.../tifs-lpm-stub/tifs-lpm-stub_git.bb | 23 +++++++++++++++++++
.../trusted-firmware-a_%.bbappend | 5 ++--
.../u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-
.../recipes-kernel/linux/kernel-rdepends.inc | 4 ++++
.../linux/linux-ti-staging-rt_5.10.bb | 2 +-
.../linux/linux-ti-staging_5.10.bb | 2 +-
.../recipes-kernel/linux/setup-defconfig.inc | 10 +-------
.../recipes-bsp/dsptop/dsptop_git.bb | 1 +
...dce_3.00.14.00.bb =3D> libdce_3.00.15.00.bb} | 6 ++---
12 files changed, 42 insertions(+), 20 deletions(-)
create mode 100644 meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_g=
it.bb
rename meta-ti-extras/recipes-multimedia/libdce/{libdce_3.00.14.00.bb =3D=
libdce_3.00.15.00.bb} (75%)
--=20
2.25.1


[master][PATCH 04/10] trusted-firmware-a: upgrade to v2.6+

Denys Dmytriyenko
 

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@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
---
.../trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-=
a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmwar=
e-a_%.bbappend
index 5a2b4510..32f913ca 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
@@ -1,8 +1,8 @@
-PV:k3 =3D "2.5"
+PV:k3 =3D "2.6"
LIC_FILES_CHKSUM:k3 =3D "file://license.rst;md5=3D1dd070c98a281d18d9eefd=
938729b031"
BRANCH:k3 =3D "ti-atf"
SRC_URI:k3 =3D "git://git.ti.com/atf/arm-trusted-firmware.git;branch=3D$=
{BRANCH};name=3Dtfa"
-SRCREV_tfa:k3 =3D "0693f356eb2a25adf8758d98058120bed082cc73"
+SRCREV_tfa:k3 =3D "6541aa24f834daa80da701e0054dfe3a16cda0ce"
COMPATIBLE_MACHINE:k3 =3D "k3"
TFA_BUILD_TARGET:k3 =3D "all"
TFA_INSTALL_TARGET:k3 =3D "bl31"
--=20
2.25.1


[master][PATCH 02/10] recipes-kernel: setup-defconfig: Use SRCPV to update KERNEL_LOCALVERSION

Denys Dmytriyenko
 

From: Nishanth Menon <nm@...>

Due to recent security update[1] in git, a subprocess will be unable
to run git rev-parse to fetch revision.

So instead, use the SRCPV to parse the short commit ID and set the
KERNEL_LOCALVERSION variable.

[1] https://github.blog/2022-04-12-git-security-vulnerability-announced/

Inspired-by: Devarsh Thakkar <devarsht@...>
Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc b/meta-=
ti-bsp/recipes-kernel/linux/setup-defconfig.inc
index 850a1dd8..1e97acc0 100644
--- a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
@@ -1,14 +1,6 @@
# KERNEL_LOCALVERSION can be set to add a tag to the end of the
# kernel version string. such as the commit id
-def get_git_revision(p):
- import subprocess
-
- try:
- return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=3D=
p, shell=3DTrue, stdout=3Dsubprocess.PIPE, universal_newlines=3DTrue).com=
municate()[0].rstrip()
- except OSError:
- return None
-
-KERNEL_LOCALVERSION =3D "-g${@get_git_revision('${S}').__str__()[:10]}"
+KERNEL_LOCALVERSION =3D "-g${@d.getVar('SRCPV', True).split('+')[1]}"
=20
# Check the defconfig file and see if it points to an in kernel
# defconfig that should be used, or if it is a complete config file
--=20
2.25.1


[master][PATCH 03/10] recipes-bsp: tifs-lpm-stub: Introduce new recipe

Denys Dmytriyenko
 

From: Ryan Eatmon <reatmon@...>

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

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

diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-t=
i-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 3ebdae30..47e76347 100644
--- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -18,6 +18,7 @@ GOODIX_FW_VERSION =3D "1.0.0.0"
CADENCE_MHDP_FW_VERSION =3D "1.2.17"
IMG_DEC_FW_VERSION =3D "1.0"
CNM_WAVE521_FW_VERSION =3D "1.0.00"
+TIFS_LPM_STUB_FW_VERSION =3D "08.03.02"
=20
TI_LINUX_FW_SRCREV ?=3D "917625c2721eef8677df9e47d919005b0d4f93aa"
SRCREV =3D "${TI_LINUX_FW_SRCREV}"
diff --git a/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b=
/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
new file mode 100644
index 00000000..90af55f1
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -0,0 +1,23 @@
+SUMMARY =3D "TI Foundational security Low Power Management Stub"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV =3D "${TIFS_LPM_STUB_FW_VERSION}"
+PR =3D "${INC_PR}.0"
+
+CLEANBROKEN =3D "1"
+
+COMPATIBLE_MACHINE =3D "am62xx-evm"
+
+PACKAGE_ARCH =3D "${MACHINE_ARCH}"
+
+S =3D "${WORKDIR}/git"
+
+TARGET =3D "ti-fs-stub-firmware-am62x-gp-signed.bin"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-sysfw/
+ install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${nonarch_base_libdir}/firm=
ware/ti-sysfw/${TARGET}
+}
+
+FILES:${PN} =3D "${nonarch_base_libdir}/firmware"
diff --git a/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc b/meta-=
ti-bsp/recipes-kernel/linux/kernel-rdepends.inc
index 8ceae8a1..bb2c1a00 100644
--- a/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc
@@ -28,3 +28,7 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 =3D " vx=
d-dec-fw"
=20
# Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j721s2-evm =3D " cnm-wave-fw=
"
+
+# Add run-time dependency for TIFS Low Power Module stub
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:am62xx-evm =3D " tifs-lpm-st=
ub"
+
--=20
2.25.1


[dunfell][PATCH 0/3] Update to 08.03.00.003

Ryan Eatmon
 

Update u-boot, linux and linux rt to 08.03.00.003 tag

Ryan Eatmon (3):
u-boot-ti-staging: Bump to 08.03.00.003 release
linux-ti-staging: Bump to 08.03.00.003 release
linux-ti-staging-rt: Bump to 08.03.00.003 release

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

--
2.17.1


[dunfell][PATCH 3/3] linux-ti-staging-rt: Bump to 08.03.00.003 release

Ryan Eatmon
 

Updated the linux rt version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb b/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
index bcf5cf6b..233d5dff 100644
--- a/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
+++ b/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"

BRANCH = "ti-rt-linux-5.10.y"

-SRCREV = "71d8b949868162e2aaac748ce569c1faf0b4b4f3"
+SRCREV = "44a4e68ecf519fd2e35417371fbac546c416d2d9"
PV = "5.10.109+git${SRCPV}"
--
2.17.1


[dunfell][PATCH 2/3] linux-ti-staging: Bump to 08.03.00.003 release

Ryan Eatmon
 

Updated the linux version for 08.03.00.003

Signed-off-by: Ryan Eatmon <reatmon@...>
---
recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-ti-staging_5.10.bb b/recipes-kernel/linux/linux-ti-staging_5.10.bb
index cb34a7aa..baaa6b83 100644
--- a/recipes-kernel/linux/linux-ti-staging_5.10.bb
+++ b/recipes-kernel/linux/linux-ti-staging_5.10.bb
@@ -25,7 +25,7 @@ S = "${WORKDIR}/git"

BRANCH = "ti-linux-5.10.y"

-SRCREV = "45b6d4fdf6550061582b89d0b794a1cc7c1dc4b2"
+SRCREV = "9cff62efaca103acf18b8478362ec56e11d7f526"
PV = "5.10.109+git${SRCPV}"

# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
--
2.17.1


[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

241 - 260 of 14961