Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 12:07:57PM +0100, Marco Gerards wrote: > Pavel Roskin <[EMAIL PROTECTED]> writes: > > Hi, > > [...] > > > ChangeLog: > > > > * include/grub/ieee1275/ieee1275.h: Introduce a flag for > > broken color support, needed for Open Hack'Ware. > > * kern/po

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-23 Thread Marco Gerards
Pavel Roskin <[EMAIL PROTECTED]> writes: Hi, [...] > ChangeLog: > > * include/grub/ieee1275/ieee1275.h: Introduce a flag for > broken color support, needed for Open Hack'Ware. > * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): > Recognize Open Hack'Wa

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-18 Thread Robert Millan
On Fri, Jan 18, 2008 at 12:07:31AM -0500, Pavel Roskin wrote: > > On Wed, 2008-01-16 at 23:51 +0100, Robert Millan wrote: > > On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote: > > > > > > It seems to me that Linux uses "#size-cells" and "#address-cells" (see > > > drivers/of/base.c an

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-17 Thread Pavel Roskin
On Wed, 2008-01-16 at 23:51 +0100, Robert Millan wrote: > On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote: > > > > It seems to me that Linux uses "#size-cells" and "#address-cells" (see > > drivers/of/base.c and arch/powerpc/kernel/prom_parse.c) > > We use "#size-cells" and "#addres

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote: > > It seems to me that Linux uses "#size-cells" and "#address-cells" (see > drivers/of/base.c and arch/powerpc/kernel/prom_parse.c) We use "#size-cells" and "#address-cells" too, but they aren't useful by themselves. They describe th

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Pavel Roskin
On Wed, 2008-01-16 at 20:33 +0100, Robert Millan wrote: > On Wed, Jan 16, 2008 at 01:22:48PM -0500, Pavel Roskin wrote: > > > > I guess the simplest approach would be to assume that we have a certain > > amount of memory that would be enough for GRUB. > > What a mess. What does Linux do? They h

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 01:22:48PM -0500, Pavel Roskin wrote: > > On Wed, 2008-01-16 at 11:40 +0100, Robert Millan wrote: > > On Wed, Jan 16, 2008 at 03:19:49AM -0500, Pavel Roskin wrote: > > > > > > The unresolved problem is that the "/memory/available" property is not > > > available. I get

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Pavel Roskin
On Wed, 2008-01-16 at 11:40 +0100, Robert Millan wrote: > On Wed, Jan 16, 2008 at 03:19:49AM -0500, Pavel Roskin wrote: > > > > The unresolved problem is that the "/memory/available" property is not > > available. I get the "grub rescue" prompt, but all commands fail with > > "out of memory"

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 03:19:49AM -0500, Pavel Roskin wrote: > > The unresolved problem is that the "/memory/available" property is not > available. I get the "grub rescue" prompt, but all commands fail with > "out of memory". Does this mean all memory is ours to deal with as pleased? :-)

[PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Pavel Roskin
Hello! I'm very close to being able to run GRUB2 on an emulated PowerPC machine. I haven't tried cross compiling. I compile GRUB on a PowerPC system and run it there under qemu. This saves time, as it allows to avoid lengthy reboots. Only the latest qemu 0.9.1 appears to be working wit