Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Hollis Blanchard
On Jul 13, 2005, at 5:15 PM, Vincent Pelletier wrote: Marco Gerards wrote: For which reason? But if it should be more precise, it should be a grub_uint64_t. If the architecture give us a 32 bit number, we won't invent the remaining 32 bits... We don't invent them; they are 0. -Hollis _

ELF64 patch

2005-07-13 Thread Ruslan Nikolaev
Hi all! I'm developing free x86_64 (amd64) operation system now. I decided to make the kernel multiboot-complient and use grub2 as a boot loader. Of course I have some problems: 1. AMD64 processor require to enable paging and to fill page tables before entering long mode (64-bit mode

Re: [FILE] Tune generation tool

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Both are fine for me. Here it is. Merged everything in the c file to be cleaner. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1Zo2FEQoKRQyjtURAiZ1AJwKWv+yVysANtUG3+Z1cBwnzYCWUwCgsDH

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > For which reason? > > But if it should be more precise, it should be a grub_uint64_t. If the architecture give us a 32 bit number, we won't invent the remaining 32 bits... On the other hand, if the architecture give us 64 signi

Re: [FILE] Tune generation tool

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: >> I am not sure if it has to enter CVS, but I have no objections against >> it. Can you add the copyright header and copyright years before it is >> committed? > > Sure. Do I send a patch or the bare files ? > I'll also check the formatting guideline

Re: [PATCHv2] FIXME: These should be dynamically obtained from a terminal.

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Nice! I will test this on both the PPC boxes I have. I hope it works too. I haven't see any variable naming standard in the ieee1275 docs, so I'm afraid it won't find the variables. > This looks fine. Please remove the `:' af

Re: sparc64 port : diffs to powerpc branches

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: >> You did not load ext2 as a module, but linked it into the binary. >> I assume you did not use grub-mkimage yet... > > Oh, I thought you meant it was used to add them statically in grubof. No, this is how things work: At the moment you have grubof

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >> This change is not required. We can better leave it as it was. > > So you'll have not to apply a part of the first patch in this thread, > because this one fixes an error in grub emu because I changed a > prototype in the fir

Re: [FILE] Play command

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Cool! Won't it be nice to use a user readable fileformat? It is not > a requirement from my side, just a suggestion. :) It might require some [f|s]scanf function, and I don't think it is welcome in the core just because it is

Re: [FILE] Tune generation tool

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Perhaps `contrib/util/i386/' or so? Good idea. > I am not sure if it has to enter CVS, but I have no objections against > it. Can you add the copyright header and copyright years before it is > committed? Sure. Do I send a pa

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > Thanks a lot for your porting work, you are doing a great job! You > definitely set the world record GRUB porting. :) I would have been much slower without the whole working ppc port, as I had all the functions I needed. And it

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > This change is not required. We can better leave it as it was. So you'll have not to apply a part of the first patch in this thread, because this one fixes an error in grub emu because I changed a prototype in the first patch.

Re: sparc64 port : diffs to powerpc branches

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Gerards wrote: > In that case the usparc port needs a GRUB_IEEE1275_FLAG_... to > indicate it is not possible to change colors or that it works > differently. Good idea. > Perhaps... Can you put the bug report on the wiki so we will not > forg

Re: Apple partition map bug

2005-07-13 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: >> For listing disks and partitions you can use the ls command, IIRC. > > ls lists *all* the devices present. This output overflows the screen > and there is no scrollback. Hence, this is not useful to me. It seems I did not answer this email, or I nev

Re: [PATCHv2] FIXME: These should be dynamically obtained from a terminal.

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: > Vincent Pelletier wrote: >> Warning : terms other than console.c & vga.c will be broken by this >> patch, as long as they don't have the function. > > It's fixed in this patch for sparc64 port (see sparc_getwh.diff, which > is a diff between term/pow

Re: Ext2fs support bug

2005-07-13 Thread Marco Gerards
Serbinenko Vladimir <[EMAIL PROTECTED]> writes: > And from /home/vova/grub: > qemu -fda ./grub.img > And I recieve: > Welcome to GRUB > > unaligned pointer 0x7fef8 > > When I reformat my image file like fat and replace ext2 with fat it > works fine so I suppose it's ext2fs bug. There was a bug in

Re: [FILE] Tune generation tool

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, > Here is the source of a little tool to generate tunes for Grub 2 play > command. > Quick coded, could be more powerful but I'm not sure it's worth the work. > > I'm not sure if it should enter the cvs, too. And if it does, where ? Perha

Re: [FILE] Play command

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, > Here is the play command source code and some tunes. > I don't submit a patch since I'm not sure where it will (and where the > tunes will) go. Cool! Won't it be nice to use a user readable fileformat? It is not a requirement from my

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, Thanks a lot for your porting work, you are doing a great job! You definitely set the world record GRUB porting. :) Here are some comments on the patch. This patch can be applied after Hollis' patch, which will require some changes in y

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

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Marco Gerards
Vincent Pelletier <[EMAIL PROTECTED]> writes: Hi Vincent, > Something I forgot in previous patch : prototype change for grub_get_rtc > in utils/misc.c . This change is not required. We can better leave it as it was. Thanks, Marco ___ Grub-devel ma

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: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Something I forgot in previous patch : prototype change for grub_get_rtc in utils/misc.c . Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1NcTFEQoKRQyjtURAlWWAKC0HdHIZCfNqjbl2j685m2hI8o5XwCgnI1Y /qedbKjsWGY6

[PATCHv2] FIXME: These should be dynamically obtained from a terminal.

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent Pelletier wrote: > Warning : terms other than console.c & vga.c will be broken by this > patch, as long as they don't have the function. It's fixed in this patch for sparc64 port (see sparc_getwh.diff, which is a diff between term/powerpc and

Re: [PATCH] sparc64 (common & specific files)

2005-07-13 Thread Vincent Pelletier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent Pelletier wrote: One more sparc64 specific file. Now that the configure file has been updated on the server, the changes are more visible. Vincent Pelletier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1MQcFEQoKRQyj