|
回复: [edk2-discuss] Reg, Building EDKII source.
The build step can refer to https://github.com/tianocore/tianocore.github.io/wiki/CLANG9-Tools-Chain#the-verbos-build-and-run-steps-in-windows
This step is to build EDK2 with CLANGPDB tool chain.
The build step can refer to https://github.com/tianocore/tianocore.github.io/wiki/CLANG9-Tools-Chain#the-verbos-build-and-run-steps-in-windows
This step is to build EDK2 with CLANGPDB tool chain.
|
By
gaoliming
·
#565
·
|
|
Reg, Building EDKII source.
Hello,
Do we have steps to build the latest EDK II source? or any related reference link?
Also can we build EDK II source without MS VisualStudio being installed in the system?
In my windows machine,
Hello,
Do we have steps to build the latest EDK II source? or any related reference link?
Also can we build EDK II source without MS VisualStudio being installed in the system?
In my windows machine,
|
By
Mohammad Younas Khan Pathan
·
#564
·
|
|
Re: Simple usb keyboard/mouse driver implementation after ExitBootServices
Your "trick" is undefined behavior.
EFI_SIMPLE_TEXT_INPUT_PROTOCOL is not a runtime protocol; you cannot use
it after ExitBootServices().
TBH I don't understand your purpose. Why do you call
Your "trick" is undefined behavior.
EFI_SIMPLE_TEXT_INPUT_PROTOCOL is not a runtime protocol; you cannot use
it after ExitBootServices().
TBH I don't understand your purpose. Why do you call
|
By
Laszlo Ersek
·
#563
·
|
|
Simple usb keyboard/mouse driver implementation after ExitBootServices
Hello, I am an amateur. I made a uefi app for reading some type of images (bmp os/2) and files in folders. That also provides mice and keyboard support. I did not use edk2 but gnu-efi later I will
Hello, I am an amateur. I made a uefi app for reading some type of images (bmp os/2) and files in folders. That also provides mice and keyboard support. I did not use edk2 but gnu-efi later I will
|
By
gomidas95@...
·
#562
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
It was very helpful.
Thank you for your kindness!
It was very helpful.
Thank you for your kindness!
|
By
joseph@...
·
#561
·
|
|
Re: Can DXE drivers be included in executable EFI binary?
This applies only to drivers that do not follow the UEFI Driver Model
(considering the protocols that expose the driver's actual business).
NvmExpressDxe is a UEFI_DRIVER that follows the UEFI Driver
This applies only to drivers that do not follow the UEFI Driver Model
(considering the protocols that expose the driver's actual business).
NvmExpressDxe is a UEFI_DRIVER that follows the UEFI Driver
|
By
Laszlo Ersek
·
#560
·
|
|
Re: Compile EDK2 to set boot order to PXE
https://github.com/tianocore/edk2-platforms/commit/8dd78ea11a38d2d7e8031c4783e9f2ca5569956b
That was indeed the problem. I changed the RPI4 platform code to always
connect to devices and regenerate
https://github.com/tianocore/edk2-platforms/commit/8dd78ea11a38d2d7e8031c4783e9f2ca5569956b
That was indeed the problem. I changed the RPI4 platform code to always
connect to devices and regenerate
|
By
Werner Buck <wernerbuck@...>
·
#559
·
|
|
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
·
|