Thank you, I have done that but I'm having some alignment errors when building Ovmfg with my driver.
"GenFv: ERROR 3000: Invalid Section-Alignment and File-Alignment do not match : /home/mr/tese_clean/edk_source/edk2/Build/OvmfX64/DEBUG_GCC48/FV/Ffs/c69427e4-4a18-4c34-acb1-2af2ba8c2ae9CuCo/c69427e4-4a18-4c34-acb1-2af2ba8c2ae9.ffs. GenFv: ERROR 3000: Invalid Could not rebase /home/mr/tese_clean/edk_source/edk2/Build/OvmfX64/DEBUG_GCC48/FV/Ffs/c69427e4-4a18-4c34-acb1-2af2ba8c2ae9CuCo/c69427e4-4a18-4c34-acb1-2af2ba8c2ae9.ffs." c69427e4-4a18-4c34-acb1-2af2ba8c2ae9 is the uuid of my driver. Any pointers? Regards, Miguel R. ________________________________________ From: Laszlo Ersek <ler...@redhat.com> Sent: Tuesday, May 20, 2014 1:20 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Initializing Driver On 05/20/14 15:00, miguelro...@ua.pt wrote: > And where do I add the module in the OVMF compilation (It must run on > every OVMF boot) ? > > Do I need to add it on OvmfPkg FDF and DSC files? This module was > built using GNU-EFI so I have only the source and efi binary files. (1) You should probably create a subdirectory under OvmfPkg first, containing your EFI binary, plus a new INF file. You can use "FatBinPkg/EnhancedFatDxe/Fat.inf" as an example for an INF file that describes a binarily-available UEFI_DRIVER. Don't forget to generate a new FILE_GUID with "uuidgen" for the new INF file. (2) Reference your new INF file in the OvmfPkg/Ovmf*.fdf files the same as "FatBinPkg/EnhancedFatDxe/Fat.inf" is referenced: INF RuleOverride = BINARY OvmfPkg/YourNewDriver/YourNewDriver.inf That's what I think anyway... Laszlo ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel