Re: Grub for ia64

2006-10-13 Thread Yoshinori K. Okuji
On Friday 13 October 2006 10:02, bibo,mao wrote: > On i386 objcopy in binutils can convert ELF format into PE32, but > application need dynamically relocate itself so that PE32 image can be > loaded to any place to execute. For grub-mkimage.c application need not > because grub-mkimage will generat

Re: Grub for ia64

2006-10-13 Thread bibo,mao
Tristan Gingold wrote: On Thu, Oct 12, 2006 at 05:32:00PM +0200, Johan Rydberg wrote: > Tristan Gingold <[EMAIL PROTECTED]> writes: > > > On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote: > >> Tristan Gingold <[EMAIL PROTECTED]> writes: > >> > >> >> You're telling me that EFI o

Re: Grub for ia64

2006-10-12 Thread Tristan Gingold
On Thu, Oct 12, 2006 at 05:32:00PM +0200, Johan Rydberg wrote: > Tristan Gingold <[EMAIL PROTECTED]> writes: > > > On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote: > >> Tristan Gingold <[EMAIL PROTECTED]> writes: > >> > >> >> You're telling me that EFI on your IA-64 system does not

Re: Grub for ia64

2006-10-12 Thread Johan Rydberg
Tristan Gingold <[EMAIL PROTECTED]> writes: > On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote: >> Tristan Gingold <[EMAIL PROTECTED]> writes: >> >> >> You're telling me that EFI on your IA-64 system does not relocate the >> >> program before start executing it? That sounds strange.

Re: Grub for ia64

2006-10-12 Thread Tristan Gingold
On Thu, Oct 12, 2006 at 02:11:57PM +0200, Johan Rydberg wrote: > Tristan Gingold <[EMAIL PROTECTED]> writes: > > >> You're telling me that EFI on your IA-64 system does not relocate the > >> program before start executing it? That sounds strange. > > > > It does relocate EFI PEI images. Unfortun

RE: Grub for ia64

2006-10-12 Thread Mao, Bibo
TECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Johan >Rydberg >Sent: 2006年10月12日 20:12 >To: The development of GRUB 2 >Subject: Re: Grub for ia64 > >Tristan Gingold <[EMAIL PROTECTED]> writes: > >>> You're telling me that EFI on your IA-64 system does not

Re: Grub for ia64

2006-10-12 Thread Johan Rydberg
Tristan Gingold <[EMAIL PROTECTED]> writes: >> You're telling me that EFI on your IA-64 system does not relocate the >> program before start executing it? That sounds strange. > > It does relocate EFI PEI images. Unfortunatly there is no tools to create > EFI PEI objects on Linux. The gnu efi t

Re: Grub for ia64

2006-10-12 Thread Tristan Gingold
On Thu, Oct 12, 2006 at 01:30:18PM +0200, Johan Rydberg wrote: > Tristan Gingold <[EMAIL PROTECTED]> writes: > > > the code to relocate is used by grub to relocate itself. On EFI systems > > programs can be loaded at any address (physical mode). > > You're telling me that EFI on your IA-64 syste

Re: Grub for ia64

2006-10-12 Thread Johan Rydberg
Tristan Gingold <[EMAIL PROTECTED]> writes: > the code to relocate is used by grub to relocate itself. On EFI systems > programs can be loaded at any address (physical mode). You're telling me that EFI on your IA-64 system does not relocate the program before start executing it? That sounds str

Re: Grub for ia64

2006-10-12 Thread Tristan Gingold
On Wed, Oct 11, 2006 at 07:43:26PM +0800, Mao, Bibo wrote: > On IA64 module supporting is very complicated, I do not know whether > Grub2 can provide configuration file to compile command module with > both compile-in mode or module mode. > > If commands are compiled with compile-in mode, then th

RE: Grub for ia64

2006-10-11 Thread Mao, Bibo
. Thanks Bibo,mao >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Johan >Rydberg >Sent: 2006年10月11日 19:20 >To: The development of GRUB 2 >Subject: Re: Grub for ia64 > >Jeff Bailey <[EMAIL PROTECTED]> writes: > >>

