diff options
author | Nishanth Menon <nm@ti.com> | 2021-04-01 05:57:29 +0000 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2021-03-31 21:42:59 -0500 |
commit | f36bf3544cdb09f533df0b5d0ab01258965bcccd (patch) | |
tree | cf9da17538623fb61137fe184ec98fa317327695 /conf | |
parent | d1fec62587dc22b880a858217e0af71007b33ad9 (diff) | |
download | meta-ti-f36bf3544cdb09f533df0b5d0ab01258965bcccd.tar.gz |
conf/machine: k3: Add multi-certificate boot image support
Lets keep things consistent by providing two possibilities for platforms
to pick from - legacy boot and multi-certificate boot.
In legacy boot, the base bootloader and system firmware are
maintained as separate binaries (tiboot3.bin and sysfw.itb).
In multi-certificate boot that newer K3 devices support, ROM is smarter
and can handle multiple x509 certificate based images: so we can strip
out the sysfw.itb and integrate it as part of tiboot3.bin itself. This
improves authentication and overall system boot times since we are now
able to boot both the system controller and the boot processor in
parallel.
We do have a scheme currently to identify the images necessary for boot
etc, but things are handled on a platform conf file basis. We can
improve that by introducing the pattern at the top level include and use
the relevant pattern in platforms as needed.
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/k3.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc index c727d724..56ad40c3 100644 --- a/conf/machine/include/k3.inc +++ b/conf/machine/include/k3.inc | |||
@@ -40,7 +40,11 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci" | |||
40 | 40 | ||
41 | IMAGE_FSTYPES += "tar.xz wic.xz" | 41 | IMAGE_FSTYPES += "tar.xz wic.xz" |
42 | 42 | ||
43 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" | 43 | IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" |
44 | IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin" | ||
45 | |||
46 | IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" | ||
47 | |||
44 | WKS_FILE ?= "sdimage-2part.wks" | 48 | WKS_FILE ?= "sdimage-2part.wks" |
45 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 49 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
46 | do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" | 50 | do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" |