From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mx.groups.io with SMTP id smtpd.web10.371.1675799605022314818 for ; Tue, 07 Feb 2023 11:53:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@starlabs-systems.20210112.gappssmtp.com header.s=20210112 header.b=rzGzgEGd; spf=pass (domain: starlabs.systems, ip: 209.85.208.53, mailfrom: sean@starlabs.systems) Received: by mail-ed1-f53.google.com with SMTP id l12so8697464edb.0 for ; Tue, 07 Feb 2023 11:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=starlabs-systems.20210112.gappssmtp.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=6aeQmG62Xe5MZm1PZ8ACNsvLsz+TDwH4F6A2N3YAPhk=; b=rzGzgEGdZr5txY32Nq83gxufpm7L+vjb0hYfZAoNxEcGDshUfIF8CRKBeeLyMoiCT3 wDH2OGeDQ92uOqZfGP5Dw3urhTytJi7/LG+zGW5+CJDMVmg66yYxWOk4V9WW2VQKhqKN 1FYEcIft2CeRCbXnXHMCjr6RtzdJoJoTU4agrNhpROUmM3jZ74/DnOyoLfv6wnlLKsNk IyrcAqliTw5VWHOMEO2z7Zl5DGpXke3sVY3g99tBFF/chy9j+gNcWPm8BtleVSzDDJlk +dkIl9FdJ/3ab9LG7h9EOCNqrQ4rIzxNQl0UgL3uCDxkU9ntkDgJajkdsXEcxGX7ZYO6 MVUg== 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=6aeQmG62Xe5MZm1PZ8ACNsvLsz+TDwH4F6A2N3YAPhk=; b=jHs546HAOi6bpViWimwyyp+zY9+77/D5gJ5+7IKu5F+sGHI12BVIrUg8PBlImHREjl 6FFGS1LDFClXU8Ulo4DQr/Bbv48zbfdKByG5ttXqNwAUHlFpEwC514YEjszjFAyBb1Bg fiCreLGFqjq31fqfT2ndwhB4pv67qQQFBNc2sU9vGMK/Sd6HzQFZi1xJ5GFsYdS12CJd k2s61XrZg/tUCAJPtAKpccRrY0TcWfii2oYkEw+B/dDAJ/V0TQHzNyli00i+Nx5+T6AO 0Pi7L0IP6U4nN4/o33jN+6+55e0s/zpEgOKSZHogWUa+kMwS12nUQZiD+RZHmZWjpSwS 5mTw== X-Gm-Message-State: AO0yUKUDmHVqJpnkKO8NGW9BpX84KGtuEPbSxGiVKCpoGwP0OdSf+ecR AHltIGWTAS+C41zA+IYi1jZovouRBq54jLdrhwiy X-Google-Smtp-Source: AK7set+Kggz/K8Us4zPHIzMbUMc+5/WDHjRV8jCTVYwPfd9u2Xk07FcQ54Mpz42O8Qroiu0lhYw/HH5M6og4ROR8mpA= X-Received: by 2002:a50:c047:0:b0:4aa:9f07:aedb with SMTP id u7-20020a50c047000000b004aa9f07aedbmr1024605edd.6.1675799603144; Tue, 07 Feb 2023 11:53:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Sean Rhodes" Date: Tue, 7 Feb 2023 19:53:10 +0000 Message-ID: Subject: Re: [edk2-devel] regarding uefipayload build warning for pcd To: ritul guru Cc: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="0000000000000f7a1e05f421802d" --0000000000000f7a1e05f421802d Content-Type: text/plain; charset="UTF-8" For anyone to be able to help, you'd need to post a build log, .config, tag and what custom patches you are using. On Tue, 7 Feb 2023 at 19:02, ritul guru wrote: > 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* >>>>> >>>> >>>> >>>> --0000000000000f7a1e05f421802d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
For anyone to be able to help, you'd need to post a bu= ild log, .config, tag and what custom patches you are using.
On Tue, 7= Feb 2023 at 19:02, ritul guru <= ritul.bits@gmail.com> wrote:
CONFIG_P= AYLOAD_EDK2=3Dy
# CONFIG_PAYLOAD_LINUX is not set
CONFIG_PAYLOAD_FILE= =3D"build/UEFIPAYLOAD.fd"
CONFIG_PAYLOAD_OPTIONS=3D""= ;
CONFIG_EDK2_UEFIPAYLOAD=3Dy
# CONFIG_EDK2_REPO_MRCHROMEBOX is not s= et
CONFIG_EDK2_REPO_OFFICIAL=3Dy
# CONFIG_EDK2_REPO_CUSTOM is not set=
CONFIG_EDK2_REPOSITORY=3D"https://github.com/tianocore/edk2"
CONF= IG_EDK2_TAG_OR_REV=3D"origin/master"
CONFIG_EDK2_DEBUG=3Dy
= # CONFIG_EDK2_RELEASE is not set
CONFIG_EDK2_VERBOSE_BUILD=3Dy
# CONF= IG_EDK2_ABOVE_4G_MEMORY is not set
CONFIG_EDK2_BOOT_MANAGER_ESCAPE=3Dy


Thanks & R= egards
Ritul Guru
+91-9916513186


On Wed, Feb 8, 2023 at 12:31 AM ritul guru <<= a href=3D"mailto:ritul.bits@gmail.com" target=3D"_blank">ritul.bits@gmail.c= om> wrote:
building it inside coreboo= t only.

=
Thanks & Regards
Ritul Guru
+91-9916513186

On Wed, = Feb 8, 2023 at 12:00 AM Sean Rhodes <sean@starlabs.systems> 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=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 uefip= aylaod?
As observing=C2=A0some regions a= re 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
[gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister].




Thanks &am= p; Regards
Ritul Guru
+91-9916513186


On Tue, Feb 7, 2023 at 8:29 PM ritul guru &l= t;ritul.bits@gmail.com> wrote:
Hi,<= /div>
I am building edk2 payload and getting b= elow warning for PcdRtcIndexRegister,
an= d if try to boot to then observing that there is assert at:

ASSERT_EFI_ERROR (Status =3D Device Error)

DXE_ASSERT!: /home/a= md/src///coreboot/payloads/external/tianocore/tianocore/PcAtChipsetPkg/Pcat= RealTimeClockRuntimeDxe/PcRtcEntry.c (141): !EFI_ERROR (Status)

<= /div>

=


build time warning:
Active Platform =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D /home//src///coreboot/payloads/external/edk2/workspace/tianocore/UefiPa= yloadPkg/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.PcdRtcIndexRegiste= r]
=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 wa= s not specified by any INF module in the platform for the given architectur= e.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCD: [gPcAtChipsetPkgTokenSpaceGuid.PcdRt= cTargetRegister]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Platform: [UefiPayloadPkg.d= sc]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Arch: ['IA32']
. done!

Thanks & Regard= s
Ritul Guru
+91-9916513186
=

--0000000000000f7a1e05f421802d--