summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include
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/machine/include
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/machine/include')
-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
7 files changed, 16 insertions, 17 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"