summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-09-13 03:55:37 +0000
committerRyan Eatmon <reatmon@ti.com>2022-09-22 11:23:07 -0500
commit8a81c48da1e0be488f5be4058d13c9a0815023a7 (patch)
tree830cc6adbe131cac02bfe0a2fa9352bcee2ddcfe /meta-ti-bsp
parent77753a13262279b44a4ccd10c61ab63b0578e472 (diff)
downloadmeta-ti-8a81c48da1e0be488f5be4058d13c9a0815023a7.tar.gz
conf: machine: Make multi-certificate image the default
Only the first two K3 devices do not support multi-cert boot so lets make multi-cert the default and only add back sysfw.itb for these two devices. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: lines be preserved? 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')
-rw-r--r--meta-ti-bsp/conf/machine/include/am62xx.inc3
-rw-r--r--meta-ti-bsp/conf/machine/include/am64xx.inc3
-rw-r--r--meta-ti-bsp/conf/machine/include/am65xx.inc5
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc5
-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.conf1
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-evm.conf3
8 files changed, 8 insertions, 18 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc
index 80df1844..a5aad994 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
15# AM62 supports multi-certificate images, use the same
16IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
17
18do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 15do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
19do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 16do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
20 17
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc
index 87791ef7..297d6007 100644
--- a/meta-ti-bsp/conf/machine/include/am64xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am64xx.inc
@@ -14,9 +14,6 @@ KERNEL_DEVICETREE = " \
14 ti/k3-am642-evm-nand.dtbo \ 14 ti/k3-am642-evm-nand.dtbo \
15" 15"
16 16
17# AM64 supports multi-certificate images, use the same
18IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
19
20do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 17do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
21do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 18do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
22 19
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc
index d6bd9810..80aa6d27 100644
--- a/meta-ti-bsp/conf/machine/include/am65xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am65xx.inc
@@ -28,9 +28,12 @@ KERNEL_DEVICETREE = " \
28 28
29BBMULTICONFIG += "k3r5-sr2" 29BBMULTICONFIG += "k3r5-sr2"
30 30
31# Use default IMAGE_BOOT_FILES_LEGACY files 31# Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb
32IMAGE_BOOT_FILES += "sysfw.itb"
33
32# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0 34# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0
33IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" 35IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
36
34do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" 37do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
35do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" 38do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
36 39
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index 5b5fb1b6..8a32e0fe 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -39,10 +39,7 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci"
39 39
40IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" 40IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
41 41
42IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" 42IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
43IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
44
45IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}"
46IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" 43IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
47 44
48EFI_PROVIDER ?= "grub-efi" 45EFI_PROVIDER ?= "grub-efi"
diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf
index 175d30f8..303ec182 100644
--- a/meta-ti-bsp/conf/machine/j7200-evm.conf
+++ b/meta-ti-bsp/conf/machine/j7200-evm.conf
@@ -13,8 +13,5 @@ KERNEL_DEVICETREE = " \
13 13
14UBOOT_MACHINE = "j7200_evm_a72_config" 14UBOOT_MACHINE = "j7200_evm_a72_config"
15 15
16# J7200 supports multi-certificate images, use the same
17IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
18
19do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 16do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
20do_image_tar[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 fe28e6f5..d28d16d1 100644
--- a/meta-ti-bsp/conf/machine/j721e-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721e-evm.conf
@@ -7,6 +7,9 @@ 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
10KERNEL_DEVICETREE = " \ 13KERNEL_DEVICETREE = " \
11 ti/k3-j721e-common-proc-board.dtb \ 14 ti/k3-j721e-common-proc-board.dtb \
12 ti/k3-j721e-common-proc-board-infotainment.dtbo \ 15 ti/k3-j721e-common-proc-board-infotainment.dtbo \
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
index 56eaa64e..a24a986b 100644
--- a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
@@ -20,7 +20,6 @@ UBOOT_SYMLINK = "u-boot.img"
20 20
21BBMULTICONFIG += "k3r5-sr1-1" 21BBMULTICONFIG += "k3r5-sr1-1"
22 22
23# Use default IMAGE_BOOT_FILES_LEGACY files
24# Since default sysfw.itb on J721e is for SR1.1, add a version for SR1.0 23# Since default sysfw.itb on J721e is for SR1.1, add a version for SR1.0
25IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb" 24IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb"
26do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy" 25do_image_wic[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 bbe011c0..77fc3e66 100644
--- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -16,8 +16,5 @@ KERNEL_DEVICETREE = " \
16 16
17UBOOT_MACHINE = "j721s2_evm_a72_defconfig" 17UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
18 18
19# J721S2 supports multi-certificate images, use the same
20IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
21
22do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 19do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
23do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 20do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"