From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 423D9740032 for ; Tue, 20 May 2025 16:47:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hncemkdsJaRAGcax0FxljJwUNAHwMQge3pM2+DeO86A=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1747759678; v=1; x=1748018877; b=TOzwzAuIXEPvoFQWaD+3IKqQ86aUvaX0cdTOqYMJnhD2BALdGHbjPAyEE1avzwbIpql1gqs5 +vePeKJqdJ57eHPCCA00Q/ZJvLbFmG2IV5xKbsAKl42oQyRRLzcOYE6w+jBJ1KbA094VOICpF3Y HLtkFrdGxM1aOU2TO62KgqDVaJceQ23DsDAU3V3uVs1iBfuFovWYU8Bmwh9tEsaLCfBb48AP0Me qQG1vV6Bh0zp+cZZ1WRzhIVpH8HVZM+7NwN15FPweuf5LFjFYJeKHQ/ZJfWi19uiCnohExyBOj7 fzukgw4fU4kwcJsHKXNd4VLspk3hLmZshIGTAm5uLh25w== X-Received: by 127.0.0.2 with SMTP id ZJZ6YY7687511xQUE5nRpe64; Tue, 20 May 2025 09:47:57 -0700 X-Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mx.groups.io with SMTP id smtpd.web11.25774.1747759173098534206 for ; Tue, 20 May 2025 09:39:33 -0700 X-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-6015f8d4b7dso911703a12.1 for ; Tue, 20 May 2025 09:39:32 -0700 (PDT) X-Gm-Message-State: krbVsroTHtBPCsGP3C8kUHoXx7686176AA= X-Gm-Gg: ASbGncvntLeM1635DlHER6ljHgIAu87CPo4qTjcDRWPt9eE1zcUwB8Jg2G8J2QG0dXS vA2tlAaGWoxoKO1tVVvIhAVNqx82xoOapeEzUCLecCQAR2Vw1iP+70v7Mgo1koGiLShP/uPkPxu gQXNn56Yw2B5nX+f3EPpEfBtc+NHjHS/nku70HeB4gQ+QGpC7dUYjQDYHOgkVrC+LcBIsQh/K+r nlcHA== X-Google-Smtp-Source: AGHT+IHhIBWP6shgvT3xTCaJaFhReKZ9mM1naZaai4ljxZOjjWRWkYSwL1Vw6VyCq95U1C58GyAJvPoZqiLojkbxBO4= X-Received: by 2002:a17:906:c102:b0:ad5:777d:83d8 with SMTP id a640c23a62f3a-ad5777d853fmr745071766b.29.1747759171123; Tue, 20 May 2025 09:39:31 -0700 (PDT) MIME-Version: 1.0 References: <1020.1747652441465952176@groups.io> <29559.1747730626945931233@groups.io> In-Reply-To: <29559.1747730626945931233@groups.io> From: "Alireza Banejad via groups.io" Date: Tue, 20 May 2025 20:09:18 +0330 X-Gm-Features: AX0GCFuWEqAO6jYxqjkC2I1eW3RspJp8iJU1QfLUx7632pIDStBKe0sjFHZTdHQ Message-ID: Subject: Re: [edk2-devel] UefiPayload dont load linux (ubuntu) and windows. To: devel@edk2.groups.io, radio-fan Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 20 May 2025 09:39:33 -0700 Resent-From: alibanejad1376@gmail.com Reply-To: devel@edk2.groups.io,alibanejad1376@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000008c3d82063593e42f" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=TOzwzAuI; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --0000000000008c3d82063593e42f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Stepan via groups.io wrote: > Losed attachments for https://edk2.groups.io/g/devel/message/121349. >=20 > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --0000000000008c3d82063593e42f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Stephan,

Your memory map seems alright.
I guess then it is= more of a serial issue.
As I said=C2=A0before, BIOS= shouldn't access the hardware when it is in the runtime phase after Ex= itBootServices. One approach is to pass the Null instance for the SerialLib= as you suggested.=C2=A0 Make sure all the modules that are using SerialLib= are using the NULL instance. For this you can check the Build report. I ha= d the same issue and it seemed that the StatusCodeHandler Dxe Driver wasn&#= 39;t using the NULL instance for some=C2=A0reason. The Progress Status Code= s 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 unprofe= ssional but unless you got some sort of hardware debugger working it's = better than nothing.
Last but not least about the Li= nux debug logs you did build it correctly but you need to add some boot com= mands to redirect the logs to the serial port a quick search would get you = going.
Hope that helps.

<= /div>
Best,
Alireza

=
On Tue, May 20, 2025, 12:13=E2=80=AFPM Stepan via groups.io <radio-fan=3Dmail.ru@groups.io> wrote:

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#121361) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--0000000000008c3d82063593e42f--