|
Re: Can DXE drivers be included in executable EFI binary?
Hello Laszlo,
Thank you sincerely!
It works just as you said!
Snippet: https://gist.github.com/jc-lab/e9c019b8f5c220d06fe312c9bf3af350
Thanks
Jospeh.
Hello Laszlo,
Thank you sincerely!
It works just as you said!
Snippet: https://gist.github.com/jc-lab/e9c019b8f5c220d06fe312c9bf3af350
Thanks
Jospeh.
|
By
joseph@...
·
#558
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
Hello Laszlo,
It has not been checked in detail, but my predictions are this.
1. When a driver is loaded, it calls "InstallMultipleProtocolInterfaces" within that driver.
2. In this process,
Hello Laszlo,
It has not been checked in detail, but my predictions are this.
1. When a driver is loaded, it calls "InstallMultipleProtocolInterfaces" within that driver.
2. In this process,
|
By
joseph@...
·
#557
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
I don't understand "installing the driver".
Also, what is "notify" in this context? Do you mean the
RegisterProtocolNotify() boot service? In what context are you trying to
use it?
The BDS phase is
I don't understand "installing the driver".
Also, what is "notify" in this context? Do you mean the
RegisterProtocolNotify() boot service? In what context are you trying to
use it?
The BDS phase is
|
By
Laszlo Ersek
·
#556
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
Hello Laszlo,
Thanks for your answer.
I looked at this a bit more today.
The cause is not that there is no driver, but it seems that Notify does not work properly for the protocol after installing
Hello Laszlo,
Thanks for your answer.
I looked at this a bit more today.
The cause is not that there is no driver, but it seems that Notify does not work properly for the protocol after installing
|
By
joseph@...
·
#555
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
Dropping <joseph@...> from the address list, because the RH
SMTP server keeps telling me that the domain for that email address
(i.e., "zeronsoftn.com") is unidentifiable. Comments
Dropping <joseph@...> from the address list, because the RH
SMTP server keeps telling me that the domain for that email address
(i.e., "zeronsoftn.com") is unidentifiable. Comments
|
By
Laszlo Ersek
·
#554
·
|
|
Can DXE drivers be included in executable EFI binary?
Hello,
Some computers (what I checked was an LG laptop) do not recognize the NVMe SSD as a block device in the EFI program.
Of course, the OS on the NVMe SSD is bootable.
But when I boot with
Hello,
Some computers (what I checked was an LG laptop) do not recognize the NVMe SSD as a block device in the EFI program.
Of course, the OS on the NVMe SSD is bootable.
But when I boot with
|
By
joseph@...
·
#553
·
|
|
Re: Questions about unusual PCI location when using EFI_PCI_IO_PROTOCOL in ARM system
Hi Laszlo Ersek,
Thanks for the style comments, I appreciate it, I will do these changes.
And, for the questions, I agree, for the first question, that seems to be a platform driver bug and, for the
Hi Laszlo Ersek,
Thanks for the style comments, I appreciate it, I will do these changes.
And, for the questions, I agree, for the first question, that seems to be a platform driver bug and, for the
|
By
gustavo.marcello@...
·
#552
·
|
|
Re: Questions about unusual PCI location when using EFI_PCI_IO_PROTOCOL in ARM system
Style comment: you should remove "gPciIo", and use the auto-generated
"gEfiPciIoProtocolGuid" variable instead.
Why not read it with a single EfiPciIoWidthUint16 operation?
Also, for the offset,
Style comment: you should remove "gPciIo", and use the auto-generated
"gEfiPciIoProtocolGuid" variable instead.
Why not read it with a single EfiPciIoWidthUint16 operation?
Also, for the offset,
|
By
Laszlo Ersek
·
#551
·
|
|
Questions about unusual PCI location when using EFI_PCI_IO_PROTOCOL in ARM system
Hello,
I am learning about PCI and trying to write an application that lists PCI controllers in UEFI environment, using EFI_PCI_IO_PROTOCOL and EDK2. I want to list some information from
Hello,
I am learning about PCI and trying to write an application that lists PCI controllers in UEFI environment, using EFI_PCI_IO_PROTOCOL and EDK2. I want to list some information from
|
By
gustavo.marcello@...
·
#550
·
|
|
UEFI-SCT: Support for UEFI-SCT for X86 architecture.
Hi,
I was trying to build the UEFI-SCT for EDK2 on my windows box running cygwin.
I follow edk2-test/uefi-sct/HowToBuild/How to build SCT.txt for build instruction. It says X64 is unsupported
Hi,
I was trying to build the UEFI-SCT for EDK2 on my windows box running cygwin.
I follow edk2-test/uefi-sct/HowToBuild/How to build SCT.txt for build instruction. It says X64 is unsupported
|
By
gauravpandya321@...
·
#549
·
|
|
Re: Potentially missing CloseProtocol() call
Right, my apologies. I'm not sure why I wrote CloseProtocol(). Perhaps a
typo, or maybe I lost track of where I was in the PDF with "evince".
That seems to be the case, yes.
Agreed.
Laszlo
Right, my apologies. I'm not sure why I wrote CloseProtocol(). Perhaps a
typo, or maybe I lost track of where I was in the PDF with "evince".
That seems to be the case, yes.
Agreed.
Laszlo
|
By
Laszlo Ersek
·
#548
·
|
|
Re: Potentially missing CloseProtocol() call
Thank you! I see that text in the documentation for the deprecated call UninstallProtocolInterface(), which explains why I hadn't previously noticed it.
Based on what the EDK2 implementation
Thank you! I see that text in the documentation for the deprecated call UninstallProtocolInterface(), which explains why I hadn't previously noticed it.
Based on what the EDK2 implementation
|
By
Michael Brown
·
#547
·
|
|
Re: Potentially missing CloseProtocol() call
The CloseProtocol() specification has parts as follows (relevant passage
is the last one below):
The caller is responsible for ensuring that there are no references
to a protocol interface
The CloseProtocol() specification has parts as follows (relevant passage
is the last one below):
The caller is responsible for ensuring that there are no references
to a protocol interface
|
By
Laszlo Ersek
·
#546
·
|
|
Re: Potentially missing CloseProtocol() call
Hi Laszlo,
I was almost exclusively checking edk2 headers but should have checked with
the specs. Thank you for clarifying it for me.
Best,
Satoshi
Hi Laszlo,
I was almost exclusively checking edk2 headers but should have checked with
the specs. Thank you for clarifying it for me.
Best,
Satoshi
|
By
Satoshi Tanda
·
#545
·
|
|
Re: Potentially missing CloseProtocol() call
This reminds me of a very longstanding question I've had around OpenProtocol(): is there any defined way for something that is an ordinary consumer (rather than a driver or child controller) to obtain
This reminds me of a very longstanding question I've had around OpenProtocol(): is there any defined way for something that is an ordinary consumer (rather than a driver or child controller) to obtain
|
By
Michael Brown
·
#544
·
|
|
Re: Potentially missing CloseProtocol() call
Hi,
gBS->OpenProtocol() calls that pass the EFI_OPEN_PROTOCOL_GET_PROTOCOL
argument for the "Attributes" parameter *need not* be mirrored with
gBS->CloseProtocol() calls.
Please refer to the UEFI
Hi,
gBS->OpenProtocol() calls that pass the EFI_OPEN_PROTOCOL_GET_PROTOCOL
argument for the "Attributes" parameter *need not* be mirrored with
gBS->CloseProtocol() calls.
Please refer to the UEFI
|
By
Laszlo Ersek
·
#543
·
|
|
Re: UEFI Payload Issue
Hi,
we do have a updated fork here: github.com/9elements/edk2
This should be more stable than the current one - also we have at least build testing for the UEFIPayload branch.
Best,
Chris
--
Hi,
we do have a updated fork here: github.com/9elements/edk2
This should be more stable than the current one - also we have at least build testing for the UEFIPayload branch.
Best,
Chris
--
|
By
Christian Walter
·
#542
·
|
|
Re: Bonding support for PXE Boot
If you were to choose to adopt iPXE's simple conceptual model then this would not be necessary. The boot firmware doesn't need to know or care that ports are participating in a bond: it just needs to
If you were to choose to adopt iPXE's simple conceptual model then this would not be necessary. The boot firmware doesn't need to know or care that ports are participating in a bond: it just needs to
|
By
Michael Brown
·
#541
·
|
|
Re: UEFI Payload Issue
Hi,
If HPET works but 8254 does not work, further investigation could be on 8254
settings made by Coreboot.
Thanks,
- ben
Hi,
If HPET works but 8254 does not work, further investigation could be on 8254
settings made by Coreboot.
Thanks,
- ben
|
By
You, Benjamin <benjamin.you@...>
·
#540
·
|
|
Re: UEFI Payload Issue
Hi,
Yes, timer could be a cause for this hang. Old Payload has the option of
USE_HPET_TIMER - you could try setting this to TRUE to use HPET instead of 8254
Thanks,
- ben
Hi,
Yes, timer could be a cause for this hang. Old Payload has the option of
USE_HPET_TIMER - you could try setting this to TRUE to use HPET instead of 8254
Thanks,
- ben
|
By
You, Benjamin <benjamin.you@...>
·
#539
·
|