Skip to contentSkip to conversation

j721e-sr1_1: Add j721e sr1.1 HS support

PATCH Superseded Yogesh Siraswar 2 participants 3 messages Nov 17, 2021 – Nov 18, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

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-sci-fw/ti-sci-fw_git.bb |  1 +
 4 files changed, 23 insertions(+)
 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 00000000..e05b5c9d
@@ -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/am65xx-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 70e14754..ab0fa474 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 00000000..2dc93b2f
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE_append = "-sr1-1"
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 4f1dd145..6d48bf23 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.17.1
#1 lore raw
Quoted 22 lines · Yogesh Siraswar via lists.yoctoproject.org

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-sci-fw/ti-sci-fw_git.bb |  1 +
 4 files changed, 23 insertions(+)
 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 +0 -0
new file mode 100644
index 00000000..e05b5c9d

conf/machine/j7-hs-evm-k3r5-sr1-1.conf line 7

Quoted 7 lines
conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file +7 -0
@@ -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/am65xx-hs-evm-k3r5.conf

Copy/paste error here ^ - it's j7 not am65xx

Quoted 49 lines
conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file +4 -0
+SOC_FAMILY_append = ":k3r5-sr1-1"
+
+SYSFW_SOC = "j721e_sr1_1"
+SYSFW_SYMLINK = "sysfw.itb"
conf/machine/j7-hs-evm.conf +8 -0
index 70e14754..ab0fa474 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 00000000..2dc93b2f
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE_append = "-sr1-1"
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 4f1dd145..6d48bf23 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.17.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Yogesh Siraswar via lists.yoctoproject.org

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-sci-fw/ti-sci-fw_git.bb |  1 +
  4 files changed, 23 insertions(+)

create mode 100644 conf/machine/j7-hs-evm-k3r5-sr1-1.conf create mode 100644 conf/multiconfig/k3r5-sr1-1.conf

Quoted 15 lines

conf/machine/j7-hs-evm-k3r5-sr1-1.conf line 7

Quoted 13 lines
conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file +7 -0
new file mode 100644
index 00000000..e05b5c9d
@@ -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/am65xx-hs-evm-k3r5.conf

Copy/paste error here ^ - it's j7 not am65xx

Thanks for catching this. Will address in v2

Quoted 52 lines
Quoted 50 lines
conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file +4 -0
+SOC_FAMILY_append = ":k3r5-sr1-1"
+
+SYSFW_SOC = "j721e_sr1_1"
+SYSFW_SYMLINK = "sysfw.itb"
conf/machine/j7-hs-evm.conf +8 -0
index 70e14754..ab0fa474 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 00000000..2dc93b2f
@@ -0,0 +1,3 @@
+require k3r5.conf
+
+MACHINE_append = "-sr1-1"
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 4f1dd145..6d48bf23 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.17.1