diff options
author | Andrew Davis <afd@ti.com> | 2023-01-20 01:40:50 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-01-20 15:55:32 -0600 |
commit | 7edfe014a4633e0315796aa352a59b3f057055bc (patch) | |
tree | 1d139e86d4d3097b2b21a02a3b5c24b50e013175 /meta-ti-bsp/conf/machine/include | |
parent | 1a91eaabccd846c01c9a4cebf870eb26abc6acc5 (diff) | |
download | meta-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.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 8 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 10 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j721e.inc | 5 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti43x.inc | 2 |
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" | |||
12 | PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" | 12 | PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" |
13 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 13 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" |
14 | 14 | ||
15 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
16 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
17 | |||
18 | TFA_BOARD = "lite" | 15 | TFA_BOARD = "lite" |
19 | TFA_K3_SYSTEM_SUSPEND = "1" | 16 | TFA_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 |
18 | BBMULTICONFIG = "k3r5-sr2-hs-fs" | 18 | BBMULTICONFIG = "k3r5-sr2-hs-fs" |
19 | do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy" | 19 | do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy" |
20 | do_image_tar[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy" | 20 | IMAGE_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 |
23 | BBMULTICONFIG += "k3r5-gp" | 23 | BBMULTICONFIG += "k3r5-gp" |
24 | IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin" | ||
25 | do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | 24 | do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" |
26 | do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy" | 25 | IMAGE_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 |
29 | BBMULTICONFIG += "k3r5-sr2-hs-se" | 28 | BBMULTICONFIG += "k3r5-sr2-hs-se" |
30 | IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin" | ||
31 | do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy" | 29 | do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy" |
32 | do_image_tar[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy" | 30 | IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin" |
33 | 31 | ||
34 | TFA_BOARD = "lite" | 32 | TFA_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 | ||
29 | BBMULTICONFIG += "k3r5-sr2" | 29 | # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw |
30 | do_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 |
33 | BBMULTICONFIG += "k3r5-sr2" | ||
34 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | ||
32 | IMAGE_BOOT_FILES += "sysfw.itb" | 35 | IMAGE_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 |
35 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" | 38 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" |
36 | 39 | ||
37 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | ||
38 | do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | ||
39 | |||
40 | TFA_BOARD = "generic" | 40 | TFA_BOARD = "generic" |
41 | 41 | ||
42 | OPTEEMACHINE = "k3-am65x" | 42 | OPTEEMACHINE = "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" | |||
9 | PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" | 9 | PREFERRED_PROVIDER_virtual/libgbm ?= "ti-img-rogue-umlibs" |
10 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 10 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" |
11 | 11 | ||
12 | # On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw | ||
13 | do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||
14 | |||
15 | IMAGE_BOOT_FILES += "sysfw.itb" | ||
16 | |||
12 | TFA_BOARD = "generic" | 17 | TFA_BOARD = "generic" |
13 | 18 | ||
14 | OPTEEMACHINE = "k3-j721e" | 19 | OPTEEMACHINE = "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 | ||
48 | WKS_FILE ?= "sdimage-2part-efi.wks" | 48 | WKS_FILE ?= "sdimage-2part-efi.wks" |
49 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 49 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
50 | do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" | 50 | do_image_wic[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy" |
51 | do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" | ||
52 | 51 | ||
53 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | 52 | TI_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 | |||
50 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 50 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
51 | WKS_FILE ?= "sdimage-2part.wks" | 51 | WKS_FILE ?= "sdimage-2part.wks" |
52 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | 52 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" |
53 | do_image_wic[depends] += "u-boot:do_deploy" | 53 | do_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 | |||
59 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 59 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
60 | WKS_FILE ?= "sdimage-2part.wks" | 60 | WKS_FILE ?= "sdimage-2part.wks" |
61 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | 61 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" |
62 | do_image_wic[depends] += "u-boot:do_deploy" | 62 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |