summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2023-01-20 01:40:50 +0000
committerRyan Eatmon <reatmon@ti.com>2023-01-20 15:55:32 -0600
commit7edfe014a4633e0315796aa352a59b3f057055bc (patch)
tree1d139e86d4d3097b2b21a02a3b5c24b50e013175 /meta-ti-bsp/conf
parent1a91eaabccd846c01c9a4cebf870eb26abc6acc5 (diff)
downloadmeta-ti-7edfe014a4633e0315796aa352a59b3f057055bc.tar.gz
conf: machine: Rework do_image_wic dependencies
The WIC image for K3 depends on the TI-SCI firmware, on AM65x and J721e also the bootloader. Make this clear by only depending on firmware in the base k3.inc file, then adding the bootloader dependency in AM65x and J721e specific includes. Remove unneeded overrides from the evm level files. Remove do_image_tar dependencies as the tar files do not include the bootloader nor TI-SCI firmware, only the boot partition of the WIC file needs these. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf')
-rw-r--r--meta-ti-bsp/conf/machine/include/am62xx.inc3
-rw-r--r--meta-ti-bsp/conf/machine/include/am64xx.inc8
-rw-r--r--meta-ti-bsp/conf/machine/include/am65xx.inc10
-rw-r--r--meta-ti-bsp/conf/machine/include/j721e.inc5
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc3
-rw-r--r--meta-ti-bsp/conf/machine/include/omap-a15.inc2
-rw-r--r--meta-ti-bsp/conf/machine/include/ti43x.inc2
-rw-r--r--meta-ti-bsp/conf/machine/j7200-evm.conf3
-rw-r--r--meta-ti-bsp/conf/machine/j721e-evm.conf3
-rw-r--r--meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5-sr1-1.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf3
-rw-r--r--meta-ti-bsp/conf/machine/j721e-hs-evm.conf7
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-evm.conf3
-rw-r--r--meta-ti-bsp/conf/machine/j784s4-evm.conf3
-rw-r--r--meta-ti-bsp/conf/multiconfig/k3r5-sr1-1.conf3
15 files changed, 17 insertions, 52 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc
index 9d8bc87c..411e5265 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -12,9 +12,6 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
12PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" 12PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
13PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" 13PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
14 14
15do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
16do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
17
18TFA_BOARD = "lite" 15TFA_BOARD = "lite"
19TFA_K3_SYSTEM_SUSPEND = "1" 16TFA_K3_SYSTEM_SUSPEND = "1"
20 17
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc
index f1a91991..0fd15b90 100644
--- a/meta-ti-bsp/conf/machine/include/am64xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am64xx.inc
@@ -17,19 +17,17 @@ KERNEL_DEVICETREE = " \
17# Default tiboot3.bin on AM64x is for SR2.0 HS-FS 17# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
18BBMULTICONFIG = "k3r5-sr2-hs-fs" 18BBMULTICONFIG = "k3r5-sr2-hs-fs"
19do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy" 19do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy"
20do_image_tar[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy" 20IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-fs-evm.bin"
21 21
22# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP 22# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
23BBMULTICONFIG += "k3r5-gp" 23BBMULTICONFIG += "k3r5-gp"
24IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
25do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" 24do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
26do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" 25IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
27 26
28# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE 27# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
29BBMULTICONFIG += "k3r5-sr2-hs-se" 28BBMULTICONFIG += "k3r5-sr2-hs-se"
30IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin"
31do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy" 29do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
32do_image_tar[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy" 30IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin"
33 31
34TFA_BOARD = "lite" 32TFA_BOARD = "lite"
35 33
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc
index 88259717..424864d3 100644
--- a/meta-ti-bsp/conf/machine/include/am65xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am65xx.inc
@@ -26,17 +26,17 @@ KERNEL_DEVICETREE = " \
26 ti/k3-am654-evm-ov5640.dtbo \ 26 ti/k3-am654-evm-ov5640.dtbo \
27" 27"
28 28
29BBMULTICONFIG += "k3r5-sr2" 29# On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
30do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
30 31
31# Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb 32# Default sysfw.itb on AM65x is for SR2.0
33BBMULTICONFIG += "k3r5-sr2"
34do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
32IMAGE_BOOT_FILES += "sysfw.itb" 35IMAGE_BOOT_FILES += "sysfw.itb"
33 36
34# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0 37# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0
35IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" 38IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
36 39
37do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
38do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
39
40TFA_BOARD = "generic" 40TFA_BOARD = "generic"
41 41
42OPTEEMACHINE = "k3-am65x" 42OPTEEMACHINE = "k3-am65x"
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc
index 12ee0c90..eba10d8d 100644
--- a/meta-ti-bsp/conf/machine/include/j721e.inc
+++ b/meta-ti-bsp/conf/machine/include/j721e.inc
@@ -9,6 +9,11 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "ti-img-rogue-umlibs"
9PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" 9PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs"
10PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" 10PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
11 11
12# On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
13do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
14
15IMAGE_BOOT_FILES += "sysfw.itb"
16
12TFA_BOARD = "generic" 17TFA_BOARD = "generic"
13 18
14OPTEEMACHINE = "k3-j721e" 19OPTEEMACHINE = "k3-j721e"
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index bd71becf..a34b67ff 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -47,7 +47,6 @@ MACHINE_FEATURES += "efi"
47 47
48WKS_FILE ?= "sdimage-2part-efi.wks" 48WKS_FILE ?= "sdimage-2part-efi.wks"
49do_image_wic[depends] += "virtual/bootloader:do_deploy" 49do_image_wic[depends] += "virtual/bootloader:do_deploy"
50do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" 50do_image_wic[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy"
51do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
52 51
53TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" 52TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc
index f548f3fd..0843fb28 100644
--- a/meta-ti-bsp/conf/machine/include/omap-a15.inc
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -50,4 +50,4 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
50IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" 50IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
51WKS_FILE ?= "sdimage-2part.wks" 51WKS_FILE ?= "sdimage-2part.wks"
52IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" 52IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
53do_image_wic[depends] += "u-boot:do_deploy" 53do_image_wic[depends] += "virtual/bootloader:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc
index 5509a54d..74a964db 100644
--- a/meta-ti-bsp/conf/machine/include/ti43x.inc
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -59,4 +59,4 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
59IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" 59IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
60WKS_FILE ?= "sdimage-2part.wks" 60WKS_FILE ?= "sdimage-2part.wks"
61IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" 61IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
62do_image_wic[depends] += "u-boot:do_deploy" 62do_image_wic[depends] += "virtual/bootloader:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf
index 303ec182..33c39a52 100644
--- a/meta-ti-bsp/conf/machine/j7200-evm.conf
+++ b/meta-ti-bsp/conf/machine/j7200-evm.conf
@@ -12,6 +12,3 @@ KERNEL_DEVICETREE = " \
12" 12"
13 13
14UBOOT_MACHINE = "j7200_evm_a72_config" 14UBOOT_MACHINE = "j7200_evm_a72_config"
15
16do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
17do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/j721e-evm.conf b/meta-ti-bsp/conf/machine/j721e-evm.conf
index d28d16d1..fe28e6f5 100644
--- a/meta-ti-bsp/conf/machine/j721e-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721e-evm.conf
@@ -7,9 +7,6 @@ require conf/machine/include/j721e.inc
7SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" 7SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
8SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" 8SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
9 9
10# Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb
11IMAGE_BOOT_FILES += "sysfw.itb"
12
13KERNEL_DEVICETREE = " \ 10KERNEL_DEVICETREE = " \
14 ti/k3-j721e-common-proc-board.dtb \ 11 ti/k3-j721e-common-proc-board.dtb \
15 ti/k3-j721e-common-proc-board-infotainment.dtbo \ 12 ti/k3-j721e-common-proc-board-infotainment.dtbo \
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5-sr1-1.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5-sr1-1.conf
deleted file mode 100644
index 6e809f46..00000000
--- a/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5-sr1-1.conf
+++ /dev/null
@@ -1,11 +0,0 @@
1#@TYPE: Machine
2#@NAME: J721e SR1.1 HS EVM (R5F)
3#@DESCRIPTION: Machine configuration for the TI J721e SR1.1 HS EVM (R5F core)
4
5# Booting SR1.1 requires different SYSFW, the rest is handled at runtime
6
7require conf/machine/j721e-hs-evm-k3r5.conf
8SOC_FAMILY:append = ":k3r5-sr1-1"
9
10SYSFW_SOC = "j721e_sr1_1"
11SYSFW_SYMLINK = "sysfw.itb"
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf
index a0d000b2..56312c0c 100644
--- a/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf
@@ -4,10 +4,9 @@
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6 6
7SYSFW_SOC = "j721e" 7SYSFW_SOC = "j721e_sr1_1"
8SYSFW_CONFIG = "evm" 8SYSFW_CONFIG = "evm"
9SYSFW_SUFFIX = "hs" 9SYSFW_SUFFIX = "hs"
10SYSFW_SYMLINK = ""
11 10
12SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}" 11SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
13SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}" 12SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
index 9ef7b86a..acd5ca18 100644
--- a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
@@ -18,10 +18,3 @@ SPL_BINARY = "tispl.bin_HS"
18UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
19UBOOT_SYMLINK = "u-boot.img" 19UBOOT_SYMLINK = "u-boot.img"
20SYSFW_SYMLINK = "" 20SYSFW_SYMLINK = ""
21
22BBMULTICONFIG += "k3r5-sr1-1"
23
24# Since default sysfw.itb on J721e is for SR1.1, add a version for SR1.0
25IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb"
26do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
27do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf
index 46d5dbf6..3576414d 100644
--- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -15,6 +15,3 @@ KERNEL_DEVICETREE = " \
15" 15"
16 16
17UBOOT_MACHINE = "j721s2_evm_a72_defconfig" 17UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
18
19do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
20do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/j784s4-evm.conf b/meta-ti-bsp/conf/machine/j784s4-evm.conf
index f8be7d18..73f3eb8c 100644
--- a/meta-ti-bsp/conf/machine/j784s4-evm.conf
+++ b/meta-ti-bsp/conf/machine/j784s4-evm.conf
@@ -14,6 +14,3 @@ KERNEL_DEVICETREE = " \
14" 14"
15 15
16UBOOT_MACHINE = "j784s4_evm_a72_defconfig" 16UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
17
18do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
19do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
diff --git a/meta-ti-bsp/conf/multiconfig/k3r5-sr1-1.conf b/meta-ti-bsp/conf/multiconfig/k3r5-sr1-1.conf
deleted file mode 100644
index 428f2212..00000000
--- a/meta-ti-bsp/conf/multiconfig/k3r5-sr1-1.conf
+++ /dev/null
@@ -1,3 +0,0 @@
1require k3r5.conf
2
3MACHINE:append = "-sr1-1"