public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot
@ 2019-02-26  0:08 Rebecca Cran
  2019-02-26 23:00 ` Rebecca Cran
  0 siblings, 1 reply; 3+ messages in thread
From: Rebecca Cran @ 2019-02-26  0:08 UTC (permalink / raw)
  To: edk2-devel

I've been trying to test a boot loader on my MinnowBoard Turbot board. 
It's running the latest 1.0 firmware from firmware.intel.com, and I'm 
seeing a hang at the point when gBS->ExitBootServices is called.

The last debug output is:

ConfigSccBootableDevicesAtExitBootService() End
SetUefiImageMemoryAttributes - 0x00000000787EB000 - 0x0000000000004000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787E8000 - 0x0000000000003000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787E5000 - 0x0000000000003000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787E1000 - 0x0000000000004000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787DB000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787D5000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787CC000 - 0x0000000000009000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787C6000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787C3000 - 0x0000000000003000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787BD000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787B8000 - 0x0000000000005000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787B2000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787AC000 - 0x0000000000006000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787A9000 - 0x0000000000003000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787A5000 - 0x0000000000004000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000787A2000 - 0x0000000000003000 
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x000000007879F000 - 0x0000000000003000 
(0x0000000000000008)


The X64 firmware works fine: the boot loader finishes and the kernel 
starts running.

I looked to see where ConfigSccBootableDevicesAtExitBootService might 
be, and unfortunately it seems it's in one of the binary modules.

The code for the boot loader is in 
https://svnweb.freebsd.org/base/head/stand/efi/loader/bootinfo.c?revision=338022&view=markup 
.


-- 
Rebecca Cran



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot
  2019-02-26  0:08 Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot Rebecca Cran
@ 2019-02-26 23:00 ` Rebecca Cran
  2019-02-27 20:38   ` Telemann Pioneer
  0 siblings, 1 reply; 3+ messages in thread
From: Rebecca Cran @ 2019-02-26 23:00 UTC (permalink / raw)
  To: edk2-devel

On 2/25/19 5:08 PM, Rebecca Cran via edk2-devel wrote:
> I've been trying to test a boot loader on my MinnowBoard Turbot board. 
> It's running the latest 1.0 firmware from firmware.intel.com, and I'm 
> seeing a hang at the point when gBS->ExitBootServices is called.


I did more debugging using OVMF and found that the i386 boot loader code 
was trying to call printf (which allocates memory) after 
ExitBootServices. And that booting an i386 kernel isn't actually 
supported. So there's not a problem with the MinnowBoard firmware.


-- 
Rebecca Cran



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot
  2019-02-26 23:00 ` Rebecca Cran
@ 2019-02-27 20:38   ` Telemann Pioneer
  0 siblings, 0 replies; 3+ messages in thread
From: Telemann Pioneer @ 2019-02-27 20:38 UTC (permalink / raw)
  To: Rebecca Cran, edk2-devel@lists.01.org

Hi Rebecca,



MinnowBoard Turbot Dual Ethernet runs with UDK2018



https://github.com/MinnowWare/UDK2018-MinnowBoard



That BIOS starts a 64Bit Windows10, including S3 and resume…



Phil



________________________________
From: edk2-devel <edk2-devel-bounces@lists.01.org> on behalf of Rebecca Cran via edk2-devel <edk2-devel@lists.01.org>
Sent: Wednesday, February 27, 2019 12:00:45 AM
To: edk2-devel@lists.01.org
Subject: Re: [edk2] Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot

On 2/25/19 5:08 PM, Rebecca Cran via edk2-devel wrote:
> I've been trying to test a boot loader on my MinnowBoard Turbot board.
> It's running the latest 1.0 firmware from firmware.intel.com, and I'm
> seeing a hang at the point when gBS->ExitBootServices is called.


I did more debugging using OVMF and found that the i386 boot loader code
was trying to call printf (which allocates memory) after
ExitBootServices. And that booting an i386 kernel isn't actually
supported. So there's not a problem with the MinnowBoard firmware.


--
Rebecca Cran

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-27 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-26  0:08 Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot Rebecca Cran
2019-02-26 23:00 ` Rebecca Cran
2019-02-27 20:38   ` Telemann Pioneer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox