Skip to contentSkip to conversation

2023.03 sync up with Dunfell

PATCH New Denys Dmytriyenko 1 participant 45 messages Mar 20, 2023

lore
Share & tools
lore
#0 lore raw

cover 2023.03 sync up with Dunfell

From: Denys Dmytriyenko <[email protected]>

Latest (as of March 2023) sync up of Dunfell changes to master

Notable changes:

* AM62Ax platform addition
* HS-SE and/or HS-FS additions to many J7 and AM6 platforms
* Version bumps for many system components, including kernel, u-boot, optee, trusted-firmware-a, k3conf and firmware images
* DTB/DTBOs additions to existing platforms
* ti-rtos-firmware fixes

Aradhya Bhatia (2):
conf: machine: am62xx: Add missing overlays for AM625 SK
conf: machine: am62xx-lp-evm: Add OLDI Panel overlay

Bhavya Kapoor (4):
conf: machine: j7200-evm: Add uarts overlay for J7200
conf: machine: j721e-evm: Add uarts overlay for J721E
conf: machine: j721s2-evm: Add uarts overlay for J721S2
conf: machine: j784s4-evm: Add uarts overlay for J784S4

Bryan Brattlof (1):
k3conf update SRCREV to add am62ax support

Chirag Shilwant (4):
machine: Add AM62Q HS-SE evm configuration
machine: Add AM62x HS-SE evm configuration
am62xx-evm: Add AM62x HS-FS evm configuration
am62xx-lp-evm: Add AM62x LP HS-FS evm configuration

Dasnavis (1):
conf: machine: j784s4-evm: Add support for J784S4 HS-FS

Dasnavis Sabiya (3):
conf: machine: j784s4: Add AM69 SK specific dtb and dtbo to
KERNEL_DEVICETREE
conf: machine: j784s4: Add FPDLink overlays for AM69 SK
conf: machine: j784s4: Add ehrpwm overlay for am69-sk

Denys Dmytriyenko (6):
optee-os-tadevkit: update to match optee-os
ti-k3-secdev: update to the latest from Dunfell
ti-linux-fw: update to the latest from Dunfell
u-boot-ti-staging: update to the latest from Dunfell
linux-ti-staging: update to the latest from Dunfell
ti-rtos-firmware: numerous fixes and cleanups

Devarsh Thakkar (1):
ipc: ti-rpmsg-char: Update library to 0.5.2

Dhruva Gole (1):
optee-os: Enable SW PRNG for OP-TEE in AM62X

Jai Luthra (2):
conf: machine: am62axx: Add camera overlays for AM62A SK
conf: machine: am62axx: Add overlays for IMX390 cameras

Judith Mendez (1):
trusted-firmware-a: upgrade to v2.8+

Kamlesh Gurudasani (2):
optee-os: Enable OP-TEE TRNG in AM62X
optee-os: Revert to lower log level for AM62x

Manorit Chawdhry (4):
conf: machine: Add J784S4 hs platform
j784s4-hs: changes to support new hs platform
optee: update optee-test, optee-examples to 3.19 tag
optee: update optee components to 3.20 tag

Paresh Bhagat (1):
machine: Add am62axx evm configuration

Praneeth Bajjuri (1):
optee-os: Lower log level for am62axx

Ryan Eatmon (3):
conf: Remove vmlinux.gz from KERNEL_IMAGETYPES
hs: Deploy the unsigned versions of bl31 and bl32
ti-sci-fw: Add SYSFW_SUFFIX to sysfw.itb files

Sai Sree Kartheek Adivi (1):
am62axx-evm: Add AM62A HS-FS evm configuration

Siddharth Vadapalli (1):
conf: machine: am62axx: Add overlay for second CPSW3G Port

Sinthu Raja (6):
conf: machine: k3: Define RD, DTB and DTBO load address for FIT image
conf: machine: j721s2-evm: Add support for J721S2 HS-FS
conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to
KERNEL_DEVICETREE
conf: machine: j721s2: Fix DTB overlay extension for OV5640
conf: machine: j721s2: Add FPDLink overlays for am68-sk
conf: machine: j721s2: Add ehrpwm overlay for am68-sk

Vaishnav Achath (7):
conf: machine: j7200-evm: Add MCSPI loopback overlay for J7200
conf: machine: j721e-evm: Add camera overlays for J721E EVM
conf: machine: j721s2-evm: Add camera overlays for J721S2 EVM
conf: machine: j784s4-evm: Add camera overlays for J784S4 EVM
conf: machine: j721e-evm: Add MCSPI loopback overlay for J721E
conf: machine: j721s2-evm: Add MCSPI loopback overlay for J721S2
conf: machine: j784s4-evm: Add MCSPI loopback overlay for J784S4

Zachary Booth (1):
conf: omap-a15: Fix parsing when KERNEL_DEVICETREE is not set

 .../conf/machine/am62axx-evm-k3r5-gp.conf     |  19 +++
 .../conf/machine/am62axx-evm-k3r5-hs-fs.conf  |  14 +++
 .../conf/machine/am62axx-evm-k3r5-hs-se.conf  |  22 ++++
 meta-ti-bsp/conf/machine/am62axx-evm.conf     |  30 +++++
 ...-evm-k3r5.conf => am62xx-evm-k3r5-gp.conf} |   7 ++
 .../conf/machine/am62xx-evm-k3r5-hs-fs.conf   |  14 +++
 .../conf/machine/am62xx-evm-k3r5-hs-se.conf   |  21 ++++
 meta-ti-bsp/conf/machine/am62xx-evm.conf      |   9 ++
 .../machine/am62xx-lp-evm-k3r5-hs-fs.conf     |  14 +++
 .../machine/am62xx-lp-evm-k3r5-hs-se.conf     |  21 ++++
 .../conf/machine/am62xx-lp-evm-k3r5.conf      |  12 +-
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf   |   7 +-
 meta-ti-bsp/conf/machine/am65xx-hs-evm.conf   |   8 --
 meta-ti-bsp/conf/machine/include/am62axx.inc  |  26 +++++
 .../conf/machine/include/am62xx-lp.inc        |  21 ++++
 meta-ti-bsp/conf/machine/include/am62xx.inc   |  14 +++
 meta-ti-bsp/conf/machine/include/k3.inc       |   7 +-
 meta-ti-bsp/conf/machine/include/omap-a15.inc |   2 +-
 meta-ti-bsp/conf/machine/j7200-evm.conf       |   2 +
 meta-ti-bsp/conf/machine/j7200-hs-evm.conf    |   8 --
 meta-ti-bsp/conf/machine/j721e-evm.conf       |  23 ++++
 meta-ti-bsp/conf/machine/j721e-hs-evm.conf    |   8 --
 .../conf/machine/j721s2-evm-k3r5-gp.conf      |  20 ++++
 .../machine/j721s2-evm-k3r5-sr1-hs-fs.conf    |  15 +++
 meta-ti-bsp/conf/machine/j721s2-evm.conf      |  35 ++++++
 meta-ti-bsp/conf/machine/j721s2-hs-evm.conf   |  21 ++--
 .../conf/machine/j784s4-evm-k3r5-gp.conf      |  20 ++++
 .../machine/j784s4-evm-k3r5-sr1-hs-fs.conf    |  16 +++
 meta-ti-bsp/conf/machine/j784s4-evm.conf      |  35 ++++++
 .../conf/machine/j784s4-hs-evm-k3r5.conf      |  11 ++
 meta-ti-bsp/conf/machine/j784s4-hs-evm.conf   |  25 ++++
 meta-ti-bsp/conf/multiconfig/k3r5-hs-fs.conf  |   3 +
 meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf  |   3 +
 .../conf/multiconfig/k3r5-sr1-hs-fs.conf      |   3 +
 meta-ti-bsp/conf/multiconfig/k3r5-sr1.conf    |   3 +
 .../cnm-wave-fw/cnm-wave-fw_git.bb            |   2 +-
 .../recipes-bsp/ti-linux-fw/ti-linux-fw.inc   |   4 +-
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  36 +++++-
 .../tifs-lpm-stub/tifs-lpm-stub_git.bb        |   2 +-
 .../trusted-firmware-a_%.bbappend             |  16 ++-
 .../u-boot/u-boot-ti-staging_2021.01.bb       |   2 +-
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc  |   1 +
 .../recipes-devtools/k3conf/k3conf_git.bb     |   2 +-
 .../recipes-kernel/linux/kernel-rdepends.inc  |   2 +
 .../linux/linux-ti-staging-rt_5.10.bb         |   4 +-
 .../linux/linux-ti-staging_5.10.bb            |   4 +-
 .../optee/optee-client_%.bbappend             |   7 ++
 .../optee/optee-examples_%.bbappend           |   2 +
 .../optee/optee-os-tadevkit_3.20.0.bb         |  24 ++++
 .../optee/optee-os_%.bbappend                 |  11 +-
 .../optee/optee-test_%.bbappend               |   2 +
 meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc  |   6 +-
 .../recipes-ti/secdev/ti-k3-secdev_git.bb     |   2 +-
 .../ti-rtos-bin/ti-rtos-firmware.bb           | 108 +++++++++++-------
 54 files changed, 648 insertions(+), 108 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-se.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm.conf
 rename meta-ti-bsp/conf/machine/{am62xx-evm-k3r5.conf => am62xx-evm-k3r5-gp.conf} (54%)
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-se.conf
 create mode 100644 meta-ti-bsp/conf/machine/include/am62axx.inc
 create mode 100644 meta-ti-bsp/conf/machine/include/am62xx-lp.inc
 create mode 100644 meta-ti-bsp/conf/machine/j721s2-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/j721s2-evm-k3r5-sr1-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-evm-k3r5-sr1-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-hs-evm.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-sr1-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-sr1.conf
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/53 conf: machine: Add J784S4 hs platform

From: Manorit Chawdhry <[email protected]>

Machine conf for J784S4 HS platform.
Used J721S2 hs as reference.

---
 meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
 meta-ti-bsp/conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-hs-evm.conf
meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf new file +11 -0
new file mode 100644
index 00000000..80a228a0
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
meta-ti-bsp/conf/machine/j784s4-hs-evm.conf new file +11 -0
new file mode 100644
index 00000000..62357d62
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
+
+require conf/machine/j784s4-evm.conf
+
+UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
+
+SPL_BINARY = "tispl.bin_HS"
+UBOOT_BINARY = "u-boot.img_HS"
+UBOOT_SYMLINK = "u-boot.img"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/53 j784s4-hs: changes to support new hs platform

In reply to Denys Dmytriyenko

From: Manorit Chawdhry <[email protected]>

Changes to support new j784s4-hs platform in:

1) ti-sci-fw_git: Update firmware prefix for j784s4-hs
2) atf: sign the image
4) optee: sign the image

---
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 46d5111d..eb641270 100644
@@ -36,6 +36,7 @@ SYSFW_PREFIX:j7200-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:j721s2-evm-k3r5 = "fs"
 SYSFW_PREFIX:j721s2-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
+SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/53 optee-os: Enable OP-TEE TRNG in AM62X

In reply to Denys Dmytriyenko

From: Kamlesh Gurudasani <[email protected]>

Enable trng support as trng support is added now in OP-TEE

---
 meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 --
 1 file changed, 2 deletions(-)
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +0 -2
index c1adf6de..d483f25b 100644
@@ -3,8 +3,6 @@ inherit ti-secdev
 
 EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
-EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
-
 do_compile:append:k3() {
     ( cd ${B}/core/; \
         cp tee-pager_v2.bin ${B}/bl32.bin; \
Signature · 1 line
2.25.1
#4 lore raw

PATCH 4/53 conf: omap-a15: Fix parsing when KERNEL_DEVICETREE is not set

In reply to Denys Dmytriyenko

From: Zachary Booth <[email protected]>

Correctly handle parsing when KERNEL_DEVICETREE is not set.

---
 meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/omap-a15.inc +1 -1
index bc6add02..49db1cb6 100644
@@ -23,7 +23,7 @@ UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
 
-DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}"
+DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/","")}"
 
 # Generate an extlinux.conf file
 UBOOT_EXTLINUX = "1"
Signature · 1 line
2.25.1
#5 lore raw

PATCH 5/53 conf: Remove vmlinux.gz from KERNEL_IMAGETYPES

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

With a recent patch to the TI kernel that includes debug symbols, the vmlinux.gz file grew in size that impacted the testing. This file is not needed to be in the final image so remove it from the list.

---
 meta-ti-bsp/conf/machine/include/k3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/k3.inc +1 -1
index 3b59645b..e4ef2f94 100644
@@ -15,7 +15,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
 PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "Image"
-KERNEL_IMAGETYPES = "Image vmlinux.gz fitImage"
+KERNEL_IMAGETYPES = "Image fitImage"
 KERNEL_CLASSES += "kernel-fitimage"
 
 UBOOT_ARCH = "arm"
Signature · 1 line
2.25.1
#6 lore raw

PATCH 6/53 machine: Add am62axx evm configuration

In reply to Denys Dmytriyenko

From: Paresh Bhagat <[email protected]>

Lets add the basic AM62Axx-evm configuration.
- Add configurations.
- Add firmware overrides.
- Add u-boot overrides.
- Add tifs-lpm-stub.
- Add cnm-wave-fw.

---
 .../conf/machine/am62axx-evm-k3r5.conf        | 11 ++++
 meta-ti-bsp/conf/machine/am62axx-evm.conf     | 11 ++++
 meta-ti-bsp/conf/machine/include/am62axx.inc  | 15 +++++
 .../cnm-wave-fw/cnm-wave-fw_git.bb            |  2 +-
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  1 +
 .../tifs-lpm-stub/tifs-lpm-stub_git.bb        |  2 +-
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc  |  1 +
 .../recipes-kernel/linux/kernel-rdepends.inc  |  2 +
 .../ti-rtos-bin/ti-rtos-firmware.bb           | 65 +++++++++++++------
 9 files changed, 87 insertions(+), 23 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm.conf
 create mode 100644 meta-ti-bsp/conf/machine/include/am62axx.inc
meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf new file +11 -0
new file mode 100644
index 00000000..ca30537f
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM62AXX EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62Axx EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am62ax"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
meta-ti-bsp/conf/machine/am62axx-evm.conf new file +11 -0
new file mode 100644
index 00000000..4eb179f3
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM62AXX EVM
+#@DESCRIPTION: Machine configuration for the TI AM62AXX EVM
+
+require conf/machine/include/am62axx.inc
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am62a7-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
meta-ti-bsp/conf/machine/include/am62axx.inc new file +15 -0
new file mode 100644
index 00000000..cc477366
@@ -0,0 +1,15 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62axx"
+
+MACHINE_FEATURES += "screen touchscreen"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+
+TFA_BOARD = "lite"
+OPTEEMACHINE = "k3-am62x"
meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +1 -1
index e7aa9ef4..2f75f4e3 100644
@@ -13,7 +13,7 @@ PR = "${INC_PR}.1"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j721s2|j784s4"
+COMPATIBLE_MACHINE = "j721s2|j784s4|am62axx"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index eb641270..37d022e9 100644
@@ -39,6 +39,7 @@ SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
+SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
 
 SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
 
meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb +1 -1
index ce5f4e1f..2db761ba 100644
@@ -7,7 +7,7 @@ PR = "${INC_PR}.0"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "am62xx"
+COMPATIBLE_MACHINE = "am62xx|am62axx"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +1 -0
index 8c7bf9dd..1eca5c00 100644
@@ -37,6 +37,7 @@ PACKAGECONFIG:append:j7200 = " dm"
 PACKAGECONFIG:append:j721s2 = " dm"
 PACKAGECONFIG:append:j784s4 = " dm"
 PACKAGECONFIG:append:am62xx = " dm"
+PACKAGECONFIG:append:am62axx = " dm"
 
 COMPATIBLE_MACHINE = "(ti-soc)"
 
meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc +2 -0
index 808a4766..69796915 100644
@@ -30,6 +30,8 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j721e = " vxd-dec-fw"
 # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs
 RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j721s2 = " cnm-wave-fw"
 RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j784s4 = " cnm-wave-fw"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:am62axx = " cnm-wave-fw"
 
 # Add run-time dependency for TIFS Low Power Module stub
 RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:am62xx = " tifs-lpm-stub"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:am62axx = " tifs-lpm-stub"
meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +44 -21

105 lines not on this page · raw message

Signature · 1 line
2.25.1
#7 lore raw

PATCH 7/53 optee-os: Revert to lower log level for AM62x

In reply to Denys Dmytriyenko

From: Kamlesh Gurudasani <[email protected]>

While removing SOFTWARE_PRNG support commit:98506a4a07363a1b57012ccfaee263f47e5b46c4, accidently removed the changes applied
by commit:27641e1f2d7f6696fd7bbd8f24fcac20766b6234 (optee-os: Lower log level for AM62x).

Reverting those changes back

---
 meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +2 -0
index d483f25b..2bc7b409 100644
@@ -3,6 +3,8 @@ inherit ti-secdev
 
 EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
+EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
+
 do_compile:append:k3() {
     ( cd ${B}/core/; \
         cp tee-pager_v2.bin ${B}/bl32.bin; \
Signature · 1 line
2.25.1
#8 lore raw

PATCH 8/53 optee: update optee-test, optee-examples to 3.19 tag

In reply to Denys Dmytriyenko

From: Manorit Chawdhry <[email protected]>

optee-os is already at 3.20 tag but the others were still outdated.

Updates other optee components to 3.19 tag

---
 meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend | 2 ++
 meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend     | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend
meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend new file +2 -0
new file mode 100644
index 00000000..9c757f11
@@ -0,0 +1,2 @@
+PV:ti-soc = "3.19.0+git${SRCPV}"
+SRCREV:ti-soc = "f301ee9df2129c0db683e726c91dc2cefe4cdb65"
meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend new file +2 -0
new file mode 100644
index 00000000..361a9115
@@ -0,0 +1,2 @@
+PV:ti-soc = "3.19.0+git${SRCPV}"
+SRCREV:ti-soc = "ab9863cc187724e54c032b738c28bd6e9460a4db"
Signature · 1 line
2.25.1
#9 lore raw

PATCH 9/53 ipc: ti-rpmsg-char: Update library to 0.5.2

In reply to Denys Dmytriyenko

From: Devarsh Thakkar <[email protected]>

Update library to 0.5.2 as it adds support for AM62A SoC.

---
 meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc +3 -3
index d21dcbf3..dff13640 100644
@@ -7,10 +7,10 @@ PROTOCOL = "https"
 BRANCH = "master"
 SRC_URI = "git://git.ti.com/git/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
 
-# Initial 0.5.1 release
-SRCREV = "adb964ee72f99545e2ad55c50cfd14015a7d837e"
+# Initial 0.5.2 release
+SRCREV = "1da3e1bd0412c148ab57690940fea5d129220896"
 
-PV = "0.5.1+git${SRCPV}"
+PV = "0.5.2+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1
#10 lore raw

PATCH 10/53 optee-os: Lower log level for am62axx

In reply to Denys Dmytriyenko

From: Praneeth Bajjuri <[email protected]>

Lower the log level for am62axx platform

commit 27641e1f2d7f ("optee-os: Lower log level for AM62x") changes the log level for am62xx platforms.
This patch is to extend the same for am62axx

---
 meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +1 -0
index 2bc7b409..583f1c73 100644
@@ -4,6 +4,7 @@ inherit ti-secdev
 EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
 EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
+EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
 
 do_compile:append:k3() {
     ( cd ${B}/core/; \
Signature · 1 line
2.25.1
#11 lore raw

PATCH 11/53 machine: Add AM62Q HS-SE evm configuration

In reply to Denys Dmytriyenko

From: Chirag Shilwant <[email protected]>

Lets add the basic AM62Q HS-SE configuration.
- Add configurations.
- Add ti-sci-firmware overrides.
- Add u-boot overrides.
- Add optee overrides.
- Add ti-rtos-firmware overrides.

---
 .../conf/machine/am62xx-lp-evm-k3r5-hs-se.conf   | 14 ++++++++++++++
 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 12 ++++++++++--
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf      |  6 +++++-
 meta-ti-bsp/conf/machine/include/am62xx-lp.inc   | 16 ++++++++++++++++
 meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf     |  3 +++
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb       |  1 +
 6 files changed, 49 insertions(+), 3 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-se.conf
 create mode 100644 meta-ti-bsp/conf/machine/include/am62xx-lp.inc
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-se.conf new file +14 -0
new file mode 100644
index 00000000..11e70342
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM62xx LPSK HS-SE EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx LP HS-SE EVM (R5F core)
+
+# Booting HS-SE requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-se"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +10 -2
index ca4ced5a..15ecc677 100644
@@ -1,11 +1,19 @@
 #@TYPE: Machine
-#@NAME: AM62XX LP EVM (R5F)
-#@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core)
+#@NAME: AM62XX LP GP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
 
 require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-gp"
 
 SYSFW_SOC = "am62x"
 SYSFW_CONFIG = "evm"
 SYSFW_SUFFIX = "gp"
 
+SYSFW_TIBOOT3_SYMLINK = ""
+
 UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +5 -1
index ec9ce596..be95f33a 100644
@@ -2,7 +2,7 @@
 #@NAME: AM62XX LP EVM
 #@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
 
-require conf/machine/include/am62xx.inc
+require conf/machine/include/am62xx-lp.inc
 
 KERNEL_DEVICETREE = " \
     ti/k3-am62x-lp-sk.dtb \
@@ -11,4 +11,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-sk-csi2-ov5640.dtbo \
 "
 
+SPL_BINARY = "tispl.bin_HS"
+UBOOT_BINARY = "u-boot.img_HS"
+UBOOT_SYMLINK = "u-boot.img"
+
 UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/include/am62xx-lp.inc new file +16 -0
new file mode 100644
index 00000000..df113003
@@ -0,0 +1,16 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62xx"
+
+MACHINE_FEATURES += "screen touchscreen"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+# Default tiboot3.bin on AM62x LP is for HS-SE
+BBMULTICONFIG += "k3r5-hs-se"
+do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
+
+TFA_BOARD = "lite"
+OPTEEMACHINE = "k3-am62x"
meta-ti-bsp/conf/multiconfig/k3r5-hs-se.conf new file +3 -0
new file mode 100644
index 00000000..7e3d7dae
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE:append = "-hs-se"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 37d022e9..77709689 100644
@@ -39,6 +39,7 @@ SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
+SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
 
 SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
Signature · 1 line
2.25.1
#12 lore raw

PATCH 12/53 hs: Deploy the unsigned versions of bl31 and bl32

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

In addition to releasing the signed versions of the bl31.bin and bl32.bin files, also release the unsigned original versions.

---
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 12 ++++++++++++
 .../recipes-security/optee/optee-os_%.bbappend       | 10 +++-------
 2 files changed, 15 insertions(+), 7 deletions(-)
meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +12 -0
index 01d3f7d5..13581358 100644
@@ -20,3 +20,15 @@ do_compile:append:k3() {
 	mv ${BUILD_DIR}/bl31.bin ${BUILD_DIR}/bl31.bin.unsigned
 	${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${BUILD_DIR}/bl31.bin.unsigned ${BUILD_DIR}/bl31.bin
 }
+
+do_install:append:k3() {
+    if [ -f ${BUILD_DIR}/bl31.bin.unsigned ]; then
+        echo "Install bl31.bin.unsigned"
+        install -m 0644 ${BUILD_DIR}/bl31.bin.unsigned \
+        ${D}/firmware/bl31.bin.unsigned
+    else
+        echo "Install bl31.bin.unsigned"
+        install -m 0644 ${BUILD_DIR}/bl31.bin \
+        ${D}/firmware/bl31.bin.unsigned
+    fi
+}
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +3 -7
index 583f1c73..a06fe858 100644
@@ -6,13 +6,6 @@ EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') i
 EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
 EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
 
-do_compile:append:k3() {
-    ( cd ${B}/core/; \
-        cp tee-pager_v2.bin ${B}/bl32.bin; \
-        cp tee.elf ${B}/bl32.elf; \
-    )
-}
-
 # Signing procedure for legacy HS devices
 optee_sign_legacyhs() {
     ( cd ${B}/core/; \
@@ -43,12 +36,14 @@ do_compile:append:dra7xx() {
 # Signing procedure for K3 devices
 do_compile:append:k3() {
     ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${B}/core/tee-pager_v2.bin ${B}/bl32.bin
+    cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin.unsigned
     cp ${B}/core/tee.elf ${B}/bl32.elf
 }
 
 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
+    install -m 644 ${B}/bl32.bin.unsigned ${D}${nonarch_base_libdir}/firmware/ || true
     install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true
 }
 
@@ -69,6 +64,7 @@ do_deploy:append:dra7xx() {
 
 do_deploy:append:k3() {
     ln -sf optee/bl32.bin ${DEPLOYDIR}/
+    ln -sf optee/bl32.bin.unsigned ${DEPLOYDIR}/
     ln -sf optee/bl32.elf ${DEPLOYDIR}/
 }
 
Signature · 1 line
2.25.1
#13 lore raw

PATCH 13/53 optee-os: Enable SW PRNG for OP-TEE in AM62X

In reply to Denys Dmytriyenko

From: Dhruva Gole <[email protected]>

commit 98506a4a07363 ("optee-os: Update SRCREV for OP-TEE TRNG in AM62X")

Disables SW PRNG => Enabling Hardware RNG. This is breaking Suspend Resume on AM62xx EVM variants. To fix this keep using SOFTWARE_PRNG enabled as it was.

---
 meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +1 -1
index a06fe858..0c5a6b21 100644
@@ -3,7 +3,7 @@ inherit ti-secdev
 
 EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
-EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
+EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
 EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
 
 # Signing procedure for legacy HS devices
Signature · 1 line
2.25.1
#14 lore raw

PATCH 14/53 trusted-firmware-a: upgrade to v2.8+

In reply to Denys Dmytriyenko

From: Judith Mendez <[email protected]>

Upgrade arm-trusted-firmare to v2.8-226-g2fcd408bb.

This upgrade picks up K3 L2 cache, snoop delayed, and EA handling updates from upstream master.

Do not update to tip of master due to PSCI system off support breaking AM62x and AM62q platforms.

---
 .../trusted-firmware-a/trusted-firmware-a_%.bbappend          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +2 -2
index 13581358..4019a94b 100644
@@ -1,5 +1,5 @@
-PV:k3 = "2.7"
-SRCREV_tfa:k3 = "1309c6c805190bd376c0561597653f3f8ecd0f58"
+PV:k3 = "2.8+git${SRCPV}"
+SRCREV_tfa:k3 = "2fcd408bb3a6756767a43c073c597cef06e7f2d5"
 SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
 COMPATIBLE_MACHINE:k3 = "k3"
 TFA_BUILD_TARGET:k3 = "all"
Signature · 1 line
2.25.1
#15 lore raw

PATCH 15/53 k3conf update SRCREV to add am62ax support

In reply to Denys Dmytriyenko

From: Bryan Brattlof <[email protected]>

update the SHA of k3conf to pickup am62ax support

---
 meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +1 -1
index 10e2631e..c6d3773e 100644
@@ -8,7 +8,7 @@ PV = "0.2+git${SRCPV}"
 COMPATIBLE_MACHINE = "k3"
 
 BRANCH ?= "master"
-SRCREV = "48cb8e8d7dc962229a9f318cd512b4ddeec5cdc5"
+SRCREV = "982f5c2f02f732b5829861218812904cd776773d"
 
 SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
 
Signature · 1 line
2.25.1
#16 lore raw

PATCH 16/53 machine: Add AM62x HS-SE evm configuration

In reply to Denys Dmytriyenko

From: Chirag Shilwant <[email protected]>

Lets add the basic AM62x HS-SE configuration.
- Add machine conf for AM62x HS-SE.
- The wic images will boot on AM62x GP devices by default.
- To boot on AM62x HS-SE, simply switch out the SYSFW image:

           $ cd /mnt/sd-card/boot
           $ mv tiboot3-am62x-hs-evm.bin tiboot3.bin

- Add ti-sci-firmware overrides.
- Add support to sign ATF and OPTEE.

---
 ...-evm-k3r5.conf => am62xx-evm-k3r5-gp.conf} |  3 +++
 .../conf/machine/am62xx-evm-k3r5-hs-se.conf   | 21 +++++++++++++++++++
 meta-ti-bsp/conf/machine/am62xx-evm.conf      |  4 ++++
 meta-ti-bsp/conf/machine/include/am62xx.inc   |  8 +++++++
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  3 ++-
 5 files changed, 38 insertions(+), 1 deletion(-)
 rename meta-ti-bsp/conf/machine/{am62xx-evm-k3r5.conf => am62xx-evm-k3r5-gp.conf} (67%)
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf
meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf renamed from meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +3 -0
similarity index 67%
rename from meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
rename to meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf
index 724a8d4a..d9867bc7 100644
@@ -9,3 +9,6 @@ SYSFW_CONFIG = "evm"
 SYSFW_SUFFIX = "gp"
 
 UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-se.conf new file +21 -0
new file mode 100644
index 00000000..7bca513a
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: AM62xx HS-SE EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx HS-SE EVM (R5F core)
+
+# Booting HS-SE requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-se"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+SYSFW_TIBOOT3_SYMLINK = ""
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-hs-se-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-hs-se.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62xx-evm.conf +4 -0
index 73859d5f..96355411 100644
@@ -12,3 +12,7 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "am62x_evm_a53_defconfig"
+
+SPL_BINARY = "tispl.bin_HS"
+UBOOT_BINARY = "u-boot.img_HS"
+UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/machine/include/am62xx.inc +8 -0
index 98df24b2..53e48610 100644
@@ -8,6 +8,14 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
 
+BBMULTICONFIG = "k3r5-gp"
+do_image_wic[mcdepends] = "mc::k3r5-gp:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on AM62x is for GP, add a version for HS-SE
+BBMULTICONFIG += "k3r5-hs-se"
+IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
+
 TFA_BOARD = "lite"
 TFA_K3_SYSTEM_SUSPEND = "1"
 
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +2 -1
index 77709689..798131d4 100644
@@ -37,7 +37,8 @@ SYSFW_PREFIX:j721s2-evm-k3r5 = "fs"
 SYSFW_PREFIX:j721s2-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
-SYSFW_PREFIX:am62xx-evm-k3r5 = "fs"
+SYSFW_PREFIX:am62xx-evm-k3r5-gp = "fs"
+SYSFW_PREFIX:am62xx-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
Signature · 1 line
2.25.1
#17 lore raw

PATCH 17/53 optee: update optee components to 3.20 tag

In reply to Denys Dmytriyenko

From: Manorit Chawdhry <[email protected]>

OPTEE tests is not being upgraded due to a newer python dependency for the build

---
 meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend new file +7 -0
new file mode 100644
index 00000000..19db3827
@@ -0,0 +1,7 @@
+PV:ti-soc = "3.20.0+git${SRCPV}"
+SRCREV:ti-soc = "dd2d39b49975d2ada7870fe2b7f5a84d0d3860dc"
+
+inherit pkgconfig
+DEPENDS:append:ti-soc = " util-linux"
+
+EXTRA_OEMAKE:append:ti-soc = " PKG_CONFIG=pkg-config"
Signature · 1 line
2.25.1
#18 lore raw

PATCH 18/53 optee-os-tadevkit: update to match optee-os

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This installs shared OPTEE-OS APIs and needs to match in order for latest client/test/examples to be able to build.

---
 .../optee/optee-os-tadevkit_3.20.0.bb         | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb
meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb new file +24 -0
new file mode 100644
index 00000000..f2cc06d8
@@ -0,0 +1,24 @@
+require recipes-security/optee/optee-os_3.20.0.bb
+
+SUMMARY = "OP-TEE Trusted OS TA devkit"
+DESCRIPTION = "OP-TEE TA devkit for build TAs"
+HOMEPAGE = "https://www.op-tee.org/"
+
+DEPENDS += "python3-pycryptodome-native"
+
+do_install() {
+    #install TA devkit
+    install -d ${D}${includedir}/optee/export-user_ta/
+    for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do
+        cp -aR $f ${D}${includedir}/optee/export-user_ta/
+    done
+}
+
+do_deploy() {
+	echo "Do not inherit do_deploy from optee-os."
+}
+
+FILES:${PN} = "${includedir}/optee/"
+
+# Build paths are currently embedded
+INSANE_SKIP:${PN}-dev += "buildpaths"
Signature · 1 line
2.25.1
#19 lore raw

PATCH 19/53 conf: machine: k3: Define RD, DTB and DTBO load address for FIT image

In reply to Denys Dmytriyenko

From: Sinthu Raja <[email protected]>

K3 platforms include the FIT image-based kernel by default. The bootloader loads the kernel and DTB from the FIT image. The DTB/DTBOs are added to the FIT image but the load address is not included in the image section of each DTB/DTBO. This load address is determined by the LOADADDRESS macros in the kernel-fitmage class.

Hence, define the RD/DTB/DTBOs LOADADDRESS and OFFSET macros in the K3 common include, and remove those macros defined in the K3 board specific config files.

---
 meta-ti-bsp/conf/machine/am65xx-hs-evm.conf | 8 --------
 meta-ti-bsp/conf/machine/include/k3.inc     | 5 +++++
 meta-ti-bsp/conf/machine/j7200-hs-evm.conf  | 8 --------
 meta-ti-bsp/conf/machine/j721e-hs-evm.conf  | 8 --------
 meta-ti-bsp/conf/machine/j721s2-hs-evm.conf | 8 --------
 5 files changed, 5 insertions(+), 32 deletions(-)
meta-ti-bsp/conf/machine/am65xx-hs-evm.conf +0 -8
index ea1f8ff1..2c1256d0 100644
@@ -6,14 +6,6 @@ require conf/machine/include/am65xx.inc
 
 UBOOT_MACHINE = "am65x_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"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/machine/include/k3.inc +5 -0
index e4ef2f94..93bcea76 100644
@@ -21,6 +21,11 @@ KERNEL_CLASSES += "kernel-fitimage"
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
+UBOOT_RD_LOADADDRESS = "0x84000000"
+UBOOT_RD_ENTRYPOINT = "0x84000000"
+UBOOT_DTB_LOADADDRESS = "0x83000000"
+UBOOT_DTBO_LOADADDRESS = "0x83080000"
+UBOOT_DTBO_OFFSET = "0x00010000"
 
 SPL_BINARY = "tispl.bin"
 SPL_BINARYNAME = "tispl.bin"
meta-ti-bsp/conf/machine/j7200-hs-evm.conf +0 -8
index ef7268b1..dc928974 100644
@@ -6,14 +6,6 @@ require conf/machine/j7200-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"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/machine/j721e-hs-evm.conf +0 -8
index acd5ca18..00ec1998 100644
@@ -6,14 +6,6 @@ require conf/machine/j721e-evm.conf
 
 UBOOT_MACHINE = "j721e_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"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/machine/j721s2-hs-evm.conf +0 -8
index 84db90bb..3d737f44 100644
@@ -6,14 +6,6 @@ require conf/machine/j721s2-evm.conf
 
 UBOOT_MACHINE = "j721s2_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"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
Signature · 1 line
2.25.1
#20 lore raw

PATCH 20/53 am62xx-evm: Add AM62x HS-FS evm configuration

In reply to Denys Dmytriyenko

From: Chirag Shilwant <[email protected]>

Lets add the basic AM62x HS-FS configuration
- Add machine conf for AM62x HS-FS.
- The wic images will boot on AM62x HS-FS devices by default.
- The sysfw image for GP and HS-SE will be packaged in the wic image as tiboot3-am62x-gp-evm.bin and tiboot3-am62x-hs-evm.bin respectively.
- Add ti-sci-firmware overrides.

---
 meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf   |  4 ++++
 .../conf/machine/am62xx-evm-k3r5-hs-fs.conf        | 14 ++++++++++++++
 meta-ti-bsp/conf/machine/include/am62xx.inc        | 12 +++++++++---
 meta-ti-bsp/conf/multiconfig/k3r5-hs-fs.conf       |  3 +++
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb |  1 +
 5 files changed, 31 insertions(+), 3 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-hs-fs.conf
meta-ti-bsp/conf/machine/am62xx-evm-k3r5-gp.conf +4 -0
index d9867bc7..ab18301a 100644
@@ -8,7 +8,11 @@ SYSFW_SOC = "am62x"
 SYSFW_CONFIG = "evm"
 SYSFW_SUFFIX = "gp"
 
+SYSFW_TIBOOT3_SYMLINK = ""
+
 UBOOT_MACHINE = "am62x_evm_r5_defconfig"
 
+SPL_BINARY = ""
 UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
 UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62xx-evm-k3r5-hs-fs.conf new file +14 -0
new file mode 100644
index 00000000..0dad1104
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM62xx HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx HS-FS EVM (R5F core)
+
+# Booting HS-FS requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-fs"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
meta-ti-bsp/conf/machine/include/am62xx.inc +9 -3
index 53e48610..af6a6db4 100644
@@ -8,10 +8,16 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
 
-BBMULTICONFIG = "k3r5-gp"
-do_image_wic[mcdepends] = "mc::k3r5-gp:ti-sci-fw:do_deploy"
+# Default tiboot3.bin on AM62x is for HS-FS
+BBMULTICONFIG = "k3r5-hs-fs"
+do_image_wic[mcdepends] = "mc::k3r5-hs-fs:ti-sci-fw:do_deploy"
 
-# Since default tiboot3.bin on AM62x is for GP, add a version for HS-SE
+# Since default tiboot3.bin on AM62x is for HS-FS, add a version for GP
+BBMULTICONFIG += "k3r5-gp"
+IMAGE_BOOT_FILES += "tiboot3-am62x-gp-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on AM62x is for HS-FS, add a version for HS-SE
 BBMULTICONFIG += "k3r5-hs-se"
 IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
 do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
meta-ti-bsp/conf/multiconfig/k3r5-hs-fs.conf new file +3 -0
new file mode 100644
index 00000000..e22204ee
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE:append = "-hs-fs"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 798131d4..8004c227 100644
@@ -39,6 +39,7 @@ SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5-gp = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5-hs-se = "fs"
+SYSFW_PREFIX:am62xx-evm-k3r5-hs-fs = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
Signature · 1 line
2.25.1
#21 lore raw

PATCH 21/53 am62xx-lp-evm: Add AM62x LP HS-FS evm configuration

In reply to Denys Dmytriyenko

From: Chirag Shilwant <[email protected]>

Lets add the basic AM62x LP HS-FS configuration
- Add machine conf for AM62x LP HS-FS.
- The wic images will boot on AM62x LP HS-FS devices by default.
- The sysfw image for HS-SE will be packaged in the wic image as tiboot3-am62x-hs-evm.bin.
- Add ti-sci-firmware overrides.

---
 .../conf/machine/am62xx-lp-evm-k3r5-hs-fs.conf     | 14 ++++++++++++++
 .../conf/machine/am62xx-lp-evm-k3r5-hs-se.conf     |  7 +++++++
 meta-ti-bsp/conf/machine/include/am62xx-lp.inc     |  7 ++++++-
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb |  1 +
 4 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-fs.conf
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-fs.conf new file +14 -0
new file mode 100644
index 00000000..9026b67c
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM62xx LPSK HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx LP HS-FS EVM (R5F core)
+
+# Booting HS-FS requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-fs"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5-hs-se.conf +7 -0
index 11e70342..c126de0f 100644
@@ -11,4 +11,11 @@ SYSFW_SOC = "am62x"
 SYSFW_CONFIG = "evm"
 SYSFW_SUFFIX = "hs"
 
+SYSFW_TIBOOT3_SYMLINK = ""
+
 UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-hs-se-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-hs-se.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/include/am62xx-lp.inc +6 -1
index df113003..d37d4673 100644
@@ -8,8 +8,13 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 TFA_K3_SYSTEM_SUSPEND = "1"
 
-# Default tiboot3.bin on AM62x LP is for HS-SE
+# Default tiboot3.bin on AM62x LP is for HS-FS
+BBMULTICONFIG = "k3r5-hs-fs"
+do_image_wic[mcdepends] = "mc::k3r5-hs-fs:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on AM62x LP is for HS-FS, add a version for HS-SE
 BBMULTICONFIG += "k3r5-hs-se"
+IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
 do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
 
 TFA_BOARD = "lite"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 8004c227..75b9f8a6 100644
@@ -42,6 +42,7 @@ SYSFW_PREFIX:am62xx-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5-hs-fs = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
+SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-fs = "fs"
 SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
 
 SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
Signature · 1 line
2.25.1
#22 lore raw

PATCH 22/53 ti-sci-fw: Add SYSFW_SUFFIX to sysfw.itb files

In reply to Denys Dmytriyenko

From: Ryan Eatmon <[email protected]>

With the advent of using multiconfigs to build all of the versions of the machines (gp, hs-se, hs-fs, etc...) the sysfw.itb has become a point of contention for do_deploy. To resolve the duplicate file copy errors from bitbake we need to uniquify the sysfw.itb file names. So, let's do the same thing we do with the tiboot3.bin file and add the SYSFW_SUFFIX into the name.

---
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    | 20 +++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +18 -2
index 75b9f8a6..b65d8502 100644
@@ -51,10 +51,26 @@ SYSFW_TIBOOT3 = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.bin"
 SYSFW_TIBOOT3_SYMLINK ?= "tiboot3.bin"
 
 SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
-SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
-SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.itb"
 SYSFW_SYMLINK ?= "sysfw.itb"
 
+SYSFW_VBINARY:am65xx-evm-k3r5 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:am65xx-evm-k3r5-sr2 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:am65xx-hs-evm-k3r5 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:am65xx-hs-evm-k3r5-sr2 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:j721e-evm-k3r5 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:j721e-hs-evm-k3r5 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_VBINARY:j721e-hs-evm-k3r5-sr1-1 = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+
+SYSFW_IMAGE:am65xx-evm-k3r5 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:am65xx-evm-k3r5-sr2 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:am65xx-hs-evm-k3r5 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:am65xx-hs-evm-k3r5-sr2 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:j721e-evm-k3r5 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:j721e-hs-evm-k3r5 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+SYSFW_IMAGE:j721e-hs-evm-k3r5-sr1-1 = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
+
 CFLAGS[unexport] = "1"
 LDFLAGS[unexport] = "1"
 AS[unexport] = "1"
Signature · 1 line
2.25.1
#23 lore raw

PATCH 23/53 conf: machine: j721s2-evm: Add support for J721S2 HS-FS

In reply to Denys Dmytriyenko

From: Sinthu Raja <[email protected]>

Add the basic J721S2 HS-FS configuration.
- Add configurations to support both HS-FS and GP keeping GP as default.
- Add ti-sci-firmware overrides for HS-FS.
- Remove evm conf file inclusion in hs-evm conf.
- Add j721s2 hs-evm specific config to hs-evm conf.

---
 .../conf/machine/j721s2-evm-k3r5-gp.conf      | 20 +++++++++++++++++++
 .../machine/j721s2-evm-k3r5-sr1-hs-fs.conf    | 15 ++++++++++++++
 meta-ti-bsp/conf/machine/j721s2-evm.conf      |  9 +++++++++
 meta-ti-bsp/conf/machine/j721s2-hs-evm.conf   | 15 +++++++++++++-
 .../conf/multiconfig/k3r5-sr1-hs-fs.conf      |  3 +++
 meta-ti-bsp/conf/multiconfig/k3r5-sr1.conf    |  3 +++
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  3 ++-
 7 files changed, 66 insertions(+), 2 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/j721s2-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/j721s2-evm-k3r5-sr1-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-sr1-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/multiconfig/k3r5-sr1.conf
meta-ti-bsp/conf/machine/j721s2-evm-k3r5-gp.conf new file +20 -0
new file mode 100644
index 00000000..95771139
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: J721S2 GP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721S2 GP EVM (R5F core)
+
+# Booting GP requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-gp"
+
+SYSFW_SOC = "j721s2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+SYSFW_TIBOOT3_SYMLINK = "tiboot3.bin"
+
+UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/j721s2-evm-k3r5-sr1-hs-fs.conf new file +15 -0
new file mode 100644
index 00000000..1a77830d
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: J721S2 HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721S2 HS-FS EVM (R5F core)
+
+# Booting HS-FS requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-sr1-hs-fs"
+
+SYSFW_SOC = "j721s2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+SYSFW_TIBOOT3_SYMLINK = ""
+
+UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
meta-ti-bsp/conf/machine/j721s2-evm.conf +9 -0
index 3576414d..93efbb70 100644
@@ -15,3 +15,12 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
+
+# Default tiboot3.bin on J721S2 is for GP
+BBMULTICONFIG = "k3r5-gp"
+do_image_wic[mcdepends] = "mc::k3r5-gp:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-FS
+BBMULTICONFIG += "k3r5-sr1-hs-fs"
+IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-sr1-hs-fs:ti-sci-fw:do_deploy"
meta-ti-bsp/conf/machine/j721s2-hs-evm.conf +14 -1
index 3d737f44..8fa98440 100644
@@ -2,10 +2,23 @@
 #@NAME: J721S2 HS EVM
 #@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM
 
-require conf/machine/j721s2-evm.conf
+require conf/machine/include/j721s2.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+TFA_K3_USART = "0x8"
+OPTEE_K3_USART = "0x8"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-j721s2-common-proc-board.dtb \
+    ti/k3-j721s2-gesi-exp-board.dtbo \
+"
 
 UBOOT_MACHINE = "j721s2_hs_evm_a72_defconfig"
 
+do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+
 SPL_BINARY = "tispl.bin_HS"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/multiconfig/k3r5-sr1-hs-fs.conf new file +3 -0
new file mode 100644
index 00000000..505f08d5
@@ -0,0 +1,3 @@
+require k3r5-sr1.conf
+
+MACHINE:append = "-hs-fs"
meta-ti-bsp/conf/multiconfig/k3r5-sr1.conf new file +3 -0
new file mode 100644
index 00000000..1c8098cd
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE:append = "-sr1"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +2 -1
index b65d8502..18153d37 100644
@@ -33,7 +33,8 @@ SYSFW_PREFIX:j721e-hs-evm-k3r5-sr1-1 = "fs"
 SYSFW_PREFIX:beaglebone-ai64-k3r5 = "fs"
 SYSFW_PREFIX:j7200-evm-k3r5 = "fs"
 SYSFW_PREFIX:j7200-hs-evm-k3r5 = "fs"
-SYSFW_PREFIX:j721s2-evm-k3r5 = "fs"
+SYSFW_PREFIX:j721s2-evm-k3r5-gp = "fs"
+SYSFW_PREFIX:j721s2-evm-k3r5-sr1-hs-fs = "fs"
 SYSFW_PREFIX:j721s2-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
Signature · 1 line
2.25.1
#24 lore raw

PATCH 24/53 am62axx-evm: Add AM62A HS-FS evm configuration

In reply to Denys Dmytriyenko

From: Sai Sree Kartheek Adivi <[email protected]>

Lets add the basic AM62A configuration
- Add machine conf for AM62A.
- The wic images will boot on AM62A HS-FS devices by default.
- The sysfw image for GP and HS-SE will be packaged in the wic image as tiboot3-am62ax-gp-evm.bin and tiboot3-am62ax-hs-evm.bin respectively.
- Add ti-sci-firmware overrides.
- Sign ATF, OPTEE and RTOS Firmware.

---
 .../conf/machine/am62axx-evm-k3r5-gp.conf     | 19 ++++++++++++++++
 .../conf/machine/am62axx-evm-k3r5-hs-fs.conf  | 14 ++++++++++++
 .../conf/machine/am62axx-evm-k3r5-hs-se.conf  | 22 +++++++++++++++++++
 .../conf/machine/am62axx-evm-k3r5.conf        | 11 ----------
 meta-ti-bsp/conf/machine/am62axx-evm.conf     |  4 ++++
 meta-ti-bsp/conf/machine/include/am62axx.inc  | 15 +++++++++++--
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  4 +++-
 7 files changed, 75 insertions(+), 14 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-fs.conf
 create mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-se.conf
 delete mode 100644 meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
meta-ti-bsp/conf/machine/am62axx-evm-k3r5-gp.conf new file +19 -0
new file mode 100644
index 00000000..962413c3
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: AM62A GP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62A GP EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am62ax"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+SYSFW_TIBOOT3_SYMLINK = ""
+SYSFW_SYMLINK = ""
+
+UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-fs.conf new file +14 -0
new file mode 100644
index 00000000..256f021a
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM62A HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62A HS-FS EVM (R5F core)
+
+# Booting HS-FS requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-fs"
+
+SYSFW_SOC = "am62ax"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
meta-ti-bsp/conf/machine/am62axx-evm-k3r5-hs-se.conf new file +22 -0
new file mode 100644
index 00000000..c7cb0681
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: AM62A HS-SE EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62A HS-SE EVM (R5F core)
+
+# Booting HS-SE requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-hs-se"
+
+SYSFW_SOC = "am62ax"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+SYSFW_TIBOOT3_SYMLINK = ""
+SYSFW_SYMLINK = ""
+
+UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-hs-se-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-hs-se.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf deleted +0 -11
deleted file mode 100644
index ca30537f..00000000
@@ -1,11 +0,0 @@
-#@TYPE: Machine
-#@NAME: AM62AXX EVM (R5F)
-#@DESCRIPTION: Machine configuration for the TI AM62Axx EVM (R5F core)
-
-require conf/machine/include/k3r5.inc
-
-SYSFW_SOC = "am62ax"
-SYSFW_CONFIG = "evm"
-SYSFW_SUFFIX = "gp"
-
-UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
meta-ti-bsp/conf/machine/am62axx-evm.conf +4 -0
index 4eb179f3..5e11d19b 100644
@@ -9,3 +9,7 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
+
+SPL_BINARY = "tispl.bin_HS"
+UBOOT_BINARY = "u-boot.img_HS"
+UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/conf/machine/include/am62axx.inc +13 -2
index cc477366..d0970948 100644
@@ -8,8 +8,19 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 TFA_K3_SYSTEM_SUSPEND = "1"
 
-do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
-do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+# Default tiboot3.bin on AM62A is for HS-FS
+BBMULTICONFIG = "k3r5-hs-fs"
+do_image_wic[mcdepends] = "mc::k3r5-hs-fs:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP
+BBMULTICONFIG += "k3r5-gp"
+IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
+BBMULTICONFIG += "k3r5-hs-se"
+IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
 
 TFA_BOARD = "lite"
 OPTEEMACHINE = "k3-am62x"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +3 -1
index 18153d37..5fb16642 100644
@@ -44,7 +44,9 @@ SYSFW_PREFIX:am62xx-evm-k3r5-hs-fs = "fs"
 SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-fs = "fs"
-SYSFW_PREFIX:am62axx-evm-k3r5 = "fs"
+SYSFW_PREFIX:am62axx-evm-k3r5-gp = "fs"
+SYSFW_PREFIX:am62axx-evm-k3r5-hs-fs = "fs"
+SYSFW_PREFIX:am62axx-evm-k3r5-hs-se = "fs"
 
 SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
 
Signature · 1 line
2.25.1
#25 lore raw

PATCH 25/53 conf: machine: j784s4-evm: Add support for J784S4 HS-FS

In reply to Denys Dmytriyenko

From: Dasnavis <[email protected]>

Add the basic J784S4 HS-FS configuration.
* Add configurations to support both HS-FS and GP keeping GP as default.
* Add ti-sci-firmware overrides for HS-FS.
* Remove evm conf file inclusion in hs-evm conf.
* Add j784s4 hs-evm specific config to hs-evm conf.

---
 .../conf/machine/j784s4-evm-k3r5-gp.conf      | 20 +++++++++++++++++++
 .../machine/j784s4-evm-k3r5-sr1-hs-fs.conf    | 16 +++++++++++++++
 meta-ti-bsp/conf/machine/j784s4-evm.conf      |  9 +++++++++
 meta-ti-bsp/conf/machine/j784s4-hs-evm.conf   | 16 ++++++++++++++-
 .../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb    |  3 ++-
 5 files changed, 62 insertions(+), 2 deletions(-)
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-evm-k3r5-gp.conf
 create mode 100644 meta-ti-bsp/conf/machine/j784s4-evm-k3r5-sr1-hs-fs.conf
meta-ti-bsp/conf/machine/j784s4-evm-k3r5-gp.conf new file +20 -0
new file mode 100644
index 00000000..6f7ef92e
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: J784S4 GP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 GP EVM (R5F core)
+
+# Booting GP requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-gp"
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+SYSFW_TIBOOT3_SYMLINK = "tiboot3.bin"
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
+
+SPL_BINARY = ""
+UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
meta-ti-bsp/conf/machine/j784s4-evm-k3r5-sr1-hs-fs.conf new file +16 -0
new file mode 100644
index 00000000..18b38305
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS-FS EVM (R5F core)
+
+# Booting HS-FS requires different SYSFW, the rest is handled at runtime
+
+require conf/machine/include/k3r5.inc
+SOC_FAMILY:append = ":k3r5-sr1-hs-fs"
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+SYSFW_TIBOOT3_SYMLINK = ""
+SYSFW_SYMLINK = ""
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
meta-ti-bsp/conf/machine/j784s4-evm.conf +9 -0
index 73f3eb8c..4e0bfba6 100644
@@ -14,3 +14,12 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
+
+# Default tiboot3.bin on J784S4 is for GP
+BBMULTICONFIG = "k3r5-gp"
+do_image_wic[mcdepends] = "mc::k3r5-gp:ti-sci-fw:do_deploy"
+
+# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
+BBMULTICONFIG += "k3r5-sr1-hs-fs"
+IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
+do_image_wic[mcdepends] += "mc::k3r5-sr1-hs-fs:ti-sci-fw:do_deploy"
meta-ti-bsp/conf/machine/j784s4-hs-evm.conf +15 -1
index 62357d62..1c56f55a 100644
@@ -2,10 +2,24 @@
 #@NAME: J784S4 HS EVM
 #@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
 
-require conf/machine/j784s4-evm.conf
+require conf/machine/include/j784s4.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+TFA_K3_USART = "0x8"
+OPTEEMACHINE = "k3-j784s4"
+OPTEE_K3_USART = "0x8"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-j784s4-evm.dtb \
+"
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
 
+do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+
+TFA_BOARD = "j784s4"
+
 SPL_BINARY = "tispl.bin_HS"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +2 -1
index 5fb16642..4fcda026 100644
@@ -36,7 +36,8 @@ SYSFW_PREFIX:j7200-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:j721s2-evm-k3r5-gp = "fs"
 SYSFW_PREFIX:j721s2-evm-k3r5-sr1-hs-fs = "fs"
 SYSFW_PREFIX:j721s2-hs-evm-k3r5 = "fs"
-SYSFW_PREFIX:j784s4-evm-k3r5 = "fs"
+SYSFW_PREFIX:j784s4-evm-k3r5-gp = "fs"
+SYSFW_PREFIX:j784s4-evm-k3r5-sr1-hs-fs = "fs"
 SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5-gp = "fs"
 SYSFW_PREFIX:am62xx-evm-k3r5-hs-se = "fs"
Signature · 1 line
2.25.1
#26 lore raw

PATCH 26/53 conf: machine: am62xx: Add missing overlays for AM625 SK

In reply to Denys Dmytriyenko

From: Aradhya Bhatia <[email protected]>

Add the overlay files, over AM625 SK, for the following:

1. Technexion OV5640 Camera
2. Enhanced Capture (ECAP)
3. HDMI Audio Output
4. MCAN Transceiver
5. Microtips OLDI Panel

---
 meta-ti-bsp/conf/machine/am62xx-evm.conf | 5 +++++
 1 file changed, 5 insertions(+)
meta-ti-bsp/conf/machine/am62xx-evm.conf +5 -0
index 96355411..8892a05f 100644
@@ -9,6 +9,11 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
     ti/k3-am625-sk-csi2-ov5640.dtbo \
+    ti/k3-am625-sk-csi2-tevi-ov5640.dtbo \
+    ti/k3-am625-sk-ecap-capture.dtbo \
+    ti/k3-am625-sk-hdmi-audio.dtbo \
+    ti/k3-am625-sk-mcan.dtbo \
+    ti/k3-am625-sk-oldi-panel.dtbo \
 "
 
 UBOOT_MACHINE = "am62x_evm_a53_defconfig"
Signature · 1 line
2.25.1
#27 lore raw

PATCH 29/53 conf: machine: am62axx: Add overlays for IMX390 cameras

In reply to Denys Dmytriyenko

From: Jai Luthra <[email protected]>

IMX390 is a 2MP FPDLink-III raw camera. This sensor was originally targeted for J7-based devices, but AM62A can re-use the existing overlays. Both the CM and RCM type of modules are supported.

As AM62A only has one CSI-RX port, we only use 4 out of the 8 total FPDLink ports on the fusion board.

---
 meta-ti-bsp/conf/machine/am62axx-evm.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-ti-bsp/conf/machine/am62axx-evm.conf +8 -0
index 12492095..9dcb6e55 100644
@@ -12,6 +12,14 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62a7-fpdlink-ov2312-0-3.dtbo \
     ti/k3-am62a7-fpdlink-sk-fusion.dtbo \
     ti/k3-am62a7-sk-csi2-imx219.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
 "
 
 UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
Signature · 1 line
2.25.1
#28 lore raw

PATCH 30/53 conf: machine: j784s4: Add AM69 SK specific dtb and dtbo to KERNEL_DEVICETREE

In reply to Denys Dmytriyenko

From: Dasnavis Sabiya <[email protected]>

AM69 Starter Kit is a single board designed based on TI's AM69 SOC providing advanced system integration in automotive ADAS applications, autonomous mobile robot and edge AI applications. Add support for the same to include the board dtb file into the root filesystem.

Add DT overlays support for the following features on AM69 SK:
* Add DTBO entry to support OV5640 camera
* Add DTBO entry to support RPi(IMX219) camera
* Add DTBO entry for the DDR memory carveout.

[1]:https://www.ti.com/lit/zip/spruj52

---
 meta-ti-bsp/conf/machine/j784s4-evm.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-ti-bsp/conf/machine/j784s4-evm.conf +4 -0
index 4e0bfba6..75ab484c 100644
@@ -10,6 +10,10 @@ TFA_K3_USART = "0x8"
 OPTEE_K3_USART = "0x8"
 
 KERNEL_DEVICETREE = " \
+    ti/k3-am69-sk.dtb \
+    ti/k3-am69-sk-csi2-ov5640.dtbo \
+    ti/k3-am69-sk-ddr-mem-carveout.dtbo \
+    ti/k3-am69-sk-rpi-cam-imx219.dtbo \
     ti/k3-j784s4-evm.dtb \
 "
 
Signature · 1 line
2.25.1
#29 lore raw

PATCH 31/53 conf: machine: j721s2: Fix DTB overlay extension for OV5640

In reply to Denys Dmytriyenko

From: Sinthu Raja <[email protected]>

The extension for OV5640 overlay is incorrect. Therefore, update the correct extension to build the overlay with .dtbo

Fixes f67e9805 ("conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREE")
---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/j721s2-evm.conf +1 -1
index e3e52b49..7fb00f35 100644
@@ -11,7 +11,7 @@ OPTEE_K3_USART = "0x8"
 
 KERNEL_DEVICETREE = " \
     ti/k3-am68-sk-base-board.dtb \
-    ti/k3-am68-sk-bb-csi2-ov5640.dtb \
+    ti/k3-am68-sk-bb-csi2-ov5640.dtbo \
     ti/k3-am68-sk-bb-rpi-cam-imx219.dtbo \
     ti/k3-am68-sk-som-ddr_mem_carveout.dtbo \
     ti/k3-j721s2-common-proc-board.dtb \
Signature · 1 line
2.25.1
#30 lore raw

PATCH 32/53 conf: machine: j721s2: Add FPDLink overlays for am68-sk

In reply to Denys Dmytriyenko

From: Sinthu Raja <[email protected]>

Add the overlay files, over AM68 SK, for the following:

1. Fusion board (For FPDLink-III cameras).
2. IMX390 FPDLink-III camera module which includes both the CM and RCM type of modules.

---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
meta-ti-bsp/conf/machine/j721s2-evm.conf +17 -0
index 7fb00f35..791ccbbc 100644
@@ -13,7 +13,24 @@ KERNEL_DEVICETREE = " \
     ti/k3-am68-sk-base-board.dtb \
     ti/k3-am68-sk-bb-csi2-ov5640.dtbo \
     ti/k3-am68-sk-bb-rpi-cam-imx219.dtbo \
+    ti/k3-am68-sk-fpdlink-fusion.dtbo \
     ti/k3-am68-sk-som-ddr_mem_carveout.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
     ti/k3-j721s2-common-proc-board.dtb \
     ti/k3-j721s2-gesi-exp-board.dtbo \
 "
Signature · 1 line
2.25.1
#31 lore raw

PATCH 33/53 conf: machine: j784s4: Add FPDLink overlays for AM69 SK

In reply to Denys Dmytriyenko

From: Dasnavis Sabiya <[email protected]>

Add the overlay files for AM69 SK:
1. Fusion board (For FPDLink-III cameras).
2. IMX390 FPDLink-III camera module that includes both the CM and RCM type of modules.

---
 meta-ti-bsp/conf/machine/j784s4-evm.conf | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
meta-ti-bsp/conf/machine/j784s4-evm.conf +17 -0
index 75ab484c..2180df29 100644
@@ -13,7 +13,24 @@ KERNEL_DEVICETREE = " \
     ti/k3-am69-sk.dtb \
     ti/k3-am69-sk-csi2-ov5640.dtbo \
     ti/k3-am69-sk-ddr-mem-carveout.dtbo \
+    ti/k3-am69-sk-fpdlink-fusion.dtbo \
     ti/k3-am69-sk-rpi-cam-imx219.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-cm-1-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-0.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-1.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
+    ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
     ti/k3-j784s4-evm.dtb \
 "
 
Signature · 1 line
2.25.1
#32 lore raw

PATCH 35/53 conf: machine: am62xx-lp-evm: Add OLDI Panel overlay

In reply to Denys Dmytriyenko

From: Aradhya Bhatia <[email protected]>

Add the Microtips OLDI Panel DT overlay for AM62 LP SK.

---
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
index be95f33a..cba05c4b 100644
@@ -9,6 +9,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
     ti/k3-am625-sk-csi2-ov5640.dtbo \
+    ti/k3-am62x-lp-sk-oldi-panel.dtbo \
 "
 
 SPL_BINARY = "tispl.bin_HS"
Signature · 1 line
2.25.1
#33 lore raw

PATCH 39/53 conf: machine: j721s2-evm: Add camera overlays for J721S2 EVM

In reply to Denys Dmytriyenko

From: Vaishnav Achath <[email protected]>

Add the following overlay files on J721S2 EVM:

1. Fusion board (For FPDLink-III cameras)
2. OV5640 camera module

---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/conf/machine/j721s2-evm.conf +2 -0
index ea727bd3..dacb6143 100644
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
     ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
     ti/k3-j721s2-common-proc-board.dtb \
+    ti/k3-j721s2-cpb-csi2-ov5640.dtbo \
+    ti/k3-j721s2-fpdlink-cpb-fusion.dtbo \
     ti/k3-j721s2-gesi-exp-board.dtbo \
 "
 
Signature · 1 line
2.25.1
#34 lore raw

PATCH 40/53 conf: machine: j784s4-evm: Add camera overlays for J784S4 EVM

In reply to Denys Dmytriyenko

From: Vaishnav Achath <[email protected]>

Add the following overlay files on J784S4 EVM:

1. Fusion board (For FPDLink-III cameras)
2. OV5640 camera module

---
 meta-ti-bsp/conf/machine/j784s4-evm.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/conf/machine/j784s4-evm.conf +2 -0
index 40e71b6a..02f3f4c4 100644
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
     ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
     ti/k3-j784s4-evm.dtb \
+    ti/k3-j784s4-evm-csi2-ov5640.dtbo \
+    ti/k3-j784s4-fpdlink-fusion.dtbo \
 "
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
Signature · 1 line
2.25.1
#35 lore raw

PATCH 41/53 conf: machine: j7200-evm: Add uarts overlay for J7200

In reply to Denys Dmytriyenko

From: Bhavya Kapoor <[email protected]>

Add device tree overlay for extending support for mcu_uart0 as well as wkup_uart0 for boards with J7200 SoC. This overlay will mainly be used for the purpose of testing uart instances.

---
 meta-ti-bsp/conf/machine/j7200-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j7200-evm.conf +1 -0
index e52d6371..c01b318b 100644
@@ -10,6 +10,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 KERNEL_DEVICETREE = " \
     ti/k3-j7200-common-proc-board.dtb \
     ti/k3-j7200-mcspi-loopback.dtbo \
+    ti/k3-j7200-common-proc-board-uarts.dtbo \
 "
 
 UBOOT_MACHINE = "j7200_evm_a72_config"
Signature · 1 line
2.25.1
#36 lore raw

PATCH 42/53 conf: machine: j721e-evm: Add uarts overlay for J721E

In reply to Denys Dmytriyenko

From: Bhavya Kapoor <[email protected]>

Add device tree overlay for extending support for mcu_uart0 as well as wkup_uart0 for boards with J721E SoC. This overlay will mainly be used for the purpose of testing uart instances.

---
 meta-ti-bsp/conf/machine/j721e-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j721e-evm.conf +1 -0
index aa966263..7249ecb2 100644
@@ -32,6 +32,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721e-fpdlink-sk-fusion.dtbo \
     ti/k3-j721e-sk-csi2-ov5640.dtbo \
     ti/k3-j721e-sk-rpi-cam-imx219.dtbo \
+    ti/k3-j721e-common-proc-board-uarts.dtbo \
 "
 
 UBOOT_MACHINE = "j721e_evm_a72_config"
Signature · 1 line
2.25.1
#37 lore raw

PATCH 43/53 conf: machine: j721s2-evm: Add uarts overlay for J721S2

In reply to Denys Dmytriyenko

From: Bhavya Kapoor <[email protected]>

Add device tree overlay for extending support for mcu_uart0 as well as wkup_uart0 for boards with J721S2 SoC. This overlay will mainly be used for the purpose of testing uart instances.

---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j721s2-evm.conf +1 -0
index dacb6143..e69b5c10 100644
@@ -36,6 +36,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721s2-cpb-csi2-ov5640.dtbo \
     ti/k3-j721s2-fpdlink-cpb-fusion.dtbo \
     ti/k3-j721s2-gesi-exp-board.dtbo \
+    ti/k3-j721s2-common-proc-board-uarts.dtbo \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
Signature · 1 line
2.25.1
#38 lore raw

PATCH 44/53 conf: machine: j784s4-evm: Add uarts overlay for J784S4

In reply to Denys Dmytriyenko

From: Bhavya Kapoor <[email protected]>

Add device tree overlay for extending support for mcu_uart0 as well as wkup_uart0 for boards with J784S4 SoC. This overlay will mainly be used for the purpose of testing uart instances.

---
 meta-ti-bsp/conf/machine/j784s4-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j784s4-evm.conf +1 -0
index 02f3f4c4..b06153a8 100644
@@ -35,6 +35,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j784s4-evm.dtb \
     ti/k3-j784s4-evm-csi2-ov5640.dtbo \
     ti/k3-j784s4-fpdlink-fusion.dtbo \
+    ti/k3-j784s4-evm-uarts.dtbo \
 "
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
Signature · 1 line
2.25.1
#39 lore raw

PATCH 45/53 conf: machine: j721e-evm: Add MCSPI loopback overlay for J721E

In reply to Denys Dmytriyenko

From: Vaishnav Achath <[email protected]>

Add the MCSPI loopback overlay file for J721E EVM which helps users to enable MCU-MAIN MCSPI loopback applications, even though the overlay is named j7200-mcspi-loopback.dtbo, same can be used for testing on other J7 platforms as well.

---
 meta-ti-bsp/conf/machine/j721e-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j721e-evm.conf +1 -0
index 7249ecb2..029b1fe7 100644
@@ -33,6 +33,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721e-sk-csi2-ov5640.dtbo \
     ti/k3-j721e-sk-rpi-cam-imx219.dtbo \
     ti/k3-j721e-common-proc-board-uarts.dtbo \
+    ti/k3-j7200-mcspi-loopback.dtbo \
 "
 
 UBOOT_MACHINE = "j721e_evm_a72_config"
Signature · 1 line
2.25.1
#40 lore raw

PATCH 46/53 conf: machine: j721s2-evm: Add MCSPI loopback overlay for J721S2

In reply to Denys Dmytriyenko

From: Vaishnav Achath <[email protected]>

Add the MCSPI loopback overlay file for J721S2 EVM which helps users to enable MCU-MAIN MCSPI loopback applications, even though the overlay is named j7200-mcspi-loopback.dtbo, same can be used for testing on other J7 platforms as well.

---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j721s2-evm.conf +1 -0
index e69b5c10..5a32e1b3 100644
@@ -37,6 +37,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j721s2-fpdlink-cpb-fusion.dtbo \
     ti/k3-j721s2-gesi-exp-board.dtbo \
     ti/k3-j721s2-common-proc-board-uarts.dtbo \
+    ti/k3-j7200-mcspi-loopback.dtbo \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
Signature · 1 line
2.25.1
#41 lore raw

PATCH 47/53 conf: machine: j784s4-evm: Add MCSPI loopback overlay for J784S4

In reply to Denys Dmytriyenko

From: Vaishnav Achath <[email protected]>

Add the MCSPI loopback overlay file for J784S4 EVM which helps users to enable MCU-MAIN MCSPI loopback applications, even though the overlay is named j7200-mcspi-loopback.dtbo, same can be used for testing on other J7 platforms as well.

---
 meta-ti-bsp/conf/machine/j784s4-evm.conf | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/conf/machine/j784s4-evm.conf +1 -0
index b06153a8..84fd4996 100644
@@ -36,6 +36,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-j784s4-evm-csi2-ov5640.dtbo \
     ti/k3-j784s4-fpdlink-fusion.dtbo \
     ti/k3-j784s4-evm-uarts.dtbo \
+    ti/k3-j7200-mcspi-loopback.dtbo \
 "
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
Signature · 1 line
2.25.1
#42 lore raw

PATCH 50/53 ti-linux-fw: update to the latest from Dunfell

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Match the latest sha used in Dunfell.

---
 meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +2 -2
index 74c26707..1a5ea534 100644
@@ -16,12 +16,12 @@ IMG_DEC_FW_VERSION = "1.0"
 CNM_WAVE521_FW_VERSION = "1.0.00"
 TIFS_LPM_STUB_FW_VERSION = "08.06.04"
 
-TI_LINUX_FW_SRCREV ?= "340194800a581baf976360386dfc7b5acab8d948"
+TI_LINUX_FW_SRCREV ?= "79c498ef6ab1558b699a2243a26c4a65a1c44d26"
 SRCREV = "${TI_LINUX_FW_SRCREV}"
 
 BRANCH ?= "ti-linux-firmware"
 
-K3_IMAGE_GEN_SRCREV ?= "ffae8800a5c81c149835ed1aa5e2fbbe65a49c0d"
+K3_IMAGE_GEN_SRCREV ?= "1319f46f3899e62d88e0a5cedad5b454d0432ddb"
 SRCREV_imggen = "${K3_IMAGE_GEN_SRCREV}"
 SRCREV_FORMAT = "imggen"
 
Signature · 1 line
2.25.1
#43 lore raw

PATCH 51/53 u-boot-ti-staging: update to the latest from Dunfell

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Match the latest sha used in Dunfell.

---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +1 -1
index 1640d042..7763d8b1 100644
@@ -6,4 +6,4 @@ PR = "r33"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "78a217ca9ea687ee5c3e7dd3a339a1f7d136e93d"
+SRCREV = "2ee8efd6543648c6b8a14d93d52a6038854035c8"
Signature · 1 line
2.25.1
#44 lore raw

PATCH 52/53 linux-ti-staging: update to the latest from Dunfell

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Match the latest sha used in Dunfell.

---
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 4 ++--
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +2 -2
index e872b86e..c950fc80 100644
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:"
 
 BRANCH = "ti-rt-linux-5.10.y"
 
-SRCREV = "fe20c3f42e9028a31cb79439c40d3e18d2207342"
-PV = "5.10.145+git${SRCPV}"
+SRCREV = "c1a12919117a6978f40e723d6e0c67c744e026b9"
+PV = "5.10.168+git${SRCPV}"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb +2 -2
index 8e6bd788..8bf92590 100644
@@ -22,8 +22,8 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-5.10.y"
 
-SRCREV = "8b51d20b6e6e1b9277b59b7aaed8a97eff43097f"
-PV = "5.10.145+git${SRCPV}"
+SRCREV = "2c23e6c538c879e380401ae4b236f54020618eaa"
+PV = "5.10.168+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
 MACHINE_KERNEL_PR:append = "b"
Signature · 1 line
2.25.1