Skip to contentSkip to conversation

Sync up with Dunfell #2

PATCH New Denys Dmytriyenko 1 participant 27 messages Nov 20, 2021

lore
Share & tools
lore
#0 lore raw

v2 cover Sync up with Dunfell #2

From: Denys Dmytriyenko <[email protected]>

Keep master up to date with latest changes in Dunfell, adjust to the new override syntax.

Amjad Ouled-Ameur (1):
recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release

Denys Dmytriyenko (1):
recipes: update github SRC_URIs

Praneeth Bajjuri (1):
vxd-dec-fw: Add the recipe for vxd-dec-fw

Ryan Eatmon (3):
u-boot-ti-staging: Bump u-boot version for 08.01.00.005
linux-ti-staging: Bump linux version for 08.01.00.005
linux-ti-staging-rt: Bump linux rt version for 08.01.00.005

Yogesh Siraswar (20):
u-boot-ti-staging: Bump u-boot version for 08.01.00.002
ti-linux-fw: Bump ti linux firmware for 08.01.00.002
linux-ti-staging: Bump linux version for 08.01.00.002
linux-ti-staging-rt: Bump linux rt version for 08.01.00.002 release
ti-linux-fw: Bump k3 image gen to latest
u-boot-ti-staging: Bump u-boot version for 08.01.00.003
linux-ti-staging: Bump linux version for 08.01.00.003
linux-ti-staging-rt: Bump linux rt version for 08.01.00.003
ti-linux-fw: Add AUTOREV support for K3 Image Gen
conf: am57xx-evm: Add missing *.dtb and *.dtbo
conf: machine: add new am64x hs platform
ti-sci-fw: changes to build combined boot image for hs build
am64xx-hs: changes to support new hs platform
conf: machine: am64xx: Add missing dtbo
conf: machine : am65xx: Add missing dtbo
conf: machine: Add j7200 hs platform
ti-rtos-firmware: Add j7200 hs support
j7200-hs: changes to support new hs platform
j721e-sr1_1: Add j721e sr1.1 HS support
j7-hs-evm: Correct image boot file causing build error

 conf/machine/am57xx-evm.conf                       |  3 ++
 conf/machine/am64xx-hs-evm-k3r5.conf               | 14 +++++
 conf/machine/am64xx-hs-evm.conf                    | 22 ++++++++
 conf/machine/include/am64xx.inc                    |  1 +
 conf/machine/include/am65xx.inc                    |  1 +
 conf/machine/j7-hs-evm-k3r5-sr1-1.conf             | 11 ++++
 conf/machine/j7-hs-evm.conf                        |  8 +++
 conf/machine/j7200-hs-evm-k3r5.conf                | 13 +++++
 conf/machine/j7200-hs-evm.conf                     | 22 ++++++++
 conf/multiconfig/k3r5-sr1-1.conf                   |  3 ++
 licenses/TI-IMG                                    | 63 ++++++++++++++++++++++
 recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb | 24 +++++++++
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc            | 13 +++--
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb             | 40 +++++++++++++-
 .../trusted-firmware-a_%.bbappend                  | 16 ++++++
 recipes-bsp/u-boot/u-boot-ti-mainline_git.bb       |  4 +-
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb    |  4 +-
 recipes-bsp/u-boot/u-boot-ti.inc                   | 12 +++++
 ...NUInstallDirs-module-to-detect-install-pa.patch | 48 -----------------
 recipes-devtools/ion/libion_git.bb                 |  6 +--
 recipes-kernel/linux/kernel-rdepends.inc           |  3 ++
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb   |  2 +-
 recipes-kernel/linux/linux-ti-staging_5.10.bb      |  2 +-
 recipes-security/optee/optee-os_%.bbappend         |  8 +++
 .../beagleboard/beaglebone-getting-started.bb      |  2 +-
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb         | 36 ++++++++++++-
 26 files changed, 314 insertions(+), 67 deletions(-)
 create mode 100644 conf/machine/am64xx-hs-evm-k3r5.conf
 create mode 100644 conf/machine/am64xx-hs-evm.conf
 create mode 100644 conf/machine/j7-hs-evm-k3r5-sr1-1.conf
 create mode 100644 conf/machine/j7200-hs-evm-k3r5.conf
 create mode 100644 conf/machine/j7200-hs-evm.conf
 create mode 100644 conf/multiconfig/k3r5-sr1-1.conf
 create mode 100644 licenses/TI-IMG
 create mode 100644 recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
 delete mode 100644 recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/26 u-boot-ti-staging: Bump u-boot version for 08.01.00.002

From: Yogesh Siraswar <[email protected]>

Bump u-boot version to 08.01.00.002 release

---
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
index db8dc9d..6765572 100644
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r12"
+PR = "r13"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "316948e851b21f1f79e78fdd364a754cf9817038"
+SRCREV = "377e0f7041d1863bf9b3d23e90fb4b0c0a2cd6bf"
Signature · 1 line
2.7.4
#2 lore raw

PATCH v2 2/26 ti-linux-fw: Bump ti linux firmware for 08.01.00.002

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Bump ti-linux-fw version for 08.01.00.002 release

---
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +2 -2
index 56a16e8..4719721 100644
@@ -7,7 +7,7 @@ PV = "2021.09"
 INC_PR = "r1"
 
 # Firmware versions
-CORESDK_RTOS_VERSION = "08.01.00.01"
+CORESDK_RTOS_VERSION = "08.01.00.02"
 SERDES_FW_VERSION = "3.3.0.2c"
 NETCP_SA_FW_VERSION = "1.0.0"
 NETCP_PA_FW_VERSION = "3.0.2.3"
@@ -17,7 +17,7 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06"
 GOODIX_FW_VERSION = "1.0.0.0"
 CADENCE_MHDP_FW_VERSION = "1.2.17"
 
-TI_LINUX_FW_SRCREV ?= "10bcf8564c6e9277e7f402fb02cf941956d0d3eb"
+TI_LINUX_FW_SRCREV ?= "0e93d4df760e5f0948b07c09b68f0b1ecd150d40"
 SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
Signature · 1 line
2.7.4
#3 lore raw

PATCH v2 3/26 linux-ti-staging: Bump linux version for 08.01.00.002

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Bump linux version for 08.01.00.002 release

---
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
index a08f264..e97235c 100644
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-5.10.y"
 
-SRCREV = "f22103162c771ddd47372b579682445e6dc8dd0e"
+SRCREV = "33574931b48f50c37abb58e0a9c617cbec472b01"
 PV = "5.10.65+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.7.4
#4 lore raw

PATCH v2 4/26 linux-ti-staging-rt: Bump linux rt version for 08.01.00.002 release

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Bump linux rt version for 08.01.00.002 release

---
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
index d64227b..d2250c4 100644
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:"
 
 BRANCH = "ti-rt-linux-5.10.y"
 
-SRCREV = "b9f28fcb222bc4508077366b05ad5d44984087b0"
+SRCREV = "a5427455c650cb9d33e3d5f0b009a773370a5428"
 PV = "5.10.65+git${SRCPV}"
Signature · 1 line
2.7.4
#5 lore raw

PATCH v2 5/26 ti-linux-fw: Bump k3 image gen to latest

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Update k3 image gen to latest.
Bump linux firmware to v2021.09a

---
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +3 -3
index 4719721..97e5196 100644
@@ -3,7 +3,7 @@ SUMMARY = "TI SCI firmware (SYSFW)"
 LICENSE = "TI-TFL"
 LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
 
-PV = "2021.09"
+PV = "2021.09a"
 INC_PR = "r1"
 
 # Firmware versions
@@ -17,11 +17,11 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06"
 GOODIX_FW_VERSION = "1.0.0.0"
 CADENCE_MHDP_FW_VERSION = "1.2.17"
 
-TI_LINUX_FW_SRCREV ?= "0e93d4df760e5f0948b07c09b68f0b1ecd150d40"
+TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063"
 SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "e182c3114f11eea3ec7ebb88cb1ef563a78d4eda"
+SRCREV_imggen = "6baabef219aea0f667423f2cab2bc2d63a349488"
 SRCREV_FORMAT = "imggen"
 
 SRC_URI = " \
Signature · 1 line
2.7.4
#6 lore raw

PATCH v2 6/26 u-boot-ti-staging: Bump u-boot version for 08.01.00.003

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

u-boot bump for 08.01.00.003 release

---
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
index 6765572..b5aa3fb 100644
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r13"
+PR = "r14"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "377e0f7041d1863bf9b3d23e90fb4b0c0a2cd6bf"
+SRCREV = "6c804a1af10bda322c86ce1c5dbb29f0fbb56c79"
Signature · 1 line
2.7.4
#7 lore raw

PATCH v2 7/26 linux-ti-staging: Bump linux version for 08.01.00.003

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Bump linux for 08.01.00.003 release

---
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
index e97235c..5e1fc00 100644
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-5.10.y"
 
-SRCREV = "33574931b48f50c37abb58e0a9c617cbec472b01"
+SRCREV = "eb55b499b1865222e85acad2c665baadbaea3072"
 PV = "5.10.65+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.7.4
#8 lore raw

PATCH v2 8/26 linux-ti-staging-rt: Bump linux rt version for 08.01.00.003

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Bump linux rt version to 08.01.00.003

---
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
index d2250c4..a02e82d 100644
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:"
 
 BRANCH = "ti-rt-linux-5.10.y"
 
-SRCREV = "a5427455c650cb9d33e3d5f0b009a773370a5428"
+SRCREV = "d3083b1688af8af4728478c759e56b2a22adf9e5"
 PV = "5.10.65+git${SRCPV}"
Signature · 1 line
2.7.4
#9 lore raw

PATCH v2 9/26 recipes: update github SRC_URIs

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

https://github.blog/2021-09-01-improving-git-protocol-security-github/

GitHub is deprecating unauthenticated protocols, including git:// so update SRC_URIs with protocol=https

Explicitly pass branch=master where omitted, as bitbake now requires it.

While at it, update libion to the latest to eliminate upstreamed patch.

---
 ...NUInstallDirs-module-to-detect-install-pa.patch | 48 ----------------------
 recipes-devtools/ion/libion_git.bb                 |  6 +--
 .../beagleboard/beaglebone-getting-started.bb      |  2 +-
 3 files changed, 3 insertions(+), 53 deletions(-)
 delete mode 100644 recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch deleted +0 -48
deleted file mode 100644
index bf63ed3..0000000
@@ -1,48 +0,0 @@
-From 51eece2c291e121f9ae67c9b812617b885e76a64 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 18 Dec 2019 20:31:52 -0800
-Subject: [PATCH] cmake: Use GNUInstallDirs module to detect install paths
-
-This helps it to calculate directories as per platform instead of
-hardcoding them, helps compile it for arches which use /lib64 and
-/usr/lib64 for libpaths
-
-Upstream-Status: Submitted [https://github.com/glneo/libion/pull/2]
-Signed-off-by: Khem Raj <[email protected]>
----
- CMakeLists.txt | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6e5928c..5b7c0de 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -3,6 +3,8 @@ PROJECT(ion)
- set(PROJECT_DESCRIPTION "ION Userspace Memory Allocator Library")
- set(PROJECT_VERSION 1.0.0)
- 
-+INCLUDE(GNUInstallDirs)
-+
- add_library(ion
- 	SHARED
- 		src/libion.c
-@@ -23,12 +25,12 @@ target_include_directories(ion
- configure_file(libion.pc.in libion.pc @ONLY)
- 
- install(TARGETS ion
--	LIBRARY DESTINATION lib
--	PUBLIC_HEADER DESTINATION include/ion)
-+	LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+	PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ion)
- 
- install(DIRECTORY include/kernel-headers/4.19/
--	DESTINATION include
-+	DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- 	FILES_MATCHING PATTERN "*.h")
- 
- install(FILES ${CMAKE_BINARY_DIR}/libion.pc
--	DESTINATION lib/pkgconfig)
-+	DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
--- 
-2.24.1
-
recipes-devtools/ion/libion_git.bb +2 -4
index 4cf03af..f5ca8e8 100644
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 PV = "1.0.0"
 
 BRANCH = "master"
-SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH} \
-           file://0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch \
-          "
-SRCREV = "813bd63e2f2118e17cb1c5d38505a1e572a2381c"
+SRC_URI = "git://github.com/glneo/libion.git;protocol=https;branch=${BRANCH}"
+SRCREV = "7e138fc31febbb67734792c1a911439bfd6d23eb"
 
 S = "${WORKDIR}/git"
 
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -1
index 303b9bd..25538ac 100644
@@ -8,7 +8,7 @@ LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa"
 
 SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5"
-SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
+SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.7.4
#10 lore raw

PATCH v2 10/26 recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release

In reply to Denys Dmytriyenko

From: Amjad Ouled-Ameur <[email protected]>

This introduces a critical fix for both AM335X EVM and AM43XX EVM, which can no longer boot because "uuid" is undefined.

v2021.10 has these two fixes, one for each platform:
- commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only")
- commit e0c91ae24e5b ("ti: am43xx_evm: Switch to DISTRO_BOOT only")

---
 recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +2 -2
index 2db9899..76aaa4b 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
 PR = "r0"
 
-PV = "2021.07"
+PV = "2021.10"
 
 # For the un-initiated:
 # The actual URL you'd use with a git clone for example would be:
@@ -15,4 +15,4 @@ PV = "2021.07"
 # b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
 UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
 UBOOT_GIT_PROTOCOL = "https"
-SRCREV = "840658b093976390e9537724f802281c9c8439f5"
+SRCREV = "d80bb749fab53da72c4a0e09b8c2d2aaa3103c91"
Signature · 1 line
2.7.4
#11 lore raw

PATCH v2 11/26 ti-linux-fw: Add AUTOREV support for K3 Image Gen

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

This patch brings k3 image gen under bleeding for nightly builds

---
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +3 -1
index 97e5196..c59120b 100644
@@ -21,7 +21,9 @@ TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063"
 SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "6baabef219aea0f667423f2cab2bc2d63a349488"
+
+K3_IMAGE_GEN_SRCREV ?= "6baabef219aea0f667423f2cab2bc2d63a349488"
+SRCREV_imggen = "${K3_IMAGE_GEN_SRCREV}"
 SRCREV_FORMAT = "imggen"
 
 SRC_URI = " \
Signature · 1 line
2.7.4
#12 lore raw

PATCH v2 12/26 conf: am57xx-evm: Add missing *.dtb and *.dtbo

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Add missing dtb and dtbo to deploy folder

---
 conf/machine/am57xx-evm.conf | 3 +++
 1 file changed, 3 insertions(+)
conf/machine/am57xx-evm.conf +3 -0
index 7441e80..f977c5c 100644
@@ -15,6 +15,7 @@ KERNEL_DEVICETREE = " \
     am5729-beagleboneai.dtb \
     am57xx-evm.dtb \
     ti/am57xx-evm-common.dtbo \
+    am57xx-evm-reva3.dtb \
     ti/am57xx-evm-reva3.dtbo \
     am571x-idk.dtb \
     ti/am571x-idk-touchscreen.dtbo \
@@ -22,6 +23,8 @@ KERNEL_DEVICETREE = " \
     am574x-idk.dtb \
     ti/am57xx-idk-osd-lcd-common.dtbo \
     ti/am572x-idk-touchscreen.dtbo \
+    ti/lcd-osd101t2587.dtbo \
+    ti/lcd-osd101t2045.dtbo \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
Signature · 1 line
2.7.4
#13 lore raw

PATCH v2 13/26 conf: machine: add new am64x hs platform

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Add new am64x hs platform. This requires two files to be created. Used am65x and j7 hs platform for reference.

---
 conf/machine/am64xx-hs-evm-k3r5.conf | 14 ++++++++++++++
 conf/machine/am64xx-hs-evm.conf      | 22 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 conf/machine/am64xx-hs-evm-k3r5.conf
 create mode 100644 conf/machine/am64xx-hs-evm.conf
conf/machine/am64xx-hs-evm-k3r5.conf new file +14 -0
new file mode 100644
index 0000000..d12c030
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM64xx HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am64x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+SYSFW_SYMLINK = ""
+
+UBOOT_MACHINE = "am64x_hs_evm_r5_defconfig"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
conf/machine/am64xx-hs-evm.conf new file +22 -0
new file mode 100644
index 0000000..44e8146
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: AM64xx HS EVM
+#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM
+
+require conf/machine/include/am64xx.inc
+
+UBOOT_MACHINE = "am64x_hs_evm_a53_defconfig"
+
+UBOOT_ENTRYPOINT =       "0x80080000"
+UBOOT_LOADADDRESS =      "0x80080000"
+UBOOT_RD_LOADADDRESS =   "0x84000000"
+UBOOT_RD_ENTRYPOINT =    "0x84000000"
+UBOOT_DTB_LOADADDRESS =  "0x83000000"
+UBOOT_DTBO_LOADADDRESS = "0x83080000"
+UBOOT_DTBO_OFFSET =      "0x00010000"
+
+SPL_BINARY = "tispl.bin_HS"
+SPL_BINARYNAME = "tispl.bin"
+UBOOT_BINARY = "u-boot.img_HS"
+IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
Signature · 1 line
2.7.4
#14 lore raw

PATCH v2 14/26 ti-sci-fw: changes to build combined boot image for hs build

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Added support to build combined boot image for hs build. This required k3 image gen patch that is already merged.

---
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +19 -2
index 4fa8f1f..dd0ce09 100644
@@ -3,9 +3,10 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
 DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
 DEPENDS:append:j7200-evm-k3r5 = " virtual/bootloader"
 DEPENDS:append:am64xx-evm-k3r5 = " virtual/bootloader"
+DEPENDS:append:am64xx-hs-evm-k3r5 = " virtual/bootloader"
 
 CLEANBROKEN = "1"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # Loaded by R5F core
 COMPATIBLE_MACHINE = "k3r5"
@@ -48,12 +49,13 @@ EXTRA_OEMAKE = "\
     SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \
 "
 EXTRA_OEMAKE_HS = " \
-    HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
+    HS=1 SW_REV=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
 "
 EXTRA_OEMAKE:append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
 
 EXTRA_OEMAKE:append:j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
 EXTRA_OEMAKE:append:am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
+EXTRA_OEMAKE:append:am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
 
 do_compile() {
 	cd ${WORKDIR}/imggen/
@@ -116,4 +118,19 @@ do_deploy:am64xx-evm-k3r5() {
 	install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
 }
 
+do_install:am64xx-hs-evm-k3r5() {
+	install -d ${D}/boot
+	install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+	ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
+	ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+}
+
+do_deploy:am64xx-hs-evm-k3r5() {
+	install -d ${DEPLOYDIR}
+	install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
+	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
+	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
+	install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+}
+
 addtask deploy before do_build after do_compile
Signature · 1 line
2.7.4
#15 lore raw

PATCH v2 15/26 am64xx-hs: changes to support new hs platform

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Changes to support new am64x hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image

---
 recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 8 ++++++++
 recipes-bsp/u-boot/u-boot-ti.inc                             | 6 ++++++
 recipes-security/optee/optee-os_%.bbappend                   | 4 ++++
 3 files changed, 18 insertions(+)
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +8 -0
index 2258258..8fdccbe 100644
@@ -16,6 +16,14 @@ do_compile:append:am65xx-hs-evm() {
 	)
 }
 
+do_compile:append:am64xx-hs-evm() {
+	export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+	( cd ${B}/${BUILD_DIR}/release/; \
+		mv bl31.bin bl31.bin.unsigned; \
+		${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
+	)
+}
+
 do_compile:append:j7-hs-evm() {
 	export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
 	( cd ${BUILD_DIR}; \
recipes-bsp/u-boot/u-boot-ti.inc +6 -0
index 8a42061..633975c 100644
@@ -66,6 +66,7 @@ SPL_UART_BINARY:k3r5 = ""
 SPL_UART_BINARY:lego-ev3 = ""
 SPL_UART_BINARY:j7200-evm-k3r5 = "u-boot-spl.bin"
 SPL_UART_BINARY:am64xx-evm-k3r5 = "u-boot-spl.bin"
+SPL_UART_BINARY:am64xx-hs-evm-k3r5 = "u-boot-spl.bin"
 
 SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
 SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
@@ -401,4 +402,9 @@ do_deploy:append:am64xx-evm-k3r5 () {
 	mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
 }
 
+do_deploy:append:am64xx-hs-evm-k3r5 () {
+	mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
+	mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
+}
+
 TOOLCHAIN = "gcc"
recipes-security/optee/optee-os_%.bbappend +4 -0
index aac14a5..0a40fa2 100644
@@ -49,6 +49,10 @@ do_compile:append:am65xx-hs-evm() {
     optee_sign_k3hs
 }
 
+do_compile:append:am64xx-hs-evm() {
+    optee_sign_k3hs
+}
+
 do_compile:append:j7-hs-evm() {
     optee_sign_k3hs
 }
Signature · 1 line
2.7.4
#16 lore raw

PATCH v2 16/26 conf: machine: am64xx: Add missing dtbo

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Add missing k3-am642-evm-nand.dtbo required for system test

---
 conf/machine/include/am64xx.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/am64xx.inc +1 -0
index 18e3757..1d53c7a 100644
@@ -10,6 +10,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-am642-evm.dtb \
     ti/k3-am642-sk.dtb \
     ti/k3-am642-evm-icssg1-dualemac.dtbo \
+    ti/k3-am642-evm-nand.dtbo \
 "
 
 # AM64 supports multi-certificate images, use the same
Signature · 1 line
2.7.4
#17 lore raw

PATCH v2 17/26 conf: machine : am65xx: Add missing dtbo

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Added missing dtbo k3-am654-evm-ov5640.dtbo required for system test

---
 conf/machine/include/am65xx.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/am65xx.inc +1 -0
index 2838c58..8b1531c 100644
@@ -17,6 +17,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-am654-pcie-usb3.dtbo \
     ti/k3-am654-evm-tc358876.dtbo \
     ti/k3-am654-evm-oldi-lcd1evm.dtbo \
+    ti/k3-am654-evm-ov5640.dtbo \
 "
 
 BBMULTICONFIG += "k3r5-sr2"
Signature · 1 line
2.7.4
#18 lore raw

PATCH v2 18/26 conf: machine: Add j7200 hs platform

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Machine conf for J7200 HS platform.
Used am64xx hs and j721e hs as reference.

---
 conf/machine/j7200-hs-evm-k3r5.conf | 13 +++++++++++++
 conf/machine/j7200-hs-evm.conf      | 22 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 conf/machine/j7200-hs-evm-k3r5.conf
 create mode 100644 conf/machine/j7200-hs-evm.conf
conf/machine/j7200-hs-evm-k3r5.conf new file +13 -0
new file mode 100644
index 0000000..488f19e
@@ -0,0 +1,13 @@
+#@TYPE: Machine
+#@NAME: J7200 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j7200"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j7200_hs_evm_r5_defconfig"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
conf/machine/j7200-hs-evm.conf new file +22 -0
new file mode 100644
index 0000000..c55be00
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: J7200 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM
+
+require conf/machine/j7-evm.conf
+
+UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig"
+
+UBOOT_ENTRYPOINT =       "0x80080000"
+UBOOT_LOADADDRESS =      "0x80080000"
+UBOOT_RD_LOADADDRESS =   "0x84000000"
+UBOOT_RD_ENTRYPOINT =    "0x84000000"
+UBOOT_DTB_LOADADDRESS =  "0x83000000"
+UBOOT_DTBO_LOADADDRESS = "0x83080000"
+UBOOT_DTBO_OFFSET =      "0x00010000"
+
+SPL_BINARY = "tispl.bin_HS"
+SPL_BINARYNAME = "tispl.bin"
+UBOOT_BINARY = "u-boot.img_HS"
+IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
Signature · 1 line
2.7.4
#19 lore raw

PATCH v2 19/26 ti-rtos-firmware: Add j7200 hs support

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

We cannot use j7200 keyword for match b'n j7200-evm and j7200-hs-evm due to existing j7 keyword, we need to duplicate all the j7200 entries for hs.

Also sign the DM firmware for J7200 similar to J7 HS

---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 36 +++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +35 -1
index 1248c9e..c0beb55 100644
@@ -15,6 +15,7 @@ inherit update-alternatives
 PLAT_SFX = ""
 PLAT_SFX:j7 = "j721e"
 PLAT_SFX:j7200-evm = "j7200"
+PLAT_SFX:j7200-hs-evm = "j7200"
 PLAT_SFX:am65xx = "am65xx"
 PLAT_SFX:am64xx = "am64xx"
 
@@ -55,6 +56,15 @@ do_install:prepend:j7-hs-evm() {
 	)
 }
 
+# J7 HS support
+do_install:prepend:j7200-hs-evm() {
+        export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+        ( cd ${RTOS_DM_FW_DIR}; \
+                mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
+                ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
+        )
+}
+
 # Update the am64xx ipc binaries to be consistent with other platforms
 do_install:prepend:am64xx() {
         ( cd ${RTOS_IPC_FW_DIR}; \
@@ -68,7 +78,7 @@ do_install:prepend:am64xx() {
 
 #Install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
 do_install() {
-
+	:
 }
 
 do_install:j7() {
@@ -100,6 +110,18 @@ do_install:j7200-evm() {
     install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
 }
 
+do_install:j7200-hs-evm() {
+    install -d ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    # DM Firmware
+    install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
+    # ETH firmware
+    install -d ${LEGACY_ETH_FW_DIR}
+    install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
+}
+
 do_install:am65xx() {
     install -d ${LEGACY_IPC_FW_DIR}
     install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
@@ -148,6 +170,13 @@ ALTERNATIVE:${PN}:j7200-evm = "\
                     j7200-main-r5f0_1-fw \
                     "
 
+ALTERNATIVE:${PN}:j7200-hs-evm = "\
+                    j7200-mcu-r5f0_0-fw \
+                    j7200-mcu-r5f0_1-fw \
+                    j7200-main-r5f0_0-fw \
+                    j7200-main-r5f0_1-fw \
+                    "
+
 # Set up link names for the firmwares
 
 TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
@@ -174,6 +203,11 @@ TARGET_MCU_R5FSS0_1:j7200-evm = "j7200-mcu-r5f0_1-fw"
 TARGET_MAIN_R5FSS0_0:j7200-evm = "j7200-main-r5f0_0-fw"
 TARGET_MAIN_R5FSS0_1:j7200-evm = "j7200-main-r5f0_1-fw"
 
+TARGET_MCU_R5FSS0_0:j7200-hs-evm = "j7200-mcu-r5f0_0-fw"
+TARGET_MCU_R5FSS0_1:j7200-hs-evm = "j7200-mcu-r5f0_1-fw"
+TARGET_MAIN_R5FSS0_0:j7200-hs-evm = "j7200-main-r5f0_0-fw"
+TARGET_MAIN_R5FSS0_1:j7200-hs-evm = "j7200-main-r5f0_1-fw"
+
 ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
 ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
 
Signature · 1 line
2.7.4
#20 lore raw

PATCH v2 20/26 j7200-hs: changes to support new hs platform

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Changes to support new j7200 hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
4) ti-sci-fw_git: Update firmware prefix for j7200 hs

---
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb                 | 18 ++++++++++++++++++
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend   |  8 ++++++++
 recipes-bsp/u-boot/u-boot-ti.inc                       |  6 ++++++
 recipes-security/optee/optee-os_%.bbappend             |  4 ++++
 4 files changed, 36 insertions(+)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +18 -0
index dd0ce09..f70c3ae 100644
@@ -2,6 +2,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
 
 DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
 DEPENDS:append:j7200-evm-k3r5 = " virtual/bootloader"
+DEPENDS:append:j7200-hs-evm-k3r5 = " virtual/bootloader"
 DEPENDS:append:am64xx-evm-k3r5 = " virtual/bootloader"
 DEPENDS:append:am64xx-hs-evm-k3r5 = " virtual/bootloader"
 
@@ -24,6 +25,7 @@ SYSFW_PREFIX = "ti-sci-firmware"
 SYSFW_PREFIX:j7-evm-k3r5 = "ti-fs-firmware"
 SYSFW_PREFIX:j7200-evm-k3r5 = "ti-fs-firmware"
 SYSFW_PREFIX:j7-hs-evm-k3r5 = "ti-fs-firmware"
+SYSFW_PREFIX:j7200-hs-evm-k3r5 = "ti-fs-firmware"
 
 SYSFW_SUFFIX ?= "unknown"
 
@@ -54,6 +56,7 @@ EXTRA_OEMAKE_HS = " \
 EXTRA_OEMAKE:append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
 
 EXTRA_OEMAKE:append:j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
+EXTRA_OEMAKE:append:j7200-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
 EXTRA_OEMAKE:append:am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
 EXTRA_OEMAKE:append:am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
 
@@ -103,6 +106,21 @@ do_deploy:j7200-evm-k3r5() {
 	install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
 }
 
+do_install:j7200-hs-evm-k3r5() {
+	install -d ${D}/boot
+	install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+	ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
+	ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+}
+
+do_deploy:j7200-hs-evm-k3r5() {
+	install -d ${DEPLOYDIR}
+	install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
+	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
+	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
+	install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
+}
+
 do_install:am64xx-evm-k3r5() {
 	install -d ${D}/boot
 	install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +8 -0
index 8fdccbe..42e867a 100644
@@ -31,3 +31,11 @@ do_compile:append:j7-hs-evm() {
 		${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
 	)
 }
+
+do_compile:append:j7200-hs-evm() {
+	export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+	( cd ${B}/${BUILD_DIR}/release/; \
+		mv bl31.bin bl31.bin.unsigned; \
+		${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
+	)
+}
recipes-bsp/u-boot/u-boot-ti.inc +6 -0
index 633975c..8ded12c 100644
@@ -65,6 +65,7 @@ SPL_UART_BINARY:keystone = ""
 SPL_UART_BINARY:k3r5 = ""
 SPL_UART_BINARY:lego-ev3 = ""
 SPL_UART_BINARY:j7200-evm-k3r5 = "u-boot-spl.bin"
+SPL_UART_BINARY:j7200-hs-evm-k3r5 = "u-boot-spl.bin"
 SPL_UART_BINARY:am64xx-evm-k3r5 = "u-boot-spl.bin"
 SPL_UART_BINARY:am64xx-hs-evm-k3r5 = "u-boot-spl.bin"
 
@@ -397,6 +398,11 @@ do_deploy:append:j7200-evm-k3r5 () {
 	mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
 }
 
+do_deploy:append:j7200-hs-evm-k3r5 () {
+	mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
+	mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
+}
+
 do_deploy:append:am64xx-evm-k3r5 () {
 	mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
 	mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
recipes-security/optee/optee-os_%.bbappend +4 -0
index 0a40fa2..5cb70df 100644
@@ -57,6 +57,10 @@ do_compile:append:j7-hs-evm() {
     optee_sign_k3hs
 }
 
+do_compile:append:j7200-hs-evm() {
+    optee_sign_k3hs
+}
+
 do_install:append:ti-soc() {
     install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
     install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
Signature · 1 line
2.7.4
#21 lore raw

PATCH v2 21/26 vxd-dec-fw: Add the recipe for vxd-dec-fw

In reply to Denys Dmytriyenko

From: Praneeth Bajjuri <[email protected]>

Add the firmware packaging recipe for the video decoder for j721e.

---
 licenses/TI-IMG                                    | 63 ++++++++++++++++++++++
 recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb | 24 +++++++++
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc            |  5 +-
 recipes-kernel/linux/kernel-rdepends.inc           |  3 ++
 4 files changed, 93 insertions(+), 2 deletions(-)
 create mode 100644 licenses/TI-IMG
 create mode 100644 recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
licenses/TI-IMG new file +63 -0
new file mode 100644
index 0000000..8d2e6f9
@@ -0,0 +1,63 @@
+This license applies to the Imagination D5520 firmware image, pvdec_full_bin.fw.
+
+Copyright (C) 2019 Texas Instruments Incorporated
+
+All rights reserved not granted herein.
+
+Limited License.
+
+Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
+license under copyrights and patents it now or hereafter owns or controls to
+make, have made, use, import, offer to sell and sell ("Utilize") this software
+subject to the terms herein. With respect to the foregoing patent license, such
+license is granted solely to the extent that any such patent is necessary to
+Utilize the software alone. The patent license shall not apply to any
+combinations which include this software, other than combinations with devices
+manufactured by or for TI (“TI Devices”). No hardware patent is licensed
+hereunder.
+
+Redistributions must preserve existing copyright notices and reproduce this
+license (including the above copyright notice and the disclaimer and
+(if applicable) source code license limitations below) in the documentation
+and/or other materials provided with the distribution
+
+Redistribution and use in binary form, without modification, are permitted
+provided that the following conditions are met:
+
+	* No reverse engineering, decompilation, or disassembly of this
+	  software is permitted with respect to any software provided in binary
+	  form.
+
+	* any redistribution and use are licensed by TI for use only with TI
+	  Devices.
+
+	* Nothing shall obligate TI to provide you with source code for the
+	  software licensed and provided to you in object code.
+
+If software source code is provided to you, modification and redistribution of
+the source code are permitted provided that the following conditions are met:
+
+	* any redistribution and use of the source code, including any
+	  resulting derivative works, are licensed by TI for use only with TI
+	  Devices.
+
+	* any redistribution and use of any object code compiled from the
+	  source code and any resulting derivative works, are licensed by TI
+	  for use only with TI Devices.
+
+Neither the name of Texas Instruments Incorporated nor the names of its
+suppliers may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+DISCLAIMER.
+
+THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "AS IS" AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+EVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb new file +24 -0
new file mode 100644
index 0000000..7a184be
@@ -0,0 +1,24 @@
+SUMMARY = "Video Decoding Firmware"
+LICENSE = "TI-IMG"
+LIC_FILES_CHKSUM = "file://LICENSE.ti-img;md5=84ca7278930db001870686ad997d6bb1"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${IMG_DEC_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "j7"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+TARGET = "pvdec_full_bin.fw"
+
+do_install() {
+        install -d ${D}${base_libdir}/firmware/ti-img
+        install -m 0644 ${S}/ti-img/${TARGET} ${D}${base_libdir}/firmware/ti-img/${TARGET}
+}
+
+FILES:${PN} = "${base_libdir}/firmware"
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +3 -2
index c59120b..f6d5b8d 100644
@@ -13,11 +13,12 @@ NETCP_SA_FW_VERSION = "1.0.0"
 NETCP_PA_FW_VERSION = "3.0.2.3"
 QMSS_PDSP_FW_VERSION = "1.0.0.9"
 PRUETH_FW_AM65X_VERSION = "08.00.00.20"
-PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06"
+PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07"
 GOODIX_FW_VERSION = "1.0.0.0"
 CADENCE_MHDP_FW_VERSION = "1.2.17"
+IMG_DEC_FW_VERSION = "1.0"
 
-TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063"
+TI_LINUX_FW_SRCREV ?= "c96a734a059889e571dcf30c0638157c690a6e6e"
 SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
recipes-kernel/linux/kernel-rdepends.inc +3 -0
index 7777e2b..41200c5 100644
@@ -39,3 +39,6 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:am64xx-evm = " prueth-fw-am65x-sr2"
 
 # Add run-time dependency for Cadence MHDP firmware to the rootfs
 RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " cadence-mhdp-fw"
+
+# Add run-time dependency for Video Decoding firmware to the rootfs
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " vxd-dec-fw"
Signature · 1 line
2.7.4
#22 lore raw

PATCH v2 22/26 j721e-sr1_1: Add j721e sr1.1 HS support

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

This patch adds support for J721e HS SR1.1
HS SR1.1 requires updated sysfw binary. Both SR1.0 and SR1.1 sysfw binary will be generated. sysfw.itb will point to SR1.1

This patch requires J7 SR 1.1 support in K3 Image gen.

---
 conf/machine/j7-hs-evm-k3r5-sr1-1.conf  | 11 +++++++++++
 conf/machine/j7-hs-evm.conf             |  8 ++++++++
 conf/multiconfig/k3r5-sr1-1.conf        |  3 +++
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc |  2 +-
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb  |  1 +
 5 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 conf/machine/j7-hs-evm-k3r5-sr1-1.conf
 create mode 100644 conf/multiconfig/k3r5-sr1-1.conf
conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file +11 -0
new file mode 100644
index 0000000..73f5afd
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J7 SR1.1 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J7 SR1.1 HS EVM (R5F core)
+
+# Booting SR1.1 requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/j7-hs-evm-k3r5.conf
+SOC_FAMILY:append = ":k3r5-sr1-1"
+
+SYSFW_SOC = "j721e_sr1_1"
+SYSFW_SYMLINK = "sysfw.itb"
conf/machine/j7-hs-evm.conf +8 -0
index 70e1475..ab0fa47 100644
@@ -19,4 +19,12 @@ SPL_BINARYNAME = "tispl.bin"
 UBOOT_BINARY = "u-boot.img_HS"
 IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
 
+BBMULTICONFIG += "k3r5-sr1-1"
+
+# Use default IMAGE_BOOT_FILES_LEGACY files
+# Since default sysfw.itb on J7 is for SR1.1, add a version for SR1.0
+IMAGE_BOOT_FILES += "sysfw-j7-hs-evm.itb"
+do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
+do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
+
 TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
conf/multiconfig/k3r5-sr1-1.conf new file +3 -0
new file mode 100644
index 0000000..428f221
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE:append = "-sr1-1"
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +1 -1
index f6d5b8d..d224f35 100644
@@ -23,7 +23,7 @@ SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
 
-K3_IMAGE_GEN_SRCREV ?= "6baabef219aea0f667423f2cab2bc2d63a349488"
+K3_IMAGE_GEN_SRCREV ?= "489c767a153ff26e9230746e04dd4b1ad0809901"
 SRCREV_imggen = "${K3_IMAGE_GEN_SRCREV}"
 SRCREV_FORMAT = "imggen"
 
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index f70c3ae..59dd3ee 100644
@@ -25,6 +25,7 @@ SYSFW_PREFIX = "ti-sci-firmware"
 SYSFW_PREFIX:j7-evm-k3r5 = "ti-fs-firmware"
 SYSFW_PREFIX:j7200-evm-k3r5 = "ti-fs-firmware"
 SYSFW_PREFIX:j7-hs-evm-k3r5 = "ti-fs-firmware"
+SYSFW_PREFIX:j7-hs-evm-k3r5-sr1-1 = "ti-fs-firmware"
 SYSFW_PREFIX:j7200-hs-evm-k3r5 = "ti-fs-firmware"
 
 SYSFW_SUFFIX ?= "unknown"
Signature · 1 line
2.7.4
#23 lore raw

PATCH v2 23/26 u-boot-ti-staging: Bump u-boot version for 08.01.00.005

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

u-boot bump for 08.01.00.005 release

---
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
index b5aa3fb..f65d4fb 100644
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r14"
+PR = "r15"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "6c804a1af10bda322c86ce1c5dbb29f0fbb56c79"
+SRCREV = "d79399bcd770191618bfeb3840506a286a6498df"
Signature · 1 line
2.7.4
#24 lore raw

PATCH v2 24/26 linux-ti-staging: Bump linux version for 08.01.00.005

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

Bump linux for 08.01.00.005 release

---
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
index 5e1fc00..2d160ab 100644
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-5.10.y"
 
-SRCREV = "eb55b499b1865222e85acad2c665baadbaea3072"
+SRCREV = "dfe78b39dc37d37666f04c788abcf7d72cca3e91"
 PV = "5.10.65+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.7.4
#25 lore raw

PATCH v2 25/26 linux-ti-staging-rt: Bump linux rt version for 08.01.00.005

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

Bump linux rt version to 08.01.00.005

---
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
index a02e82d..b4475e1 100644
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:"
 
 BRANCH = "ti-rt-linux-5.10.y"
 
-SRCREV = "d3083b1688af8af4728478c759e56b2a22adf9e5"
+SRCREV = "0c67d996db8f3c9149598bc98657ae28fee22208"
 PV = "5.10.65+git${SRCPV}"
Signature · 1 line
2.7.4
#26 lore raw

PATCH v2 26/26 j7-hs-evm: Correct image boot file causing build error

In reply to Denys Dmytriyenko

From: Yogesh Siraswar <[email protected]>

Correct the boot image file that is causing build error

---
 conf/machine/j7-hs-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/j7-hs-evm.conf +1 -1
index ab0fa47..f2e3ccf 100644
@@ -23,7 +23,7 @@ BBMULTICONFIG += "k3r5-sr1-1"
 
 # Use default IMAGE_BOOT_FILES_LEGACY files
 # Since default sysfw.itb on J7 is for SR1.1, add a version for SR1.0
-IMAGE_BOOT_FILES += "sysfw-j7-hs-evm.itb"
+IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb"
 do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
 do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
 
Signature · 1 line
2.7.4