diff options
author | Andrew Davis <afd@ti.com> | 2022-09-13 03:55:37 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-09-22 11:23:07 -0500 |
commit | 8a81c48da1e0be488f5be4058d13c9a0815023a7 (patch) | |
tree | 830cc6adbe131cac02bfe0a2fa9352bcee2ddcfe /meta-ti-bsp | |
parent | 77753a13262279b44a4ccd10c61ab63b0578e472 (diff) | |
download | meta-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.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 5 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 5 | ||||
-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.conf | 1 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721s2-evm.conf | 3 |
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" | |||
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 | # AM62 supports multi-certificate images, use the same | ||
16 | IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" | ||
17 | |||
18 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 15 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" |
19 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 16 | do_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 | ||
18 | IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" | ||
19 | |||
20 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 17 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" |
21 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 18 | do_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 | ||
29 | BBMULTICONFIG += "k3r5-sr2" | 29 | BBMULTICONFIG += "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 |
32 | IMAGE_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 |
33 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" | 35 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" |
36 | |||
34 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | 37 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" |
35 | do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | 38 | do_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 | ||
40 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 40 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
41 | 41 | ||
42 | IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" | 42 | IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin" |
43 | IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin" | ||
44 | |||
45 | IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" | ||
46 | IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" | 43 | IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" |
47 | 44 | ||
48 | EFI_PROVIDER ?= "grub-efi" | 45 | EFI_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 | ||
14 | UBOOT_MACHINE = "j7200_evm_a72_config" | 14 | UBOOT_MACHINE = "j7200_evm_a72_config" |
15 | 15 | ||
16 | # J7200 supports multi-certificate images, use the same | ||
17 | IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" | ||
18 | |||
19 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 16 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" |
20 | do_image_tar[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 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 | |||
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 | |||
10 | KERNEL_DEVICETREE = " \ | 13 | KERNEL_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 | ||
21 | BBMULTICONFIG += "k3r5-sr1-1" | 21 | BBMULTICONFIG += "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 |
25 | IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb" | 24 | IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb" |
26 | do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy" | 25 | do_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 | ||
17 | UBOOT_MACHINE = "j721s2_evm_a72_defconfig" | 17 | UBOOT_MACHINE = "j721s2_evm_a72_defconfig" |
18 | 18 | ||
19 | # J721S2 supports multi-certificate images, use the same | ||
20 | IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" | ||
21 | |||
22 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 19 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" |
23 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | 20 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" |