Re: [PATCH] Fix build of sparc64 port & implement setjmp/longjmp

2007-03-04 Thread Hollis Blanchard
On Sun, 2007-03-04 at 16:14 +0100, Vincent Pelletier wrote: > Hi. > > Here is a (mostly) maintainance patch for sparc64 port. > It only fixes the build and implements setjmp/longjmp so that one can jump to > rescue mode. It looks like you also introduce new ELF relocations,

[PATCH] Fix build of sparc64 port & implement setjmp/longjmp

2007-03-04 Thread Vincent Pelletier
Hi. Here is a (mostly) maintainance patch for sparc64 port. It only fixes the build and implements setjmp/longjmp so that one can jump to rescue mode. It also builds the linux loader module, but the boot is known to fail on my box (some disk access error at OF level when reading the linux

Re: sparc64 port

2005-08-20 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Please start sentences with an uppercase letter, same for the other > entries. Oops. > Some files are not GPL'ed (cache.c, for example). The copyright years > are not always correct, like that of ieee1275.h (you wrote it, so i

Re: sparc64 port

2005-08-20 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, This is really nice! Thanks a lot. You asked me on IRC if I can test if it still builds on the PPC. I will test that (and let you know on IRC), after that you can commit the patch if you fix the things I mention in my email and Okuji me

Re: sparc64 port

2005-08-20 Thread Yoshinori K. Okuji
Go ahead. I don't see anything wrong any more. Okuji ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: sparc64 port

2005-08-20 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yoshinori K. Okuji wrote: > On Saturday 20 August 2005 13:40, Vincent Pelletier wrote: >> * boot/sparc64/ieee1275/cmain.c: New file. > This is wrong. Corrected. >> * kern/sparc64/cache.c: New file. > The contents of this file is strange. W

Re: sparc64 port

2005-08-20 Thread Yoshinori K. Okuji
On Saturday 20 August 2005 13:40, Vincent Pelletier wrote: > * boot/sparc64/ieee1275/cmain.c: New file. This is wrong. I guess you just followed the powerpc port, but it is also wrong. Instead, this file must be put in the kernel. The directory boot is used to organize files for the bootst

sparc64 port

2005-08-20 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I fixed the sparc64 port. Current status is : rescue mode works, it can only be netbooted, no module support, no utils (grub-emu, grub-install,...) I separate the Changelog in 2 parts, one for the changes I made that could interfere with the other

Re: sparc64 port : diffs to powerpc branches

2005-07-13 Thread Marco Gerards
or ieee1275 common files. > - Apply the general patchs I sent (so we have a clean status to add the > sparc64 port, like grub_get_rtc prototype change, the already-applied > mm.c patch to correct behaviour on 64 bits archs, ...) > - Finally apply the sparc64 specific adds (should be only

Re: sparc64 port : diffs to powerpc branches

2005-07-13 Thread Vincent Pelletier
meant it was used to add them statically in grubof. > Ok, cool. I am looking forwards to that patch. I think patches should be applied in this order : - - Apply file moving patch for ieee1275 common files. - - Apply the general patchs I sent (so we have a clean status to add the sparc64

Re: sparc64 port : diffs to powerpc branches

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> This is an important test. Please do not remove it so this code can >> be shared. Just make sure GRUB_IEEE1275_FLAG_NO_PARTITION_0 is set or >> not set, depending on how OB works. > > No problem, I removed it to show that it

Re: sparc64 port : diffs to powerpc branches

2005-07-12 Thread Hollis Blanchard
On Jul 12, 2005, at 1:46 PM, Vincent Pelletier wrote: Hi. Here are the diffs powerpc -> usparc, with some comments below. To be used to know which files can be made common. I will see about moving the easily shared files. boot: cmain renamed in _start (no asm). Sparc will need to provide it

Re: sparc64 port : diffs to powerpc branches

2005-07-12 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > This is an important test. Please do not remove it so this code can > be shared. Just make sure GRUB_IEEE1275_FLAG_NO_PARTITION_0 is set or > not set, depending on how OB works. No problem, I removed it to show that it isn't n

Re: sparc64 port : diffs to powerpc branches

2005-07-12 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, > Here are the diffs powerpc -> usparc, with some comments below. > To be used to know which files can be made common. Nice! > All the ieee1275 functions use the grub_intn_t type (see includes). So this can be shared. > Add explicit ca