diff options
author | Andrew Davis <afd@ti.com> | 2023-01-20 01:40:50 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-01-24 12:51:24 -0600 |
commit | cdc19549d5efd0ad9b42fba565e3960b2fa86d08 (patch) | |
tree | a677de86bc7f051cceed5a5996d1089d26bc4235 /meta-ti-bsp/conf | |
parent | 4033c054c0c7ca8222cc14258b79f5b29bab14b2 (diff) | |
download | meta-ti-cdc19549d5efd0ad9b42fba565e3960b2fa86d08.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.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 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j7200-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5-sr1-1.conf | 11 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-hs-evm.conf | 7 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721s2-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j784s4-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/multiconfig/k3r5-sr1-1.conf | 3 |
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" | |||
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" |
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 | ||
14 | UBOOT_MACHINE = "j7200_evm_a72_config" | 14 | UBOOT_MACHINE = "j7200_evm_a72_config" |
15 | |||
16 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
17 | do_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 | |||
7 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" | 7 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" |
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | 8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" |
9 | 9 | ||
10 | # Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb | ||
11 | IMAGE_BOOT_FILES += "sysfw.itb" | ||
12 | |||
13 | KERNEL_DEVICETREE = " \ | 10 | KERNEL_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 | |||
7 | require conf/machine/j721e-hs-evm-k3r5.conf | ||
8 | SOC_FAMILY:append = ":k3r5-sr1-1" | ||
9 | |||
10 | SYSFW_SOC = "j721e_sr1_1" | ||
11 | SYSFW_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 | ||
5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
6 | 6 | ||
7 | SYSFW_SOC = "j721e" | 7 | SYSFW_SOC = "j721e_sr1_1" |
8 | SYSFW_CONFIG = "evm" | 8 | SYSFW_CONFIG = "evm" |
9 | SYSFW_SUFFIX = "hs" | 9 | SYSFW_SUFFIX = "hs" |
10 | SYSFW_SYMLINK = "" | ||
11 | 10 | ||
12 | SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}" | 11 | SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}" |
13 | SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}" | 12 | SPL_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" | |||
18 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
19 | UBOOT_SYMLINK = "u-boot.img" | 19 | UBOOT_SYMLINK = "u-boot.img" |
20 | SYSFW_SYMLINK = "" | 20 | SYSFW_SYMLINK = "" |
21 | |||
22 | BBMULTICONFIG += "k3r5-sr1-1" | ||
23 | |||
24 | # Since default sysfw.itb on J721e is for SR1.1, add a version for SR1.0 | ||
25 | IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb" | ||
26 | do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy" | ||
27 | do_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 | ||
17 | UBOOT_MACHINE = "j721s2_evm_a72_defconfig" | 17 | UBOOT_MACHINE = "j721s2_evm_a72_defconfig" |
18 | |||
19 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
20 | do_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 | ||
16 | UBOOT_MACHINE = "j784s4_evm_a72_defconfig" | 16 | UBOOT_MACHINE = "j784s4_evm_a72_defconfig" |
17 | |||
18 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
19 | do_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 @@ | |||
1 | require k3r5.conf | ||
2 | |||
3 | MACHINE:append = "-sr1-1" | ||