u-boot/arch/x86/cpu
Heinrich Schuchardt 74b76357df x86: show UEFI images involved in crash
If a crash occurs, show the loaded UEFI images to facilitate analysis.

This is an example output:

=> bootefi 0x1000000
Found 0 disks
Hello world of bugs!
Invalid Opcode (Undefined Opcode)
EIP: 0010:[<06ceb06e>] EFLAGS: 00010206
Original EIP :[<fec9906e>]
EAX: 00000000 EBX: 06cec000 ECX: 00000fd0 EDX: 00000001
ESI: 06ced18a EDI: 07d0fe10 EBP: 07fe27a0 ESP: 07d0fde0
 DS: 0018 ES: 0018 FS: 0020 GS: 0018 SS: 0018
CR0: 00000033 CR2: 00000000 CR3: 00000000 CR4: 00000000
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
Stack:
    0x07d0fde8 : 0x00000000
    0x07d0fde4 : 0x06ced040
--->0x07d0fde0 : 0x07fe27a0
    0x07d0fddc : 0x00010206
    0x07d0fdd8 : 0x00000010
    0x07d0fdd4 : 0x06ceb06e
UEFI image [0x06cea000:0x06cf0fff] pc=0x106e '/bug-i386.efi'
### ERROR ### Please RESET the board ###

With the additional information provided by this patch we know that the
problem occurred 0x106e after the load address of bug-i386.efi.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2019-09-10 14:27:15 +08:00
..
baytrail cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers 2018-11-14 09:16:28 -08:00
braswell x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
broadwell x86: broadwell: Update PCH to work in TPL 2019-05-08 13:02:18 +08:00
coreboot x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
efi efi: payload: only init usb if necessary 2018-12-10 10:14:42 +08:00
i386 x86: show UEFI images involved in crash 2019-09-10 14:27:15 +08:00
intel_common x86: Support TPL in Intel common code 2019-05-08 13:02:16 +08:00
ivybridge x86: ivybridge: Implement PCH_REQ_PMBASE_INFO 2019-05-08 13:02:15 +08:00
qemu x86: qemu: Report high memory in the E820 table 2019-09-10 14:19:39 +08:00
quark x86: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
queensbay x86: irq: Remove chipset specific irq router drivers 2018-06-13 09:50:57 +08:00
slimbootloader x86: slimbootloader: Set TSC information for tsc_timer 2019-08-09 22:24:02 +08:00
tangier x86: tangier: Populate CSRT for shared DMA controller 2019-08-09 22:24:02 +08:00
x86_64 x86: Add a way to reinit the cpu 2019-05-08 13:02:11 +08:00
call32.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu_x86.c cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers 2018-11-14 09:16:28 -08:00
cpu.c x86: acpi: Don't touch ACPI hardware in write_acpi_tables() 2018-07-20 09:33:22 +08:00
ioapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
irq.c x86: irq: Support discrete PIRQ routing registers via device tree 2018-06-13 09:50:57 +08:00
lapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile x86: Add new slimbootloader CPU type 2019-08-09 22:24:02 +08:00
mp_init.c x86: mp_init: Use proper error numbers 2019-05-08 13:02:11 +08:00
mtrr.c x86: Update mtrr functions to allow leaving cache alone 2018-10-09 04:40:27 -06:00
pci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
resetvec.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sipi_vector.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start16.S x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: Add support for starting from SPL/TPL 2019-05-08 13:02:13 +08:00
start_from_tpl.S x86: Add support for starting from SPL/TPL 2019-05-08 13:02:13 +08:00
start.S x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
turbo.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00