Re: common ieee1275 code

2005-07-18 Thread Hollis Blanchard
On Jul 18, 2005, at 1:19 PM, Marco Gerards wrote: Hollis Blanchard <[EMAIL PROTECTED]> writes: I did update the patch slightly (attached). If this is acceptable, please check in the patch for me, as I will be travelling for a couple weeks and it will be difficult to work on GRUB during this ti

Re: common ieee1275 code

2005-07-18 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > I did update the patch slightly (attached). If this is acceptable, > please check in the patch for me, as I will be travelling for a couple > weeks and it will be difficult to work on GRUB during this time. If it > is not acceptable, please fix it for

Re: common ieee1275 code

2005-07-16 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hollis Blanchard wrote: > AFAIK all PPC implementations use "reset-all" to reboot, so until we > know of another command used by some other PPC firmware, no flag is needed. We could even (dirty inside !) call sequeltnailly al the methods. As they are

Re: common ieee1275 code

2005-07-16 Thread Hollis Blanchard
On Jul 16, 2005, at 2:45 PM, Marco Gerards wrote: Vincent Pelletier <[EMAIL PROTECTED]> writes: Reboot is "reset-all" too, and shutdown is "power-off" (from OB v3 documentation). Tested on U1, U10, Sun blade 150. Maybe could these be set with #define. It should be detected run-time, I think.

Re: common ieee1275 code

2005-07-16 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: > Reboot is "reset-all" too, and shutdown is "power-off" (from OB v3 > documentation). Tested on U1, U10, Sun blade 150. > Maybe could these be set with #define. It should be detected run-time, I think. For example there are multiple Open Firmware im

Re: common ieee1275 code

2005-07-14 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hollis Blanchard wrote: > "reboot" and "halt" commands are not specified by IEEE1275, so vary by > implementation. For example, although "reset-all" works on both Mac and > pSeries, "shut-down" doesn't work on pSeries. The odds of OpenBoot > diverging

Re: common ieee1275 code

2005-07-14 Thread Hollis Blanchard
On Jul 14, 2005, at 4:55 AM, Marco Gerards wrote: I will note that one related file is still left: kern/powerpc/ieee1275/openfw.c. That file contains some PowerPC-specific code, such as grub_map, grub_reboot, and grub_halt. However, it also contains code that I think will be generally useful, suc

Re: common ieee1275 code

2005-07-14 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > I did update the patch slightly (attached). If this is acceptable, > please check in the patch for me, as I will be travelling for a couple > weeks and it will be difficult to work on GRUB during this time. If it > is not acceptable, please fix it for

Re: common ieee1275 code

2005-07-13 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: > This patch is loosely based on Vincent's Sparc patches. It changes the > IEEE1275 code to use a new type, grub_ieee1275_cell_t. This is > necessary because OpenBoot on Sparc requires the cell size to be 64 > bits, while Open Firmware on PowerPC requir