PPC Port
Hi,
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
- After the configure test the endian in config.h is not correct, you need to manually correct this after running configure.
- There is some problem with linking, for some weird reason only cross compiling works for me.
- It allocates memory that should not be allocated. (resulting in a crash in some cases).
- There is no loader yet. I have written a linux loader, but it is far from done.
- Some things in the firmware are not clear to me yet. I marked those with XXX.
- Modules.
But there is a lot that does work. And that is just as important:
- Johan's ieee1275 functions.
- Accessing the disks like "cd", "hd" "ultra0", etc. Just by using aliases instead of stupid device paths. :)
- Apple partition support.
- Console support (Capable of displaying the menu).
If someone has a question about this port, please ask me. Unfortunately I won't have much time for GRUB hacking next months because I'm quite busy with some other projects. Do not worry, I will come back and implement all missing features and every required feature one can think of. :)
Thanks,
Marco
Quoted 3 lines · Marco Gerards
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
Something I forgot to mention in this last mail was that I have committed all my patches now. From my side it is ok to change all "pupa_" prefixes to "grub_".
--
Marco
Quoted 3 lines · Marco Gerards
Something I forgot to mention in this last mail was that I have committed all my patches now. From my side it is ok to change all "
pupa_" prefixes to "grub_".
So I sent a request to Savannah hackers.
Okuji
Quoted 6 lines · Yoshinori K. Okuji
Quoted 3 lines · Marco Gerards
Something I forgot to mention in this last mail was that I have committed all my patches now. From my side it is ok to change all "
pupa_" prefixes to "grub_".So I sent a request to Savannah hackers.
Sylvain renamed files, and I renamed symbols. I think I did correctly, but if you find any problem, let me know.
Okuji
Quoted 6 lines · Marco Gerards
Hi,
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
What configuration of gcc and binutils do I need to compile it?
Quoted 1 line
- Johan's ieee1275 functions.
Why is all the ieee1272 code under "powerpc" directories? ieee1272 is not PPC specific.
Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), ANL, RESPECT, Leeds SA, Leeds Anti-war coalition No to software patents! No to DRM/EUCD - hands off our computers!
Quoted 4 lines · Timothy Baldwin
Quoted 1 line
- Johan's ieee1275 functions.
Why is all the ieee1272 code under "powerpc" directories? ieee1272 is not PPC specific.
I agree. IEEE1275-1994 specific code should go in an extra directory. But this is probably not going to be special if Grub2 wants to become portable to a large number of platforms.
What about creating a directory "firmware" which contains several firmware backend interfaces. Thus might be: IEEE1275-1994 (Open Firmware), EFI, ARC, ...
EFI is already used by some x86 machines, and it's the only firmware available for IPF. ARC has been used on Alpha and Mips machines. Open Firmware is available for basically all platforms, the most wide spread are sparc and ppc.
Stefan
Quoted 6 lines · Marco Gerards
Hi,
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
What configuration of gcc and binutils do I need to compile it?
Quoted 1 line
- Johan's ieee1275 functions.
Why is all the ieee1272 code under "powerpc" directories? ieee1272 is not PPC specific.
Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), ANL, RESPECT, Leeds SA, Leeds Anti-war coalition No to software patents! No to DRM/EUCD - hands off our computers!
Quoted 9 lines · Timothy Baldwin
Quoted 6 lines · Marco Gerards
Hi,
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
What configuration of gcc and binutils do I need to compile it?
I am using gcc 3.2.3. I do not know about the binutils version, I can't check that right now.
Quoted 2 lines
Why is all the ieee1272 code under "powerpc" directories? ieee1272 is not PPC specific.
For now it is quite dependent on the new world apple. I wouldn't be surprised even if it only worked on my laptop. ;)
Of course this needs to be changed to work for other architectures as well. There is not much free documentation around so I am happy I came this far. If you want to help with other ports, that would be great.
--
Marco
Quoted 6 lines · Marco Gerards
Hi,
Some minutes ago I've committed the PPC port of GRUB 2. It is not completely done yet, this mail is to describe some bugs and short comings of it.
What configuration of gcc and binutils do I need to compile it?
Quoted 1 line
- Johan's ieee1275 functions.
Why is all the ieee1272 code under "powerpc" directories? ieee1272 is not PPC specific.
Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), ANL, RESPECT, Leeds SA, Leeds Anti-war coalition No to software patents! No to DRM/EUCD - hands off our computers!