Thanks Jordan,
 I am now doing this as your says. And I get the OVMF debugging output:
linux-aVzzFl:~# xl create win2008.cfg -c
Parsing config from win2008_dc_r2_64_2U.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000029c344
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
Daemon running with PID 30001
16
32
b1
f1
64
SecCoreStartupWithStack(0x80000000, 0x43636553)

ASSERT_EFI_ERROR (Status = 00000000)
ASSERT (522976): 

--------------------------------------------------------
Using the DEBUG I find it stop in this function: SecCoreStartupWithStack

line 652: InitializeDebugAgent (DEBUG_AGENT_INIT_PREMEM_SEC, &SecCoreData, 
SecStartupPhase2);
(OvmfPkg/Sec/SecMain.c)

Arei

-----Original Message-----
From: Jordan Justen [mailto:[email protected]] 
Sent: Monday, October 15, 2012 11:33 PM
To: Gonglei (Arei)
Cc: [email protected]; [email protected]; [email protected]; 
[email protected]; Luonengjun; Fanhenglong; Hanweidong; Yanqiangjun; 
Yangxiaowei; Qianhuibin; Wangzhenguo
Subject: Re: xen OVMF problem

Ok, I think I understand the issue then. With the latest code you need
this on the build command line to see debug messages printed to the
serial port.

-D DEBUG_ON_SERIAL_PORT

Does Xen support QEMU's debug console device?

-Jordan

On Mon, Oct 15, 2012 at 1:44 AM, Gonglei (Arei) <[email protected]> wrote:
> Hi Jordan,
>
> 1) I get the OVMF from 
> https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/.
>
> 2) I build the ResetVector code and modify
> UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf to use the serial
> debug versions (Bin/ResetVector.x64.serial.raw and
> Bin/ResetVector.ia32.serial.raw).
>
> -Arei
>

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to