From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mx.groups.io with SMTP id smtpd.web11.91550.1675794439995550164 for ; Tue, 07 Feb 2023 10:27:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jF1i478d; spf=pass (domain: gmail.com, ip: 209.85.218.43, mailfrom: ritul.bits@gmail.com) Received: by mail-ej1-f43.google.com with SMTP id m2so44925624ejb.8 for ; Tue, 07 Feb 2023 10:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8oaR5Py0evhavgjU+86rVz0/YF7OIJVEnlR3CohChbc=; b=jF1i478dB8btFvFlPURKAAgzcdoZtepErq5NOdshxdH+w/0NVA1GytQ1qS/iXrBdal /bye1oEUMgcfDNawdMiMUHdbXi3Ud2Je48IeHMsGbxag2iv3ZkHo6v41evf0asR24EpG SucYvFyoHVouF87OoaoL9ryQOVGLLK24NSWLoct71dQxBFmQNEvBFQGm0X7LVoO9UJXC n5aWPQIe71ostDluudlEef3X1yJn7Tn4yH+2wBZdfa64HmMQUdL7n0CWh2JXReywHFtl /WL4zqdHQ3Q23Qqi0ji+zKMxGJQq2R652WcvkwcMozmOVg1EFU6+qc9UWmwP/yhtb76x V4TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8oaR5Py0evhavgjU+86rVz0/YF7OIJVEnlR3CohChbc=; b=aDtSyuAwSHcJyjfo80oJt3xluQsrVDi1XS0GsNevG9+9WiQ4CAQc+27M5q9bJO1xwj aEFcDHHOilJuH4jf87FPJVp3tLooni57GjIEKHLSVf963gImx8ycTVxO+7c0BgSXgom/ frlJBGqK08kXtDchGi+yMEcIkXMFjgkJ29FTRvfrm5gzGHlJrbmUwzYDwZ1qlb7u8q8f R+NLLKXOIa8cd9sZUxgQk49faDEw6pP0roMkNWT9/V3BV42IrdW9VMHs8V31aSsAup2G VlpnrI9ln2QxzIna7EX2v0gCTqCS8f+s0iQJHagud7LCHXDqRlan1I4yfqg5qbayXrzY O1Tw== X-Gm-Message-State: AO0yUKVn9pX/IKOyJypfuqjSMv5eiEKkiSYv3q8kDj/76F9jfnMZ0Yem yZKbCRsAztmKFhZV4H3MBZQrn4M3ctdE6N0ZGtUCK18W2LCX4Q== X-Google-Smtp-Source: AK7set9YWqW8S84oSXsIsNH9phYdTAofXXGdDTJm5hsV6sn9xXaTEpe1cwrWMXYN0mEijGCnwyta/+gGE1jXzK2Vzdo= X-Received: by 2002:a17:906:1653:b0:880:575f:b20c with SMTP id n19-20020a170906165300b00880575fb20cmr1006020ejd.177.1675794437924; Tue, 07 Feb 2023 10:27:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ritul guru Date: Tue, 7 Feb 2023 23:57:05 +0530 Message-ID: Subject: Re: regarding uefipayload build warning for pcd To: edk2-devel-groups-io Content-Type: multipart/alternative; boundary="000000000000306ab905f4204cfb" --000000000000306ab905f4204cfb Content-Type: text/plain; charset="UTF-8" Loading driver 378D7B65-8DA9-4773-B6E4-A47826A833E1 InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 51A3E1C0 Loading driver at 0x00051DD1000 EntryPoint=0x00051DD5670 PcRtc.efi InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 51A3ED98 ProtectUefiImageCommon - 0x51A3E1C0 - 0x0000000051DD1000 - 0x0000000000008000 SetUefiImageMemoryAttributes - 0x0000000051DD1000 - 0x0000000000001000 (0x0000000000004008) SetUefiImageMemoryAttributes - 0x0000000051DD2000 - 0x0000000000006000 (0x0000000000020008) SetUefiImageMemoryAttributes - 0x0000000051DD8000 - 0x0000000000001000 (0x0000000000004008) PROGRESS CODE: V03040002 I0 ASSERT_EFI_ERROR (Status = Device Error) *ASSERT [PcRtc] /home//src/p/coreboot/payloads/external/edk2/workspace/tianocore/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c(1)* getting above assert after changed to FD_BASE to below value, This error is coming while booting to coreboot with edk2 payload: UefiPayloadPkg/UefiPayloadPkg.fdf DEFINE FD_BASE = 0x02182000 need to change FD_BASE, as it was going outside Available memory. any hint would be appreciated. *Thanks & RegardsRitul Guru+91-9916513186* On Tue, Feb 7, 2023 at 10:09 PM ritul guru wrote: > UefiPayloadPkg/UefiPayloadPkg.fdf > DEFINE FD_BASE = 0x00800000 > > Is the above address correct in uefipaylaod? > As observing some regions are getting out of limit of FD limit, > > and when setting DEFINE FD_BASE = 0x02200000, then seeing assert in > [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister]. > > > > > > > *Thanks & RegardsRitul Guru+91-9916513186* > > > On Tue, Feb 7, 2023 at 8:29 PM ritul guru wrote: > >> Hi, >> I am building edk2 payload and getting below warning for >> PcdRtcIndexRegister, >> and if try to boot to then observing that there is assert at: >> >> ASSERT_EFI_ERROR (Status = Device Error) >> >> DXE_ASSERT!: >> /home/amd/src///coreboot/payloads/external/tianocore/tianocore/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c >> (141): !EFI_ERROR (Status) >> >> >> >> >> build time warning: >> Active Platform = >> /home//src///coreboot/payloads/external/edk2/workspace/tianocore/UefiPayloadPkg/UefiPayloadPkg.dsc >> .build: : warning: The PCD was not specified by any INF module in the >> platform for the given architecture. >> PCD: [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister] >> Platform: [UefiPayloadPkg.dsc] >> Arch: ['IA32'] >> build: : warning: The PCD was not specified by any INF module in the >> platform for the given architecture. >> PCD: [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister] >> Platform: [UefiPayloadPkg.dsc] >> Arch: ['IA32'] >> . done! >> >> >> >> >> *Thanks & RegardsRitul Guru+91-9916513186* >> > --000000000000306ab905f4204cfb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Loading driver 378D7B65-8DA9-4773-B6E4= -A47826A833E1
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969= 723B 51A3E1C0
Loading driver at 0x00051DD1000 EntryPoint=3D0x00051DD5670= PcRtc.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750D= F 51A3ED98
ProtectUefiImageCommon - 0x51A3E1C0
=C2=A0 - 0x0000000051D= D1000 - 0x0000000000008000
SetUefiImageMemoryAttributes - 0x0000000051DD= 1000 - 0x0000000000001000 (0x0000000000004008)
SetUefiImageMemoryAttribu= tes - 0x0000000051DD2000 - 0x0000000000006000 (0x0000000000020008)
SetUe= fiImageMemoryAttributes - 0x0000000051DD8000 - 0x0000000000001000 (0x000000= 0000004008)
PROGRESS CODE: V03040002 I0

ASSERT_EFI_ERROR (Status = =3D Device Error)
ASSERT [PcRtc] /home//src/p/coreboot/payloads/exter= nal/edk2/workspace/tianocore/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcR= tcEntry.c(1)

getting above assert= after changed to FD_BASE to below value,=C2=A0
This error is coming while booting to coreboot with edk2 payload:
<= div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-si= ze:small;color:#000099">
UefiPayloadPkg/U= efiPayloadPkg.fdf
DEFINE FD_BASE =C2=A0 = =C2=A0 =C2=A0 =3D 0x02182000

need to change FD_BASE, as it was going outside Avai= lable memory.
any hint would be appreciated.<= /div>


= Thanks & Regards
Ritul Guru
+9= 1-9916513186

On Tue, Feb 7, 2023 at 10:09 PM ritul guru <ritul.bits@gmail.com> wrote:
UefiPayloadPkg/UefiPayloadPkg.fdf
DEFINE FD_BASE =C2=A0 =C2=A0 =C2=A0 =3D 0x00800000

Is = the above=C2=A0address correct in uefipaylaod?
As observing=C2=A0some regions are getting out of limit of FD limit,=

and when setting DEFINE FD_BASE =C2=A0 =C2=A0 =C2=A0 =3D 0x02200000, then = seeing assert in=C2=A0
[gPcAtChipsetPkgT= okenSpaceGuid.PcdRtcIndexRegister].
=



Thanks & Regards
Ritul Guru
+91-9916513186

=
On Tue= , Feb 7, 2023 at 8:29 PM ritul guru <ritul.bits@gmail.com> wrote:
Hi,
I am building edk2 pa= yload and getting below warning for PcdRtcIndexRegister,
and if try to boot to then observing that there is assert = at:

ASSERT_EFI_ERROR (Status =3D Device Error)

D= XE_ASSERT!: /home/amd/src///coreboot/payloads/external/tianocore/tianocore/= PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c (141): !EFI_ERROR (= Status)





build time= warning:
Active Platform =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0=3D /home//src///coreboot/payloads/external/edk2/worksp= ace/tianocore/UefiPayloadPkg/UefiPayloadPkg.dsc
.build: : warning: The P= CD was not specified by any INF module in the platform for the given archit= ecture.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCD: [gPcAtChipsetPkgTokenSpaceGuid.= PcdRtcIndexRegister]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Platform: [UefiPayloadP= kg.dsc]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Arch: ['IA32']
build: : w= arning: The PCD was not specified by any INF module in the platform for the= given architecture.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCD: [gPcAtChipsetPkgTo= kenSpaceGuid.PcdRtcTargetRegister]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Platform:= [UefiPayloadPkg.dsc]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Arch: ['IA32']=
. done!


T= hanks & Regards
Ritul Guru
+91-9916513186=
--000000000000306ab905f4204cfb--