EFI booting crashes

Andreas Schwab schwab at suse.de
Wed Jan 13 08:46:25 EST 2021


Looking closer, the fault address is pointing to the GOT of u-boot,
coming from loading the address of efi_var_buf in efi_var_mem_find:

    80200338:   00078497                auipc   s1,0x78
    8020033c:   9e84b483                ld      s1,-1560(s1) # 80277d20 <_GLOBAL_OFFSET_TABLE_+0x80>

I wonder how this is supposed to work?  Surely the GOT isn't mapped in
the EFI runtime memory.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the linux-riscv mailing list