> On Nov 14, 2014, at 9:48 AM, Varad Gautam <varadgau...@gmail.com> wrote:
> 
> Could using MdeModulePkg/Universal/Variable/EmuRuntimeDxe instead of
> MdeModulePkg/Universal/Variable/RuntimeDxe be the problem, given that
> EmuRuntimeDxe does not support NV storage and UEFI variables (ConIn,
> ConOut) are required to be kept static? Also, this would be how I can
> maintain persistence of variables once I get the kernel running, I suppose?
> 

Yes, but the BDS should have some defaults for the case where the NVRAM is not 
present. 

> On Tuesday 11 November 2014 10:41 PM, Andrew Fish wrote:
>> 
>>> On Nov 11, 2014, at 8:01 AM, Varad Gautam <varadgau...@gmail.com
>>> <mailto:varadgau...@gmail.com>> wrote:
>>> 
>>> Is there a way to dump a boot "log" into a file on the device during
>>> boot?
>>> 
>> 
>> What do you mean by a boot “log”? Usually the DEBUG prints are sent to
>> a serial device. What configuration do you have?
> 
> I meant have the console output logged to a file besides getting
> displayed onscreen while boot happens; just wondering.
> 

There a ways to log the DEBUG prints to the DataHub, grep for 
EFI_DATA_RECORD_CLASS_DEBUG. But I don’t know of any code that writes it to a 
file. This driver dumps it to the EFI StdErr. 
https://svn.code.sf.net/p/edk2/code/trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c

Thanks,

Andrew Fish

> Thanks,
> Varad
> 
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&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