WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Need some help about the build xen.efi

To: "liang tang" <liang.tang@xxxxxxxxxx>
Subject: [Xen-devel] Re: Need some help about the build xen.efi
From: "Jan Beulich" <JBeulich@xxxxxxxx>
Date: Thu, 03 Nov 2011 10:06:24 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Thu, 03 Nov 2011 03:08:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EB265EC.2050702@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4EAEAC4B.4000004@xxxxxxxxxx> <4EB12AB6020000780005E679@xxxxxxxxxxxxxxxxxxxx> <4EB265EC.2050702@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On 03.11.11 at 10:59, liang tang <liang.tang@xxxxxxxxxx> wrote:
> Hi,konrad,Jan
> Thank you very much for your help, now i can build xen.efi and i use 
> basevideo and cfg file
> kernel=vmlinuz-3.0.0+
> ramdisk=initramfs-3.0.0+.img
> 
> after run xen.efi I got debug message "tangl debug xen loader debug 1" 
> don't got the "tangl debug xen loader debug 2" .
>      PrintStr(L"tangl debug xen loader debug 1\n");
>      status = efi_bs->ExitBootServices(ImageHandle, map_key);
>      if ( EFI_ERROR(status) )
>          PrintErrMesg(L"Cannot exit boot services", status);
> 
>      PrintStr(L"tangl debug xen loader debug 2\n");

You can't PrintStr() anymore after ExitBootServices().

> if I mark //status = efi_bs->ExitBootServices(ImageHandle, map_key); xen 
> will halt in here load the domain 0.

And you also can't just arbitrarily remove code and expect things to
still work.

> 
>      if ( (rc = bzimage_parse(image_base, &image_start, &image_len)) != 0 )
>          return rc;
> is configure file ok?

Looks like it is (otherwise you would see some sort of error message).

> any idea about that?

If you're having real problems, the may be connected to the EFI
implementation on your system and/or the EFI version being too
old (no minimum version was established so far, but it may well be
that some things aren't working as expected in older versions).

I take it that native Linux boots okay on that system?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>