[U-Boot] [PATCH 0/2] efi_loader: print information about loaded UEFI images
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Mar 29 21:54:08 UTC 2018
If an exception occurs in a UEFI loaded image we need the start address of
the image to determine the relocation offset.
This patch series adds the necessary lines after the registers in the crash
dump. A possible output would be:
UEFI image
start 0x7fdb4000, size 0xa7b60
pc offset 0x72ca
/\snp.efi
With the offset 0x72ca we can now find the relevant instruction in the
disassembled 'snp.efi' binary.
Heinrich Schuchardt (2):
efi_loader: new functions to print loaded image information
arm: print information about loaded UEFI images
arch/arm/lib/interrupts.c | 17 +++++++++++++++
include/efi_loader.h | 4 ++++
lib/efi_loader/efi_image_loader.c | 45 +++++++++++++++++++++++++++++++++++++++
3 files changed, 66 insertions(+)
--
2.11.0
More information about the U-Boot
mailing list