Re: [edk2-devel] edk2 MdeModulePkg build error

2023-03-30 Thread ritul guru
ps://github.com/tianocore/edk2/commit/1b840718f72711d442ecd7b7e54256a31df8bd20 > > > > Regards, > > Nickle > > > > *From:* devel@edk2.groups.io * On Behalf Of *ritul > guru via groups.io > *Sent:* Thursday, March 30, 2023 4:40 AM > *To:* edk2-devel-gr

[edk2-devel] edk2 MdeModulePkg build error

2023-03-30 Thread ritul guru
Hi, getting below error while building MdeModulePkg, help is appreciated. build cmd: build -p "MdeModulePkg/MdeModulePkg.dsc" -b DEBUG -t GCC5 MdeModulePkg/Include -I/home/a/src/opensource/edk2/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/c/include /home/a/src/opensource/edk2/Build/MdeM

[edk2-devel] regarding Android bootloader uefi pkg

2023-02-22 Thread ritul guru
Hi, I am looking for uefi android boot pkg, though do not find it in edk2 source code, any idea from where it can be cloned? *Thanks & RegardsRitul Guru+91-9916513186* -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100447): https://ed

[edk2-devel] how to enable postcode when edk2 payload is executing

2023-02-13 Thread ritul guru
Hi, I Want to print the edk2 payload postcode in logs, how can that be enabled? *Thanks & RegardsRitul Guru+91-9916513186* -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100117): https://edk2.groups.io/g/devel/message/100117 Mute This

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-09 Thread ritul guru
/PcRtcEntry.c(1)* *Thanks & RegardsRitul Guru+91-9916513186* On Wed, Feb 8, 2023 at 8:43 AM ritul guru wrote: > Any idea why the below error comes? > > Loading driver 378D7B65-8DA9-4773-B6E4-A47826A833E1 > InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 51A3E1C0

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-08 Thread ritul guru
oadPkg.dsc] Arch: ['IA32'] . done! *Thanks & RegardsRitul Guru+91-9916513186* On Wed, Feb 8, 2023 at 3:40 AM Sean Rhodes wrote: > L36 is help text that says what you are trying to do, wont work > > On Tue, 7 Feb 2023 at 20:51, ritul guru wrote: > >>

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
*Thanks & RegardsRitul Guru+91-9916513186* On Wed, Feb 8, 2023 at 2:19 AM ritul guru wrote: > I do not get debug logs from edk2 payload even though debug payload is > selected in menuconfig of coreboot. > and also updated FD_BASE, if not then getting GCD assert while adding > regions in

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
/ *Thanks & RegardsRitul Guru+91-9916513186* On Wed, Feb 8, 2023 at 2:06 AM Sean Rhodes wrote: > Why the edk2 changes? Just to fix this issue? > > Have you seen L36 of payloads/external/edk2/Kconfig > > On Tue, 7 Feb 2023 at 20:30, ritul guru wrote: > >> >&g

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
ll 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 = 0x0080 >> >> Is the above address correct in uefipaylaod? >> As observing some regions are

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
916513186* 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 buil

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
3 at 10:09 PM ritul guru wrote: > UefiPayloadPkg/UefiPayloadPkg.fdf > DEFINE FD_BASE = 0x0080 > > 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 = 0x022000

Re: [edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
[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_

[edk2-devel] regarding uefipayload build warning for pcd

2023-02-07 Thread ritul guru
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/PcatRealTimeClockRunt

Re: [edk2-devel] regarding calling UEFI runtime services (mainly SetVariable) from linux or android OS which is running on xen+tianocore UEFI

2023-02-06 Thread ritul guru
3186* On Mon, Feb 6, 2023 at 11:55 PM ritul guru wrote: > Thanks, > so as it is memory, does it mean if anything written in variable store, > and VM reboot happens then variable store will be flushed? > > > > *Thanks & RegardsRitul Guru+91-9916513186* > > > On Mo

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
is it right? llvm path also need to set? *Thanks & RegardsRitul Guru+91-9916513186* On Mon, Feb 6, 2023 at 10:21 PM ritul guru wrote: > PATH=$PATH:/usr/bin/clang > > yes, set it as above. > > > > *Thanks & RegardsRitul Guru+91-9916513186* > > > On Mon,

[edk2-devel] regarding calling UEFI runtime services (mainly SetVariable) from linux or android OS which is running on xen+tianocore UEFI

2023-02-06 Thread ritul guru
Hi, I have been using xen hypervisor and tianocore uefi BIOS on xen to boot to ubuntu OS on virtualized disk. and want to set a UEFI variable with UEFI runtime service SetVariable() to a value and the same wants to read from UEFI bootloader either grubx64.efi or botmgfw.efi, So, Is it possible to

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
PATH=$PATH:/usr/bin/clang yes, set it as above. *Thanks & RegardsRitul Guru+91-9916513186* On Mon, Feb 6, 2023 at 8:43 PM Guo, Gua wrote: > Do you set clang bin path ? > > > > *From:* ritul guru > *Sent:* Monday, February 6, 2023 11:12 PM > *To:* Guo, Gua >

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
md/src/opensource/edk2/Build/UefiPayloadPkgX64/UefiUniversalPayloadEntry.txt -D UNIVERSAL_PAYLOAD=TRUE -D CPU_TIMER_LIB_ENABLE=FALSE getting above error. *Thanks & RegardsRitul Guru+91-9916513186* On Mon, Feb 6, 2023 at 11:22 PM ritul guru wrote: > is it right? llvm path also need to

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
kg/UefiPayloadPkg.dsc -b DEBUG -a IA32 -a X64 -m UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf -t CLANGDWARF -y /home/a/src/opensource/edk2/Build/UefiPayloadPkgX64/UefiUniversalPayloadEntry.txt -D UNIVERSAL_PAYLOAD=TRUE -D CPU_TIMER_LIB_ENABLE=FALSE *Thanks & RegardsRitul Guru+91-99165

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
dependency. > > > > I assume your machine is ubuntu-20.10, please download it. And set use > export PATH=$PATH: to prevent the issue. > > > > > https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/clang+llvm-11.1.0-x86_64-linux-gnu-ubuntu-20.10.tar.xz

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
I think you can run “. edksetup.sh” in your local and WORKSPACE will be > setup automatically. > > > > *From:* ritul guru > *Sent:* Monday, February 6, 2023 10:22 PM > *To:* Guo, Gua > *Cc:* devel@edk2.groups.io; Mike Maslenkin > *Subject:* Re: [edk2-devel] regarding

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-06 Thread ritul guru
payload -r COREBOOT -n fallback/payload -f > ShimLayer.elf > > ./cbfstool coreboot.rom remove -r COREBOOT -n img/UniversalPayload > > ./cbfstool coreboot.rom add-flat-binary -r COREBOOT -n > img/UniversalPayload -f UniversalPayload.elf -l 0x20 -e 0x100 -c lzma > > qemu-s

Re: [edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-03 Thread ritul guru
*Thanks & RegardsRitul Guru+91-9916513186* On Fri, Feb 3, 2023 at 4:46 AM Mike Maslenkin wrote: > Hi Ritul Guru. > > There is a misprint in path to dsc file. > The path should be "UefiPayloadPkg/UefiPayloadPkg.dsc" > But there is another issue with your command line exists.

[edk2-devel] regarding build uefipayload in debug mode in linux

2023-02-02 Thread ritul guru
Hi, I was following below link to build UEfiPayload for coreboot to boot from, https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/BuildAndIntegrationInstructions.txt but getting below error, would appreciate help, thanks. ~/src/opensource/edk2 [master| ] 03:04 $ build -p UefiPayloadPk