> On Dec 1, 2014, at 8:48 AM, Joe Thomas <joe.tho...@dothill.com> wrote:
> 
> Folks,
>  
> I’m trying to convert/port one of our DXE drivers to PEI (for Recovery 
> support) but I’m having trouble finding useful information on generating a 
> PEIM module that can be integrated into a BIOS.
>  
> Does anyone have any good pointers/info that might help point the way? Thanks.
>  
>  
> Background:
> -          DXE module being built under Edk_1.xx
> -          Final output is .DXE or .DXE.ORG <http://dxe.org/> file (as well 
> as the .efi)
>  
> -          BIOS is MMTOOL compatible
>  
> -          Building PEI module w/Edk2
> -          Output from ‘build’ process is <name>.debug, <name>.dll or 
> <name>.efi; none are in proper format for use by MMTOOL
>  
> Current (test) PEI module is a simple DEBUG() statement and return 
> EFI_UNSUPPORTED for PeimEntry(). [Using MdeModulePkg/Bus/Pci/IdeBusPei/* as 
> template files.] MMTOOL seems to like output by GenFfs… GenFfs want’s 
> something with a PE or TE section such as GenSec outputs. Putting the 
> resulting output into the BIOS bricks the system… Don’t have a debugger that 
> will tell me what’s happening (hence trying to start with something that will 
> output a debug message and exit…)
>  

You can try running VolInfo on the FV that contains your PEIM to see how it got 
packaged up. 

The DebugLib can have different underlying implementations. Are you sure you 
are using a DebugLib instance that is compatible with the platform? 

Thanks,

Andrew Fish

> Thanks again…
>  
> // Joseph Thomas
> // Principal Software Engineer
> // Dot Hill Systems
> // 2905 NorthWest Blvd., Suite 20
> // Plymouth, MN 55441
> // 763.226.2640
>  
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
>  
> <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________>
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/edk2-devel 
> <https://lists.sourceforge.net/lists/listinfo/edk2-devel>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to