Date   

[dunfell][PATCH] ti-tros-firmware: Add DM firmware binary to deploy directory for am62xx-evm

Aparna M
 

The DM firmware binary is required for building uboot binaries for
am62xx-evm using toplevel makefile in SDK. Add this file to deploy
directory so it can be included in prebuilt-images directory of SDK
for am62xx-evm.

Signed-off-by: Aparna M <a-m1@...>
---

I have had to include a dummy do_deplo without which yocto build fails
with a "Task do_deploy is empty" error. Any suggestions as to why this
could be happening?

recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index 56a74899..0f2ba9af 100644
--- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -169,6 +169,16 @@ do_install_am62xx() {
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
}

+
+do_deploy() {
+ install -d ${DEPLOYDIR}
+}
+
+do_deploy_am62xx() {
+ install -d ${DEPLOYDIR}
+ install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}
+}
+
# Set up names for the firmwares
ALTERNATIVE_${PN}_am65xx = "\
am65x-mcu-r5f0_0-fw \
@@ -357,3 +367,5 @@ INSANE_SKIP_${PN} += "arch"
# we don't want to configure and build the source code
do_compile[noexec] = "1"
do_configure[noexec] = "1"
+
+addtask deploy after do_install
--
2.17.1


[dunfell][PATCH] ti-graphics: update for 4K/64K page size GPU drivers

Etheridge, Darren
 

Pull in the GPU KM/UMLIBS that enable the unified 4K/64K page
firmware support in the IMG Rogue drivers.

Signed-off-by: Darren Etheridge <detheridge@...>
---

Ryan, this is needed for rc4, and actually send it to the correct list
this time.

.../powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb | 6 +++---
.../libgles/ti-img-rogue-umlibs_1.15.6133109.bb | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
index 6d2d68cd..718c7845 100644
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
@@ -7,7 +7,7 @@ inherit module features_check

REQUIRED_MACHINE_FEATURES = "gpu"

-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"

PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -17,7 +17,7 @@ DEPENDS = "virtual/kernel"

PROVIDES = "virtual/gpudriver"

-BRANCH = "linuxws/dunfell/k5.10/${PV}"
+BRANCH = "linuxws/dunfell/k5.10/${PV}_unified_fw_pagesize"

SRC_URI = " \
git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
@@ -26,7 +26,7 @@ SRC_URI = " \

S = "${WORKDIR}/git"

-SRCREV = "ee0674adccac16f5b2f7cb8d5d05948706080cb5"
+SRCREV = "6d3d62a15ceb85b719c35f34c6c9e35f556b406b"

TARGET_PRODUCT_j7-evm = "j721e_linux"
TARGET_PRODUCT_j7-hs-evm = "j721e_linux"
diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
index 0f3f9192..1bfb2b93 100644
--- a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
+++ b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
@@ -10,12 +10,12 @@ REQUIRED_MACHINE_FEATURES = "gpu"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|am62xx"

-PR = "r1"
+PR = "r2"

-BRANCH = "linuxws/dunfell/k5.10/${PV}"
+BRANCH = "linuxws/dunfell/k5.10/${PV}_unified_fw_pagesize"

SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
-SRCREV = "47c3ffc44f2881397d45c8a2b5dfa7d6c58b79fb"
+SRCREV = "fba0c770b712640ab3761dbe8369d43f89f616ed"

TARGET_PRODUCT_j7-evm = "j721e_linux"
TARGET_PRODUCT_j7-hs-evm = "j721e_linux"
--
2.17.1


Re: [dunfell][PATCH] ti-sci-fw: Add DM firmware to deploy directory for am62xx-evm

Ryan Eatmon
 