Re: Grub for ia64

2006-10-11 Thread Johan Rydberg
Jeff Bailey <[EMAIL PROTECTED]> writes: >> > Anyhow, when I get a few more minutes over I'll try to review your >> > patches more in depth. >> >> A few comments; >> >> * Would it be possible for you to rewrite kern/ia64/efi/startup.S, >>so that you hold the copyright for it? >> >> * Sam

Re: Grub for ia64

2006-10-11 Thread Tristan Gingold
On Tue, Oct 10, 2006 at 08:15:26PM +0200, Johan Rydberg wrote: > Johan Rydberg <[EMAIL PROTECTED]> writes: > > > Anyhow, when I get a few more minutes over I'll try to review your > > patches more in depth. > > A few comments; > > * Would it be possible for you to rewrite kern/ia64/efi/startu

Re: Grub for ia64

2006-10-10 Thread Jeff Bailey
On Tue, Oct 10, 2006 at 08:15:26PM +0200, Johan Rydberg wrote: > Johan Rydberg <[EMAIL PROTECTED]> writes: > > > Anyhow, when I get a few more minutes over I'll try to review your > > patches more in depth. > > A few comments; > > * Would it be possible for you to rewrite kern/ia64/efi/startu

Re: Grub for ia64

2006-10-10 Thread Johan Rydberg
Johan Rydberg <[EMAIL PROTECTED]> writes: > Anyhow, when I get a few more minutes over I'll try to review your > patches more in depth. A few comments; * Would it be possible for you to rewrite kern/ia64/efi/startup.S, so that you hold the copyright for it? * Same goes for kern/ia64/efi/

Re: Grub for ia64 - function descriptors

2006-10-03 Thread Hollis Blanchard
On Tue, 2006-10-03 at 06:04 +0200, [EMAIL PROTECTED] wrote: > Selon Hollis Blanchard <[EMAIL PROTECTED]>: > > > > > On Mon, 02 Oct 2006 08:31:10 +0200, [EMAIL PROTECTED] said: > > > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > [...] > > > > > >I assume IA64 is similar here, and given that, a >

Re: Grub for ia64 - function descriptors

2006-10-02 Thread tgingold
Selon Hollis Blanchard <[EMAIL PROTECTED]>: > > On Mon, 02 Oct 2006 08:31:10 +0200, [EMAIL PROTECTED] said: > > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: [...] > > > > >I assume IA64 is similar here, and given that, a > > > > > module_jump function implemented in assembly by each architecture

Re: Grub for ia64 - function descriptors

2006-10-02 Thread Hollis Blanchard
On Mon, 02 Oct 2006 08:31:10 +0200, [EMAIL PROTECTED] said: > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > > > On Fri, 2006-09-29 at 08:59 +0200, [EMAIL PROTECTED] wrote: > > > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > > > > > > > On Thu, 2006-09-28 at 15:45 +0200, [EMAIL PROTECTED] wrot

Re: Grub for ia64 - function descriptors

2006-10-01 Thread tgingold
Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > On Fri, 2006-09-29 at 08:59 +0200, [EMAIL PROTECTED] wrote: > > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > > > > > On Thu, 2006-09-28 at 15:45 +0200, [EMAIL PROTECTED] wrote: > > > > > > > > if (grub_strcmp (name, "grub_mod_init") == 0

Re: Grub for ia64 - function descriptors

2006-09-29 Thread Hollis Blanchard
On Fri, 2006-09-29 at 08:59 +0200, [EMAIL PROTECTED] wrote: > Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > > > On Thu, 2006-09-28 at 15:45 +0200, [EMAIL PROTECTED] wrote: > > > > > > if (grub_strcmp (name, "grub_mod_init") == 0) > > > mod->init = (void (*) (grub_dl_t)) sym

Re: Grub for ia64 - function descriptors

2006-09-28 Thread tgingold
Quoting Hollis Blanchard <[EMAIL PROTECTED]>: > On Thu, 2006-09-28 at 15:45 +0200, [EMAIL PROTECTED] wrote: > > > > if (grub_strcmp (name, "grub_mod_init") == 0) > > mod->init = (void (*) (grub_dl_t)) sym->st_value; > > > > This won't work on ia64 AFAIK. > > Can't this proble

Re: Grub for ia64 - function descriptors

2006-09-28 Thread Hollis Blanchard
On Thu, 2006-09-28 at 15:45 +0200, [EMAIL PROTECTED] wrote: > > if (grub_strcmp (name, "grub_mod_init") == 0) > mod->init = (void (*) (grub_dl_t)) sym->st_value; > > This won't work on ia64 AFAIK. Can't this problem be solved with an architecture-specific macro? FWIW, 64-b

Re: Grub for ia64

2006-09-28 Thread tgingold
Quoting Marco Gerards <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] writes: > > >> Can you please explain why you want this in detail? I know there are > >> issues with EFI to determine the prefix. My guess is that is why you > >> want to change this. > > Yes. > > Please elaborate. The prefix is dete

Re: Grub for ia64

2006-09-28 Thread Marco Gerards
[EMAIL PROTECTED] writes: >> Can you please explain why you want this in detail? I know there are >> issues with EFI to determine the prefix. My guess is that is why you >> want to change this. > Yes. Please elaborate. >> But I am afraid this might not be a generic >> solution so I hope we ca

Re: Grub for ia64

2006-09-28 Thread Johan Rydberg
[EMAIL PROTECTED] writes: >> It is not possible to find similar integer division code in glibc for >> example? And why is this code needed at all, doesn't IA64 have >> division? > No, it doesn't have integer division. > >> If it doesn't, my gut feeling tells me that this should be >> in libgcc.

Re: Grub for ia64

2006-09-28 Thread tgingold
Quoting Marco Gerards <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] writes: > > Hi, > > > this is a port of grub2 to ia64. ia64 systems (itanium) are EFI based so > this > > port reuse existing EFI infrastructure. > > This is truly great, thanks a lot for doing this! :-) > > First of all, the same com

Re: Grub for ia64

2006-09-28 Thread tgingold
Quoting Johan Rydberg <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] writes: > > > this is a port of grub2 to ia64. ia64 systems (itanium) are EFI > > based so this port reuse existing EFI infrastructure. > > Thank you for offering this contribution. You're welcome! > First a few legal comments. I po

Re: Grub for ia64

2006-09-28 Thread Marco Gerards
Johan Rydberg <[EMAIL PROTECTED]> writes: > First a few legal comments. I poked through the patches, and it seems > that there are a few files that are copyrighted by Hewlett-Packard and > David Mosberger-Tang. All developers of GNU GRUB has agreed to sign > over their copyright to FSF, so brini

Re: Grub for ia64

2006-09-28 Thread Marco Gerards
[EMAIL PROTECTED] writes: Hi, > this is a port of grub2 to ia64. ia64 systems (itanium) are EFI based so this > port reuse existing EFI infrastructure. This is truly great, thanks a lot for doing this! :-) First of all, the same comment as for your other emails. Please use diff -up and inline

Re: Grub for ia64

2006-09-28 Thread Johan Rydberg
[EMAIL PROTECTED] writes: > this is a port of grub2 to ia64. ia64 systems (itanium) are EFI > based so this port reuse existing EFI infrastructure. Thank you for offering this contribution. First a few legal comments. I poked through the patches, and it seems that there are a few files that ar

Re: Grub for ia64

2006-09-28 Thread tgingold
Quoting "bibo,mao" <[EMAIL PROTECTED]>: > It is great!!!, I will test on my IA64 box tommorrow. And I have few minor > comments like this. >whether kern/ia64/efi/init.c can be common for all architectures of efi > platform, only grub_arch_sync_caches is different, this function can be > placed

Re: Grub for ia64

2006-09-28 Thread bibo,mao
It is great!!!, I will test on my IA64 box tommorrow. And I have few minor comments like this. whether kern/ia64/efi/init.c can be common for all architectures of efi platform, only grub_arch_sync_caches is different, this function can be placed on arch specific place. Function find_mmap_size