]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynq: Enable mkeficapsule tools compilation
authorMichal Simek <michal.simek@amd.com>
Tue, 9 Aug 2022 14:32:51 +0000 (16:32 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
Zynq can use efi capsule infrastructure that's why enable it by default.
For capsule generation for zynq you can use:

pushd spl
../tools/mkeficapsule -g "1ba29a15-9969-40aa-b424-e86121618664" boot.bin \
--index 1 ../capsule1.bin
popd
./tools/mkeficapsule -g "1a5178f0-87d3-4f36-ac63-3b31a23be305" u-boot.img \
--index 2 capsule2.bin

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/a8194ecfa7932f2d8ada5ee508b2a026c782f15e.1660055571.git.michal.simek@amd.com
configs/xilinx_zynq_virt_defconfig

index 7beb5915fcecfe58c3deb6d79854aa79a96d5963..e6f8e221a5d5af729611a7c463d739c18a631e50 100644 (file)
@@ -149,3 +149,4 @@ CONFIG_DISPLAY=y
 CONFIG_SPL_GZIP=y
 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
 CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
+CONFIG_TOOLS_MKEFICAPSULE=y