From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web11.734.1675796560721694572 for ; Tue, 07 Feb 2023 11:02:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X/ESt9Ue; spf=pass (domain: gmail.com, ip: 209.85.208.45, mailfrom: ritul.bits@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id l12so8489740edb.0 for ; Tue, 07 Feb 2023 11:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=igmgTVeLcEQE6XACUVvlGVq5Wh1TWGroNvn1lEDlleQ=; b=X/ESt9Uesl5e9WhzYA/3X0s/1+RLTIEsaRmnf4S0t0B0Tr+L2/QpNgmhCczDWUgvtl adplJIBGzP5wTdFQh6lPgIPLooEJ+3aZEox+I0mt/XXOGg3FItlWKeHQrjZS1UjjvXiL P0GfMGabU6ycDhC37DJpF8MwBgsAYiYBiU7oUXyn8rox+dKswtpcBj2sg0jN1dkurZfx DWam9DJqEO8WzQiJ6WEN/Pa64e4VMsfzqh5EMUiy/26c2aXAJpZRPK9IS8NO88GXsm3H +WKxLwDdGKPWp9kZBL/+ZJXqCrh2lyZ5htmvTvvQo1aAPXsDQ+Xk1rhM1nulsZCUB6zu NEbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=igmgTVeLcEQE6XACUVvlGVq5Wh1TWGroNvn1lEDlleQ=; b=5i0euq+YpgTsQZZsm0SHkomfu0UNhnF7/JWfE9v5SIGB49BthdPFAYFtYSRtgRlpmw XSz8xcAyKQpqUveqpZaW9QgAFy61Y/XrBgokDprrwFiO7hc8uLlH7OUMdbiS15XDZr65 R70nn8z2sprKM0IMBejHNRo4vvWWAE2q2zY/3E0LUhhPyGkfvaUMEA+Ku7UIRlGOviXq m+iFyN+vq00CgCAjhRUVkQNaGk6ajYJqxock0+7H7MrTTLNyJK5wmQHLhLlNL0QjxSiC HDnQLVQDj66LmfyIkKMtGOGZ9R4y/hwGv1anh3WZfu0wJxQmq8Z/D74EEPIuyuV3Xfrf LOFg== X-Gm-Message-State: AO0yUKXiwbhqfiGpSeFSW2lp2ie4NzW4Z9iNGjZr+DsbYmgYhsYvrTdh Bmd3nBWLhhdy+Otjf67rAHjKNGXGimnHiJrozu4= X-Google-Smtp-Source: AK7set8mpfMDAgd+VbHsjLgOU8jHoLRTX6tNwYghmNI2EcWxxCzyBh+JpmiylQy//W6735k6ubm4UuVp/2sUxlarx6E= X-Received: by 2002:a50:8a83:0:b0:4aa:9903:ec5f with SMTP id j3-20020a508a83000000b004aa9903ec5fmr1248318edj.54.1675796559263; Tue, 07 Feb 2023 11:02:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ritul guru Date: Wed, 8 Feb 2023 00:32:27 +0530 Message-ID: Subject: Re: [edk2-devel] regarding uefipayload build warning for pcd To: Sean Rhodes Cc: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="000000000000a1850d05f420ca62" --000000000000a1850d05f420ca62 Content-Type: text/plain; charset="UTF-8" CONFIG_PAYLOAD_EDK2=y # CONFIG_PAYLOAD_LINUX is not set CONFIG_PAYLOAD_FILE="build/UEFIPAYLOAD.fd" CONFIG_PAYLOAD_OPTIONS="" CONFIG_EDK2_UEFIPAYLOAD=y # CONFIG_EDK2_REPO_MRCHROMEBOX is not set CONFIG_EDK2_REPO_OFFICIAL=y # CONFIG_EDK2_REPO_CUSTOM is not set CONFIG_EDK2_REPOSITORY="https://github.com/tianocore/edk2" CONFIG_EDK2_TAG_OR_REV="origin/master" CONFIG_EDK2_DEBUG=y # CONFIG_EDK2_RELEASE is not set CONFIG_EDK2_VERBOSE_BUILD=y # CONFIG_EDK2_ABOVE_4G_MEMORY is not set CONFIG_EDK2_BOOT_MANAGER_ESCAPE=y *Thanks & RegardsRitul Guru+91-9916513186* On Wed, Feb 8, 2023 at 12:31 AM ritul guru wrote: > building it inside coreboot only. > > > > *Thanks & RegardsRitul Guru+91-9916513186* > > > On Wed, Feb 8, 2023 at 12:00 AM Sean Rhodes wrote: > >> Hi Ritul >> >> It might be easier to build it inside coreboot; that'll use coreboots >> tool chain and Kconfig so everything will just work. >> >> I.e. CONFIG_PAYLOAD_EDK2=y >> >> Sean >> >> On Tue, 7 Feb 2023, 18:24 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* >>>> >>> >>> >>> --000000000000a1850d05f420ca62 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
CONFIG_PAYLOAD_EDK2=3Dy
# CONF= IG_PAYLOAD_LINUX is not set
CONFIG_PAYLOAD_FILE=3D"build/UEFIPAYLOA= D.fd"
CONFIG_PAYLOAD_OPTIONS=3D""
CONFIG_EDK2_UEFIPAYL= OAD=3Dy
# CONFIG_EDK2_REPO_MRCHROMEBOX is not set
CONFIG_EDK2_REPO_OF= FICIAL=3Dy
# CONFIG_EDK2_REPO_CUSTOM is not set
CONFIG_EDK2_REPOSITOR= Y=3D"https://github.com/= tianocore/edk2"
CONFIG_EDK2_TAG_OR_REV=3D"origin/master&qu= ot;
CONFIG_EDK2_DEBUG=3Dy
# CONFIG_EDK2_RELEASE is not set
CONFIG_= EDK2_VERBOSE_BUILD=3Dy
# CONFIG_EDK2_ABOVE_4G_MEMORY is not set
CONFI= G_EDK2_BOOT_MANAGER_ESCAPE=3Dy


Than= ks & Regards
Ritul Guru
+91-9916513186


<= div dir=3D"ltr" class=3D"gmail_attr">On Wed, Feb 8, 2023 at 12:31 AM ritul = guru <ritul.bits@gmail.com&g= t; wrote:
building it inside coreboot only.<= /div>

Thanks & Regards
Ritul Guru
+91-9916513186


On Wed, Feb 8, 2= 023 at 12:00 AM Sean Rhodes <sean@starlabs.systems> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">
Hi Ritul=

It might be easier to build i= t inside coreboot; that'll use coreboots tool chain and Kconfig so ever= ything will just work.

I= .e. CONFIG_PAYLOAD_EDK2=3Dy

Sean

On Tue, 7 Feb 2023, 18:24 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 gett= ing 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
[gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister].
<= div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-si= ze:small;color:rgb(0,0,153)">

=


Thanks & Re= gards
Ritul Guru
+91-9916513186
=


On Tue, Feb 7, 2023 at 8:29 PM ritul guru <r= itul.bits@gmail.com> 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 =3D Device Error)

DXE_ASSERT!: /home/amd/sr= c///coreboot/payloads/external/tianocore/tianocore/PcAtChipsetPkg/PcatRealT= imeClockRuntimeDxe/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/workspace/tianocore/UefiPayloa= dPkg/UefiPayloadPkg.dsc
.build: : warning: 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: [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister]
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 Platform: [UefiPayloadPkg.dsc]
=C2=A0 =C2=A0= =C2=A0 =C2=A0 Arch: ['IA32']
build: : warning: 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: [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTarge= tRegister]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Platform: [UefiPayloadPkg.dsc]=C2=A0 =C2=A0 =C2=A0 =C2=A0 Arch: ['IA32']
. done!


Thanks & Regards
R= itul Guru
+91-9916513186
=

--000000000000a1850d05f420ca62--