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 <ritul.bits@gmail.com> 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=yThanks & Regards
Ritul Guru
+91-9916513186On Wed, Feb 8, 2023 at 12:31 AM ritul guru <ritul.bits@gmail.com> wrote:building it inside coreboot only.Thanks & Regards
Ritul Guru
+91-9916513186On Wed, Feb 8, 2023 at 12:00 AM Sean Rhodes <sean@starlabs.systems> wrote:Hi RitulIt 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=ySeanOn Tue, 7 Feb 2023, 18:24 ritul guru, <ritul.bits@gmail.com> wrote:UefiPayloadPkg/UefiPayloadPkg.fdfDEFINE FD_BASE = 0x00800000Is 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 & Regards
Ritul Guru
+91-9916513186On Tue, Feb 7, 2023 at 8:29 PM ritul guru <ritul.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 = 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 & Regards
Ritul Guru
+91-9916513186