Re: console colors

2005-05-10 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > Actually it's funny, I didn't even realize we were using the color > code... because I have seen no colors anywhere. Marco, does that do > anything for you? Colors are supported and used to draw the menu. One of the first things GRUB does is printin

Re: Fwd: memory probing

2005-05-10 Thread Douglas Wade Needham
First the northbridge/southbridge. Here is a pic.. ++ +--+ | CPU |--| L2 CACHE | ++ +--+ |

Re: Fwd: memory probing

2005-05-10 Thread alfred hitch
Hi Stefan, thanks for your reply, but I am still not very clear on how this is done by say bios on x86 plattforms, ? can u please expain in more detail abt this north bridge , south bridge thing .. ? I would like to try and recreate the same way of probing for our set up, may be its not that por

Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Hollis Blanchard
On May 10, 2005, at 1:11 PM, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: Also, this patch allows you to boot from the OF commandline, overriding the defaults. Example: boot enet:,grubof prefix=foo; debug=bar This looks like a nice feature to me, especially for development

Re: console colors

2005-05-10 Thread Hollis Blanchard
On May 10, 2005, at 2:59 PM, Paul Nasrat wrote: Loading ELF method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=ffbc6f80 phandle=ff848300 method not found; ihandle=

Re: non boot-device was Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Hollis Blanchard
On May 10, 2005, at 2:59 PM, Paul Nasrat wrote: Ignore the Default catch that seems to be resolved for me. Hmm, if you have any ideas, I'd still like to know how you got that error... Experimental toolchain? -Hollis ___ Grub-devel mailing list Grub-dev

Re: [ppc] [patch] more cleanups

2005-05-10 Thread Hollis Blanchard
On May 10, 2005, at 1:01 PM, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: --- include/grub/powerpc/ieee1275/kernel.h 4 Jan 2005 14:01:45 - 1.1 +++ include/grub/powerpc/ieee1275/kernel.h 10 May 2005 01:27:36 - @@ -21,6 +21,6 @@ #define GRUB_KERNEL_MACHINE_HEADER 1 /*

Re: non boot-device was Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Paul Nasrat
On Tue, 2005-05-10 at 20:16 +0200, Marco Gerards wrote: > Paul Nasrat <[EMAIL PROTECTED]> writes: > > > 0 > boot hd:2,\grubof.modules load-size=2e220 adler32=e04b6e6d > > What are load-size and adler32 used for? Don't you need a `;' here? > > > Loading ELF > > method not found; ihandle=ffbc6f8

Re: non boot-device was Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Paul Nasrat
On Tue, 2005-05-10 at 20:16 +0200, Marco Gerards wrote: > Paul Nasrat <[EMAIL PROTECTED]> writes: > > > 0 > boot hd:2,\grubof.modules load-size=2e220 adler32=e04b6e6d > > What are load-size and adler32 used for? Don't you need a `;' here? They were auto added to console by OF - not me. Hold on

Re: non boot-device was Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Marco Gerards
Paul Nasrat <[EMAIL PROTECTED]> writes: > 0 > boot hd:2,\grubof.modules load-size=2e220 adler32=e04b6e6d What are load-size and adler32 used for? Don't you need a `;' here? > Loading ELF > method not found; ihandle=ffbc6f80 phandle=ff848300 method > not found; ihandle=ffbc6f80 phandle=ff84830

Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > We're doing a lot of useless work in cmain(). Agreed. > Also, this patch allows you to boot from the OF commandline, overriding > the defaults. Example: > boot enet:,grubof prefix=foo; debug=bar This looks like a nice feature to me, especially

non boot-device was Re: [ppc] [patch] set environment from commandline

2005-05-10 Thread Paul Nasrat
On Mon, 2005-05-09 at 00:05 -0500, Hollis Blanchard wrote: > We're doing a lot of useless work in cmain(). > > Also, this patch allows you to boot from the OF commandline, overriding > the defaults. Example: > boot enet:,grubof prefix=foo; debug=bar I thought this might work if I'm using grub

Re: [ppc] [patch] more cleanups

2005-05-10 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > I've found a few more things that needed cleaning, so here is the > updated patch. I have tested it. It looks fine to me. I have a few questions: > (grub_ieee1275_next_property): Likewise. Change type of first argument > to grub_ieee127

Re: PPC executable name

2005-05-10 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > I'd like to rename the PPC executable from "grubof" to "grub". If > nothing else, it will avoid the question "is it grubof.cfg or > grub.cfg?". Thoughts? What I would prefer is _grub or so. To make clear it is not usable just like this. We don't wa

Re: PPC executable name

2005-05-10 Thread Nico -telmich- Schottelius
Hollis Blanchard [Sun, May 08, 2005 at 10:02:06PM -0500]: > I'd like to rename the PPC executable from "grubof" to "grub". If > nothing else, it will avoid the question "is it grubof.cfg or > grub.cfg?". Thoughts? grub.cfg, as a user I am not interesed it "oh there is openfirmware", but I simply

Re: Fwd: memory probing

2005-05-10 Thread Stefan Reinauer
* alfred hitch <[EMAIL PROTECTED]> [050510 12:23]: > anyways, how can u get this from processor also ? The processor has little to nothing to do with this.. it's dependent on the northbridge and southbridge. > I vaguely remember see'ing some code where someone on a i386 based > plattform but WIT

Re: Fwd: memory probing

2005-05-10 Thread alfred hitch
I agree with u, if there are holes and all in the area being scanned also with this fail ? anyways, how can u get this from processor also ? I vaguely remember see'ing some code where someone on a i386 based plattform but WITHOUT bios, used smbus protocol to talk to a device across PIIX4 to get

Re: Fwd: memory probing

2005-05-10 Thread Marco Gerards
"coly li" <[EMAIL PROTECTED]> writes: > write and verify means: you read the content from location X, and > change the value, then write back to location X; then re-read the > content from X, if the value is what you write, the location X is > valid; otherwise, maybe the location X is invalid. Th

Re: Re: Fwd: memory probing

2005-05-10 Thread coly li
alfred hitch: Bios can provide us a memory map table, for it knows the initial address space layout, why it knows, because bios itself does the initial mapping for address space. In a non-bios enviornment, we can't get the memory map table by calling bios service, so, we have to detect the siz

Re: Fwd: memory probing

2005-05-10 Thread alfred hitch
thanks, but what did u mean write and verify, I thhot grub depends heavilly on bios calls for all this .. Alfred On 5/10/05, coly li <[EMAIL PROTECTED]> wrote: > alfred hitch: > > It's not so easy to get the proper answer. it depends on your hardware. for > I'm not familiar with embedded envi

Re: Fwd: memory probing

2005-05-10 Thread coly li
alfred hitch: It's not so easy to get the proper answer. it depends on your hardware. for I'm not familiar with embedded enviornmnet, I can only give you some idea for x86 platform. you should know your memory address space layouts. which range is for other peripheral, which range is for real