Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use RedfishPkg #4088

Closed
Timboooh opened this issue Mar 2, 2023 Discussed in #4077 · 1 comment
Closed

How to use RedfishPkg #4088

Timboooh opened this issue Mar 2, 2023 Discussed in #4077 · 1 comment

Comments

@Timboooh
Copy link

Timboooh commented Mar 2, 2023

Discussed in #4077

Originally posted by Timboooh February 28, 2023
Hey,
I'm currently developing my first UEFI application, and it needs to communicate to a Redfish API.
I'm compiling the RedfishPkg using:

TARGET = DEBUG
TARGET_ARCH = X64
TOOL_CHAIN_TAG = GCC5
ACTIVE_PLATFORM = RedfishPkg/RedfishPkg.dsc

After successfully compiling this produces some efi files in ./Build/RedfishPkg/RELEASE_GCC5/X64
But when I try to load the confighandler in the UEFI shell, provided by OVMF, I get this error:

FS0:\> load RedfishConfigHandlerDriver.efi
Image 'FS0:\RedfishConfigHandlerDriver.efi' error in StartImage: Not Found

My qemu logs contains the following messages:

FSOpen: Open '\RedfishConfigHandlerDriver.efi' Success
[Security] 3rd party image[0] can be loaded after EndOfDxe: PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)/HD(1,MBR,0xBE1AFDFA,0x3F,0xFBFC1)/\RedfishConfigHandlerDriver.efi.
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 7DF95040
Loading driver at 0x0007DF74000 EntryPoint=0x0007DF75A09 RedfishConfigHandlerDriver.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 7DF7A218
ProtectUefiImageCommon - 0x7DF95040
  - 0x000000007DF74000 - 0x0000000000002A00
Error: Image at 0007DF74000 start failed: Not Found

Because I'm really inexperienced in EDK2 I have no clue how to debug this issue, and how to correctly load and use the RedfishPkg. Any pointers would be greatly appreciated!

Thanks,
Timo

@lersek
Copy link
Member

lersek commented Oct 4, 2023

This issue may be valid/live, but you're clearly not going to get answers here. The edk2-discuss mailing list is potentially a better place. Keyword being "potentially".

@lersek lersek closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants