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.web11.88351.1675787955123627281 for ; Tue, 07 Feb 2023 08:39:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ciyXGklF; spf=pass (domain: gmail.com, ip: 209.85.208.53, mailfrom: ritul.bits@gmail.com) Received: by mail-ed1-f53.google.com with SMTP id u21so16628364edv.3 for ; Tue, 07 Feb 2023 08:39:14 -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=7KoGj3RQdbdNM2qWoHG92bfQu+XkRW84viBWpgI6RjI=; b=ciyXGklFfyKnsacLvDlJzfvo5HC/em57fzxMRYy5/v7sfDeqyA5wlY+LFsOixa+ons v6pMuHb8qO1MKePVQjzoYpoDA4dSFqP4Nl0ygB1YcYWr0dCVAlfPvBIEA7pLIZtnW8jo ow8/Gr/cMpaBWSHTNv6F5ekTmEff/xAash/4CjsrwYcvG3Ij588Zz9M/jSt/E4BAsrah 1eSRTX0y5Hz+IDpDW8p6+Q2kHEu2z0WfO36SmxUvSl8DfbmwiC78eJXWUfV5KAAE8ocx LHlzvJXyzwtJCEflb2brko8x5BVoDYuLeYSO+sLV1Hb4ViaDRJqpGL+auVPVP7BiSStK 9KWw== 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=7KoGj3RQdbdNM2qWoHG92bfQu+XkRW84viBWpgI6RjI=; b=GQQRnenCHtp+WC8KUsnkR/8fZQepOtuGR+sQmnE8RVnF7ZvLWFEHGyFVzUVU+cLcNR N7+QhU/yPrfSpsa74lhy7A0J2MRqNLLvwbzjaj7JBcYS6GG+rinYUX50tq/+D4MqIt40 ie0DsPrhUXFkr8/ruNjpqJaJfw00pQxgVUTTKZuU6YSl5X7f6k8ZU6ATqwXOKIhsf5c9 pA1Af/euYFlieBDA2K2Jwac3uJhbon12jPYyzSNND5drUEkCVBET4f5ck59NLgWTmDzx KYQXSfWQ0qVIARvT5iowKgKdh6r1wpnXeZKE+J2wVKIjcZg6GNtbje4YWjvKJuWtKvQl J6Zg== X-Gm-Message-State: AO0yUKX33yh0zCZ6I6HhXksAo5wCSYnDtqDJ6VnrqjEpPtrOeIrXexev 3DcqHTO+tXF0pYmSkyyfgaaAc8oObx7bnnQyHr1d0+yVuPVpsw== X-Google-Smtp-Source: AK7set8gbwt1NjAeC8fhZQhf6f1Tzg9WFdabLoNfyiVno0pDc0/wyCqficB3+pkJvJd9BKFt1E2//PKj2PAJcyST43U= X-Received: by 2002:a50:8a83:0:b0:4aa:9903:ec5f with SMTP id j3-20020a508a83000000b004aa9903ec5fmr1115737edj.54.1675787953138; Tue, 07 Feb 2023 08:39:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ritul guru Date: Tue, 7 Feb 2023 22:09:00 +0530 Message-ID: Subject: Re: regarding uefipayload build warning for pcd To: edk2-devel-groups-io Content-Type: multipart/alternative; boundary="000000000000aa6e0605f41ec915" --000000000000aa6e0605f41ec915 Content-Type: text/plain; charset="UTF-8" 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* > --000000000000aa6e0605f41ec915 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 0x0220000= 0, then seeing assert in=C2=A0
[gPcAtChipsetP= kgTokenSpaceGuid.PcdRtcIndexRegister].



Tha= nks & Regards
Ritul Guru
+91-9916513186


=
On Tue, Feb 7, 2023 at 8:29 PM ritul = guru <ritul.bits@gmail.com&g= t; wrote:
Hi,
I am building edk2 payload and getting below warning for PcdRtcIndexRe= gister,
and if try to boot to then obser= ving that there is assert at:

=

ASSERT_EFI_ERROR (Status= =3D Device Error)

DXE_ASSERT!: /home/amd/src///coreboot/payloads/ext= ernal/tianocore/tianocore/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcE= ntry.c (141): !EFI_ERROR (Status)





build time warning:
Acti= ve Platform =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D /home//src///coreboot/pay= loads/external/edk2/workspace/tianocore/UefiPayloadPkg/UefiPayloadPkg.dsc.build: : warning: The PCD was not specified by any INF module in the pla= tform for the given architecture.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCD: [gPcA= tChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister]
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 Platform: [UefiPayloadPkg.dsc]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Arch: [&#= 39;IA32']
build: : warning: The PCD was not specified by any INF mod= ule in the platform for the given architecture.
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 PCD: [gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister]
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 Platform: [UefiPayloadPkg.dsc]
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 Arch: ['IA32']
. done!


Thanks & Regards
Ritul Guru
+91-9916513186
--000000000000aa6e0605f41ec915--