[U-Boot] [PATCH v2] x86: Add 64-bit setjmp/longjmp implementation
Ivan Gorinov
ivan.gorinov at intel.com
Thu Jun 14 17:15:19 UTC 2018
On Wed, Jun 13, 2018 at 05:36:26PM -0700, Ivan Gorinov wrote:
> > But bootefi selftest with your patch leads to an immediate reset of the
> > qemu-x86_64 board.
>
> Reproduced the qemu-x86_64 reset.
> The "info registers" command shows CR0.MP = 0.
> Setting it in 64-bit startup code did not help.
> I will try to fix that.
>
> On a 64-bit Minnowboard configuration, bootefi works without reset.
The "bootefi selftest" command works on qemu-x86_64 when $loadaddr is changed:
=> env set loadaddr 0x10000000
Another patch "x86: use EFI calling convention for efi_main on x86_64"
also needs to be applied.
The self test starts but crashes on 'manage protocols':
Tearing down 'graphical output'
Tearing down 'graphical output' succeeded
Setting up 'manage protocols'
Same effect with a 64-bit build for Minnowboard.
More information about the U-Boot
mailing list