On 5/12/2022 8:46, Aparna M wrote:
Add DM firmware ipc_echo_testb_mcu1_0_release_strip.xer5f to deploy
directory for am62xx-evm. This is required for building tispl.bin.
Signed-off-by: Aparna M <a-m1@...>
---
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 099473b4..bb88633a 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -186,6 +186,7 @@ do_deploy_am62xx-evm-k3r5() {
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+ install -m 644 ${S}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile
NACK.

I think this is in the wrong recipe. This file is referenced for all of the other platforms in:

recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb


I think it would make more sense to put this change in that recipe for consistency.



--
Ryan Eatmon reatmon@...
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS


Re: [dunfell][PATCH] ti-sci-fw: Add DM firmware to deploy directory for am62xx-evm

Nishanth Menon
 

On 19:27-20220512, Devarsh Thakkar via lists.yoctoproject.org wrote:

On 12/05/22 19:16, Aparna M wrote:
Add DM firmware ipc_echo_testb_mcu1_0_release_strip.xer5f to deploy
directory for am62xx-evm. This is required for building tispl.bin.

Signed-off-by: Aparna M <a-m1@...>
---
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 099473b4..bb88633a 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -186,6 +186,7 @@ do_deploy_am62xx-evm-k3r5() {
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+ install -m 644 ${S}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}/
What is SYSFW_TISCI being used for AM62 ? Any existing macros can't be used
?

Also is it changing indentation w.r.t previous line ?

This is the DM firmware. yes, it is already packaged as of tispl build, so
what is missing here?

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D


Re: [dunfell][PATCH] ti-sci-fw: Add DM firmware to deploy directory for am62xx-evm

Devarsh Thakkar
 

On 12/05/22 19:16, Aparna M wrote:
Add DM firmware ipc_echo_testb_mcu1_0_release_strip.xer5f to deploy
directory for am62xx-evm. This is required for building tispl.bin.

Signed-off-by: Aparna M <a-m1@...>
---
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 099473b4..bb88633a 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -186,6 +186,7 @@ do_deploy_am62xx-evm-k3r5() {
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+ install -m 644 ${S}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}/
What is SYSFW_TISCI being used for AM62 ? Any existing macros can't be used ?

Also is it changing indentation w.r.t previous line ?

}
addtask deploy before do_build after do_compile


[dunfell][PATCH] ti-sci-fw: Add DM firmware to deploy directory for am62xx-evm

Aparna M
 

Add DM firmware ipc_echo_testb_mcu1_0_release_strip.xer5f to deploy
directory for am62xx-evm. This is required for building tispl.bin.

Signed-off-by: Aparna M <a-m1@...>
---
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 099473b4..bb88633a 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -186,6 +186,7 @@ do_deploy_am62xx-evm-k3r5() {
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+ install -m 644 ${S}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}/
}

addtask deploy before do_build after do_compile
--
2.17.1


[master][PATCH 05/10] conf/machine: am62xx: Update build flag for low power mode

Denys Dmytriyenko
 

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@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/include/am62xx.inc | 2 ++
.../trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/co=
nf/machine/include/am62xx.inc
index bcf435f5..fff1312f 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -19,5 +19,7 @@ do_image_wic[mcdepends] =3D "mc::k3r5:ti-sci-fw:do_depl=
oy"
do_image_tar[mcdepends] =3D "mc::k3r5:ti-sci-fw:do_deploy"
=20
TFA_BOARD =3D "lite"
+TFA_K3_SYSTEM_SUSPEND =3D "1"
+
OPTEEMACHINE =3D "k3-am65x"
OPTEEOUTPUTMACHINE =3D "k3"
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 32f913ca..45d56451 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
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET:k3 =3D "bl31"
TFA_SPD:k3 =3D "opteed"
=20
EXTRA_OEMAKE:append:k3 =3D "${@ ' K3_USART=3D' + d.getVar('TFA_K3_USART'=
) if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE:append:k3 =3D "${@ ' K3_PM_SYSTEM_SUSPEND=3D' + d.getVar('T=
FA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
=20
do_compile:append:am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=3D${TI_SECURE_DEV_PKG}
--=20
2.25.1


[master][PATCH 07/10] linux-ti-staging: Bump to 08.03.00.003 release

Denys Dmytriyenko
 

From: Ryan Eatmon <reatmon@...>

Updated the linux version for 08.03.00.003

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

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb b/=
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb
index d5c2c587..a0581cb4 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb
@@ -25,7 +25,7 @@ S =3D "${WORKDIR}/git"
=20
BRANCH =3D "ti-linux-5.10.y"
=20
-SRCREV =3D "45b6d4fdf6550061582b89d0b794a1cc7c1dc4b2"
+SRCREV =3D "9cff62efaca103acf18b8478362ec56e11d7f526"
PV =3D "5.10.109+git${SRCPV}"
=20
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebu=
ild
--=20
2.25.1


[master][PATCH 08/10] linux-ti-staging-rt: Bump to 08.03.00.003 release

Denys Dmytriyenko
 

