From: "Alireza Banejad via groups.io" <alibanejad1376=gmail.com@groups.io>
To: devel@edk2.groups.io, mounika.a@coreel.com
Subject: Re: [edk2-devel] OS hangs at Exit Boot Services
Date: Thu, 27 Mar 2025 17:16:12 +0330 [thread overview]
Message-ID: <CADH3hn+tuzX19zbQir3DFUkA-9ED3OWHPiFf-k2SD0nssi_gmg@mail.gmail.com> (raw)
In-Reply-To: <3WBl.1742473664078056470.oYUB@groups.io>
Hello Mounika,
I have had the same issue with my platform and had the OS stuck for
different reasons. These are the things you can do to see if you are
making any progress:
1. I had the OS stuck at the same place you are stuck because of the
PROGRESS CODE reports and the DEBUG logs sending data through the
serial port. Try to disable these logs and see if you can get any
further.
The reason is that the hardware should completely be within the OS's
possession at this point, so calls to the serial port at further
stages, such as the RunTime Stage, may crash the processor.
2. Try to check the memory map passed from SBL to EDK2 as a HOB is
completely correct.
Best,
Alireza
On Thu, Mar 27, 2025 at 7:38 AM Mounika via groups.io
<mounika.a=coreel.com@groups.io> wrote:
>
> We are trying to boot RTOS on TGL platform with SBL+UEFI payload.
> We discussed with our OS vendor, and we started booting OS with default payload and we were able to boot OS, but when we tried switching to UEFI payload, OS didn't boot
> and it got stuck at below prints.
>
> XhcClearBiosOwnership: called to clear BIOS ownership
> FPDT: -ResetEnd = 339000000
> FPDT: -OsLoaderLoadImageStart = 15095000000
> FPDT: -OsLoaderStartImageStart = 15126000000
> FPDT: -ExitBootServicesEntry = 24262000000
> FSP NotifyPhase EndOfFirmware Success.
> gAddPerfRecordProtocolGuid - Locate protocol failed
> SmmInstallProtocolInterface: 296EB418-C4C8-4E05-AB59-39E8AF56F00A 0
> CpuDxe: 5-Level Paging = 0
> MpInitChangeApLoopCallback() done!
> SetUefiImageMemoryAttributes - 0x00000000759CC000 - 0x000000000000A000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x00000000759C2000 - 0x000000000000A000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x00000000759B8000 - 0x000000000000A000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x00000000759AE000 - 0x000000000000A000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x00000000759A5000 - 0x0000000000009000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x0000000075999000 - 0x000000000000C000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x000000007598C000 - 0x000000000000D000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x0000000075983000 - 0x0000000000009000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x000000007597A000 - 0x0000000000009000 (0x0000000000000008)
> SetUefiImageMemoryAttributes - 0x0000000075970000 - 0x000000000000A000 (0x0000000000000008)
>
> We just want some clarifications regarding exit boot services, whether EFI boot services succeeded or failed and where to add debug prints to identify the issue?
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121230): https://edk2.groups.io/g/devel/message/121230
Mute This Topic: https://groups.io/mt/111930976/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2025-03-27 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-20 12:27 [edk2-devel] OS hangs at Exit Boot Services Mounika via groups.io
2025-03-27 13:46 ` Alireza Banejad via groups.io [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADH3hn+tuzX19zbQir3DFUkA-9ED3OWHPiFf-k2SD0nssi_gmg@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox