public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Alireza Banejad via groups.io" <alibanejad1376=gmail.com@groups.io>
To: devel@edk2.groups.io, radio-fan <radio-fan@mail.ru>
Subject: Re: [edk2-devel] UefiPayload dont load linux (ubuntu) and windows.
Date: Tue, 20 May 2025 20:09:18 +0330	[thread overview]
Message-ID: <CADH3hnJaKsamSEQOfFB_oZUZRKCDWtohJtGKGZw=qiw0wybTKw@mail.gmail.com> (raw)
In-Reply-To: <29559.1747730626945931233@groups.io>

[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]

Hello Stephan,

Your memory map seems alright.
I guess then it is more of a serial issue.
As I said before, BIOS shouldn't access the hardware when it is in the
runtime phase after ExitBootServices. One approach is to pass the Null
instance for the SerialLib as you suggested.  Make sure all the modules
that are using SerialLib are using the NULL instance. For this you can
check the Build report. I had the same issue and it seemed that the
StatusCodeHandler Dxe Driver wasn't using the NULL instance for
some reason. The Progress Status Codes were always a pain in the back and I
never understood the point to it.
Anyways if that doesn't work for you either try to do the opposite and add
debug logs to every function that is called during the ExitBootServices
event and the Runtime event. I know it sounds unprofessional but unless you
got some sort of hardware debugger working it's better than nothing.
Last but not least about the Linux debug logs you did build it correctly
but you need to add some boot commands to redirect the logs to the serial
port a quick search would get you going.
Hope that helps.

Best,
Alireza

On Tue, May 20, 2025, 12:13 PM Stepan via groups.io <radio-fan=
mail.ru@groups.io> wrote:

> Losed attachments for https://edk2.groups.io/g/devel/message/121349.
> 
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121361): https://edk2.groups.io/g/devel/message/121361
Mute This Topic: https://groups.io/mt/113106248/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 2750 bytes --]

  reply	other threads:[~2025-05-20 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14 11:20 [edk2-devel] UefiPayload dont load linux (ubuntu) and windows Stepan via groups.io
2025-05-14 14:22 ` Alireza Banejad via groups.io
2025-05-15  8:28   ` Stepan via groups.io
2025-05-15  8:29   ` Stepan via groups.io
2025-05-15 10:52   ` Stepan via groups.io
2025-05-15 11:14     ` Alireza Banejad via groups.io
2025-05-19 11:00       ` Stepan via groups.io
2025-05-20  8:43         ` Stepan via groups.io
2025-05-20 16:39           ` Alireza Banejad via groups.io [this message]
2025-05-27  4:03             ` Stepan via groups.io

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='CADH3hnJaKsamSEQOfFB_oZUZRKCDWtohJtGKGZw=qiw0wybTKw@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