Hi Vladimir,
We are building the UEFI driver ROM image using EBC compiler using below
method:
EfiRom -f vendorid -i deviceid -l classcode -o ABCD.rom -ec ABCD.efi
Does building the UEFI driver ROM image using EBC compiler (EfiROM
utility), address the below requirements stated in section 13.4.2 of UEFI
spec:
(1) EFI Option ROM images begin with an EFI PCI Expansion ROM Header (Table
118).
(2) Each image must contain a PCIR data structure in the first 64 KiB of
the image.
(3) The image data for an EFI Option ROM image must begin in the first 64
KiB of the image.
(4) The image data for an EFI Option ROM image must be a PE/COFF image or a
compressed PE/COFF image following the UEFI Compression Algorithm, and
referencing Appendix H for the Compression Source Code.
(5) The PCIR data structure must begin on a 4-byte boundary.
Also, when i build the ABCD.rom image, the size is shown as 64,000 bytes,
(not exactly 64KB which should be 65536) , should i round off the size of
the .rom image to 65536 bytes (multiple of 512)
Please advise.
Many Thanks
Sushma.S
On Mon, Aug 4, 2014 at 12:02 PM, sushma s <sushma.bharadw...@gmail.com>
wrote:
> Thanks much Vladimir. We will make changes as per the spec, and shall keep
> you updated with the progress.
>
>
> On Mon, Aug 4, 2014 at 11:41 AM, Onipchuk Vladimir <v-onipc...@yandex.ru>
> wrote:
>
>>
>>
>> 13.4.2.1 (UEFI Specification) :
>> "A PCI Bus Driver must scan a PCI Option ROM for PCI Device Drivers. If a
>> PCI Option ROM is found during PCI Enumeration, then a copy of the PCI
>> Option ROM is placed in a memory buffer. The PCI Bus Driver will use the
>> memory copy of the PCI Option ROM to search for UEFI drivers after PCI
>> Enumeration."
>>
>> Сheck the compliance with the rules in paragraph 13.4.2
>>
>> Thanks,
>> Vladimir
>>
>>
>> 04.08.2014, 09:57, "sushma s" <sushma.bharadw...@gmail.com>:
>> > Thanks Vladimir, we had put debug prints in our UEFI driver, we had
>> made sure that start() is properly loaded.
>> > We will try the option suggested by you: "Try to place only UEFI driver
>> ROM image on the PCIe card". We had one question here, how would the UEFI
>> BIOS know about my UEFI driver ROM image present on my PCIe card, do i need
>> to do any changes?
>> >
>> > Many Thanks
>> > Sushma.S
>> >
>> > On Mon, Aug 4, 2014 at 11:17 AM, Onipchuk Vladimir <
>> v-onipc...@yandex.ru> wrote:
>> >>>>> We are able to successfully load the UEFI driver ROM using
>> loadpicrom UEFI
>> >>>>> shell command.
>> >>
>> >> During loadpcirom command please make sure what "start" function was
>> loaded (not just "entrypoint").
>> >>
>> >>>>> In the PCIE card optrom layout We placed this UEFI driver ROM
>> image, below
>> >>>>> the legacy optrom image and flashed the same on the PCIe card.
>> >>
>> >> Try to place only UEFI driver ROM image on the PCIe card.
>> >>
>> >> Thanks,
>> >> Vladimir
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Infragistics Professional
>> >> Build stunning WinForms apps today!
>> >> Reboot your WinForms applications with our WinForms controls.
>> >> Build a bridge from your legacy apps to the future.
>> >>
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> >> _______________________________________________
>> >> edk2-devel mailing list
>> >> edk2-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>> > ,
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Infragistics Professional
>> > Build stunning WinForms apps today!
>> > Reboot your WinForms applications with our WinForms controls.
>> > Build a bridge from your legacy apps to the future.
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> > ,
>> >
>> > _______________________________________________
>> > edk2-devel mailing list
>> > edk2-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel