Re: [PATCH] Move ELF program header

2008-06-17 Thread Bean
On Wed, Jun 18, 2008 at 1:18 AM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-18 at 00:02 +0800, Bean wrote: >> >> Are you using the native compiler, or cross compile from i386 ? It >> >> could have some effect. >> > >> > I'm compiling natively on PowerPC. >> >> It could be an endian p

Re: [PATCH] Move ELF program header

2008-06-17 Thread Pavel Roskin
On Wed, 2008-06-18 at 00:02 +0800, Bean wrote: > >> Are you using the native compiler, or cross compile from i386 ? It > >> could have some effect. > > > > I'm compiling natively on PowerPC. > > It could be an endian problem. Check the elf header, see if the fields are ok. That's the headers, I d

Re: [PATCH] Move ELF program header

2008-06-17 Thread Bean
On Tue, Jun 17, 2008 at 11:55 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > On Tue, 2008-06-17 at 23:47 +0800, Bean wrote: >> On Tue, Jun 17, 2008 at 11:32 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: >> > The real OpenFirmware fails to recognize modules embedded into the image >> > by grub-mkimage.

Re: [PATCH] Move ELF program header

2008-06-17 Thread Pavel Roskin
On Tue, 2008-06-17 at 23:47 +0800, Bean wrote: > On Tue, Jun 17, 2008 at 11:32 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > > The real OpenFirmware fails to recognize modules embedded into the image > > by grub-mkimage. I remember I spent some time fixing it, but it's > > broken again. > > Hi, >

Re: [PATCH] Move ELF program header

2008-06-17 Thread Bean
On Tue, Jun 17, 2008 at 11:32 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > The real OpenFirmware fails to recognize modules embedded into the image > by grub-mkimage. I remember I spent some time fixing it, but it's > broken again. Hi, Are you using the native compiler, or cross compile from i3

Re: [PATCH] Move ELF program header

2008-06-17 Thread Pavel Roskin
On Tue, 2008-06-17 at 17:34 +0200, Robert Millan wrote: > On Tue, Jun 17, 2008 at 11:32:15AM -0400, Pavel Roskin wrote: > > > > The real OpenFirmware fails to recognize modules embedded into the image > > by grub-mkimage. I remember I spent some time fixing it, but it's > > broken again. > > Tha

Re: [PATCH] Move ELF program header

2008-06-17 Thread Robert Millan
On Tue, Jun 17, 2008 at 11:32:15AM -0400, Pavel Roskin wrote: > > The real OpenFirmware fails to recognize modules embedded into the image > by grub-mkimage. I remember I spent some time fixing it, but it's > broken again. That's strange, it does work on i386 with the "real" OpenFirmware (I thin

Re: [PATCH] Move ELF program header

2008-06-17 Thread Pavel Roskin
On Tue, 2008-06-17 at 17:17 +0200, Robert Millan wrote: > On Tue, Jun 17, 2008 at 10:21:43PM +0800, Bean wrote: > > > > Hi, > > > > Oh, this problem is caused by grub_ofconsole_setcursor. Open Hackware > > doesn't like the cursor-on call, if I comment it out, it will continue > > to run until the

Re: [PATCH] Move ELF program header

2008-06-17 Thread Bean
On Tue, Jun 17, 2008 at 11:17 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2008 at 10:21:43PM +0800, Bean wrote: >> >> Hi, >> >> Oh, this problem is caused by grub_ofconsole_setcursor. Open Hackware >> doesn't like the cursor-on call, if I comment it out, it will continue >> to ru

Re: [PATCH] Move ELF program header

2008-06-17 Thread Robert Millan
On Tue, Jun 17, 2008 at 10:21:43PM +0800, Bean wrote: > > Hi, > > Oh, this problem is caused by grub_ofconsole_setcursor. Open Hackware > doesn't like the cursor-on call, if I comment it out, it will continue > to run until the "out of memory" error. We could have a flag in kern/ieee1275/cmain.c

Re: [PATCH] Move ELF program header

2008-06-17 Thread Bean
On Mon, Jun 16, 2008 at 10:33 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > Quoting Bean <[EMAIL PROTECTED]>: > >> I see, you're using qemu to test ppc, maybe I can try it some time. Is >> the emulation good, how close to the real hardware ? > > qemu uses so called Open Hack'Ware, which doesn't hav

Re: [PATCH] Move ELF program header

2008-06-16 Thread Pavel Roskin
Quoting Bean <[EMAIL PROTECTED]>: I see, you're using qemu to test ppc, maybe I can try it some time. Is the emulation good, how close to the real hardware ? qemu uses so called Open Hack'Ware, which doesn't have proper terminal support for the menu and doesn't report available memory in the

Re: [PATCH] Move ELF program header

2008-06-16 Thread Bean
On Mon, Jun 16, 2008 at 1:40 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > On Sun, 2008-06-15 at 00:31 +0800, Bean wrote: > >> I test it with olpc and it works. I don't have ppc, would someone check it ? > > I could make CVS GRUB compile on PowerPC after removing floating point > code, but I could

Re: [PATCH] Move ELF program header

2008-06-15 Thread Pavel Roskin
On Sun, 2008-06-15 at 00:31 +0800, Bean wrote: > I test it with olpc and it works. I don't have ppc, would someone check it ? I could make CVS GRUB compile on PowerPC after removing floating point code, but I could not get the rescue image to boot in qemu, with or without the patch. I know that

Re: [PATCH] Move ELF program header

2008-06-14 Thread Bean
On Sat, Jun 14, 2008 at 7:37 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 03:08:44PM +0800, Bean wrote: >> On Mon, Jun 2, 2008 at 11:41 PM, Bean <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > This patch move the elf program header to the beginning, it should >> > solve the

Re: [PATCH] Move ELF program header

2008-06-14 Thread Robert Millan
On Fri, Jun 13, 2008 at 03:08:44PM +0800, Bean wrote: > On Mon, Jun 2, 2008 at 11:41 PM, Bean <[EMAIL PROTECTED]> wrote: > > Hi, > > > > This patch move the elf program header to the beginning, it should > > solve the problem with coreboot. > > > > -- > > Bean > > > > Any comment ? I don't have t

Re: [PATCH] Move ELF program header

2008-06-13 Thread Bean
On Mon, Jun 2, 2008 at 11:41 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > This patch move the elf program header to the beginning, it should > solve the problem with coreboot. > > -- > Bean > Any comment ? -- Bean ___ Grub-devel mailing list Grub-de