From: Ryan Eatmon <reatmon@...>

Updated the linux rt version for 08.03.00.003

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

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb=
b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
index ad2ffedc..61327720 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend :=3D "${THISDIR}/${PN}-5.10:"
=20
BRANCH =3D "ti-rt-linux-5.10.y"
=20
-SRCREV =3D "71d8b949868162e2aaac748ce569c1faf0b4b4f3"
+SRCREV =3D "44a4e68ecf519fd2e35417371fbac546c416d2d9"
PV =3D "5.10.109+git${SRCPV}"
--=20
2.25.1


[master][PATCH 10/10] dsptop: fix host contamination warning

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Fixes this warning:

| WARNING: dsptop-1.4.0-r2.2 do_package_qa: QA Issue: dsptop: /usr/bin/ds=
ptop is owned by uid 1000,
| which is the same as the user running bitbake. This may be due to host =
contamination [host-user-contaminated]

Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-ex=
tras/recipes-bsp/dsptop/dsptop_git.bb
index e8853ff8..90ce8943 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
@@ -15,6 +15,7 @@ EXTRA_OEMAKE =3D "release DEVICE=3D${DEVICE} CROSS_COMP=
ILE=3D${TARGET_PREFIX} CC=3D"${CC
=20
do_install() {
oe_runmake install DESTDIR=3D${D}
+ chown -R root:root ${D}
}
=20
COMPATIBLE_MACHINE =3D "dra7xx"
--=20
2.25.1


[master][PATCH 06/10] u-boot-ti-staging: Bump to 08.03.00.003 release

Denys Dmytriyenko
 

From: Ryan Eatmon <reatmon@...>

Updated the u-boot version for 08.03.00.003

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

diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb =
b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
index 03c73112..e3214c37 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
@@ -2,8 +2,8 @@ require u-boot-ti.inc
=20
LIC_FILES_CHKSUM =3D "file://Licenses/README;md5=3D5a7450c57ffe5ae63fd73=
2446b988025"
=20
-PR =3D "r24"
+PR =3D "r25"
=20
BRANCH =3D "ti-u-boot-2021.01"
=20
-SRCREV =3D "edbebb6447c16241031c21b47d27bd3484f78f42"
+SRCREV =3D "70c33dd821811a05c595f29ecac5abae23534768"
--=20
2.25.1


[master][PATCH 09/10] libdce: upgrade to 3.00.15.00 and specify branch

Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

Fixes these warnings:

| WARNING: libdce-3.00.14.00-r1 do_fetch: URL: git://git.omapzoom.org/rep=
o/libdce.git;protocol=3Dgit
| does not set any branch parameter. The future default branch used by to=
ols and repositories
| is uncertain and we will therefore soon require this is set in all git =
urls.
| WARNING: libdce-3.00.14.00-r1 do_unpack: URL: git://git.omapzoom.org/re=
po/libdce.git;protocol=3Dgit
| does not set any branch parameter. The future default branch used by to=
ols and repositories
| is uncertain and we will therefore soon require this is set in all git =
urls.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
.../libdce/{libdce_3.00.14.00.bb =3D> libdce_3.00.15.00.bb} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
rename meta-ti-extras/recipes-multimedia/libdce/{libdce_3.00.14.00.bb =3D=
libdce_3.00.15.00.bb} (75%)
diff --git a/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.b=
b b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
similarity index 75%
rename from meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb
rename to meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
index a6dc1d1d..54f6ff8a 100644
--- a/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb
+++ b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
@@ -6,10 +6,8 @@ inherit autotools pkgconfig
=20
DEPENDS =3D "libdrm ti-ipc"
=20
-SRC_URI =3D "git://git.omapzoom.org/repo/libdce.git;protocol=3Dgit"
-SRCREV =3D "f72096090e3063e85ea77cae66b2d99a48d91727"
-
-PR =3D "r1"
+SRC_URI =3D "git://git.omapzoom.org/repo/libdce.git;protocol=3Dgit;branc=
h=3Dmaster"
+SRCREV =3D "ec14e1d5cea1ed3c3ea0e2b9cf1fd581acff93e3"
=20
S =3D "${WORKDIR}/git"
EXTRA_OECONF +=3D "IPC_HEADERS=3D${STAGING_INCDIR}/ti/ipc/mm"
--=20
2.25.1


[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

141 - 160 of 14873