A ready to run GRUB2 boot loader for the Genesi ODW ?
ALL :
http://www.blastware.org/grub2/
I put this page together such that people working on the PowerPC
port can focus on more interesting things like the hardware address translation and the memory management layer. This boot loader seems to work but I may be a few rev's behind already. If anyone has an Genesi ODW unit ( https://www.pegasosppc.com/blastwareodw.php ) then please feel free to test this and let me know your thoughts.
I built this on Fedora Core 4 and created my own tool chain before
hand. I was going to go through a complete Linux from Scratch process but got bogged down in other work.
Dennis Clarke
Quoted 1 line · Dennis Clarke
Looks helpful. :) Is there a particular reason you chose not to use the GRUB wiki? It doesn't look like this information is OpenSolaris-specific...
That reminds me, how are you booting OpenSolaris using GRUB2 on PPC? With the "linux" loader?
Quoted 3 lines
I put this page together such that people working on the PowerPC port can focus on more interesting things like the hardware address translation and the memory management layer.
I'm actually not sure what you mean by "hardware address translation and the memory management layer"... could you elaborate?
From the page:
Quoted 4 lines
PLEASE TAKE NOTE : You may choose to suspend GRUB2 in order to drop to the firmware however you will need to warm boot your system as you can not yet get back to the GRUB2 prompt. This may be a flaw in the Pegasos2 firmware or the GRUB2 code.
This is a bug in Pegasos firmware. Genesi was notified a while back but I haven't heard anything about a fix. In the meantime, you might be able to run "resume" instead of "go" to get back.
If that does work, you could implement a patch that detects you're running on CodeGen firmware (the original author) and sets a quirk/feature bit, then output a different message in the suspend command. I believe we already detect CodeGen firmware to work around a bug I found on the briQ, so you would have an example to work from...
-Hollis
Quoted 5 lines · Hollis Blanchard
Quoted 1 line · Dennis Clarke
Looks helpful. :) Is there a particular reason you chose not to use the GRUB wiki?
I didn't know it existed.
Quoted 1 line
It doesn't look like this information is OpenSolaris-specific...
One of the many joys of GRUB2 is that it isn't specific to anything really. But I am guessing. Maybe it could never work on ARM or a Dec Alpha but I don't see why not.
Quoted 2 lines
That reminds me, how are you booting OpenSolaris using GRUB2 on PPC? With the "linux" loader?
No .. booting OpenSolaris with GRUB2. But that stage is being worked on.
Quoted 6 lines
Quoted 3 lines
I put this page together such that people working on the PowerPC port can focus on more interesting things like the hardware address translation and the memory management layer.
I'm actually not sure what you mean by "hardware address translation and the memory management layer"... could you elaborate?
Actually .. not really. :-(
I wish I could. Really it comes down to the handling of pages of memory and how they relate to actual physical memory in the machine and the address translation that must happen between extended virtual memory and real physical memory. This is the venue of the uts code for the kernel. We are currently looking at the architecture specific modules that will be needed and quite frankly, a complete architecture plan.
http://www.blastwave.org/dclarke/grub/MMU.png
Quoted 9 lines
From the page:
Quoted 4 lines
PLEASE TAKE NOTE : You may choose to suspend GRUB2 in order to drop to the firmware however you will need to warm boot your system as you can not yet get back to the GRUB2 prompt. This may be a flaw in the Pegasos2 firmware or the GRUB2 code.
This is a bug in Pegasos firmware. Genesi was notified a while back but I haven't heard anything about a fix. In the meantime, you might be able to run "resume" instead of "go" to get back.
ah .. I will give that a try. Thank you !
Quoted 5 lines
If that does work, you could implement a patch that detects you're running on CodeGen firmware (the original author) and sets a quirk/feature bit, then output a different message in the suspend command. I believe we already detect CodeGen firmware to work around a bug I found on the briQ, so you would have an example to work from...
Let me look into that also.
Dennis
Quoted 4 lines · Dennis Clarke
Quoted 2 lines
Looks helpful. :) Is there a particular reason you chose not to use the GRUB wiki?
I didn't know it existed.
Oh, well, yes: http://grub.enbug.org . It's linked to from the main GRUB web pages in a few places.
Quoted 4 lines
Quoted 2 lines
That reminds me, how are you booting OpenSolaris using GRUB2 on PPC? With the "linux" loader?
No .. booting OpenSolaris with GRUB2. But that stage is being worked on.
I'm guessing you mean you're booting OpenSolaris with yaboot? If that's the case, the GRUB "linux" loader has a good chance of working as well.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
I put this page together such that people working on the PowerPC port can focus on more interesting things like the hardware address translation and the memory management layer.
I'm actually not sure what you mean by "hardware address translation and the memory management layer"... could you elaborate?
Actually .. not really. :-(
Ohhh, I'm sorry. I thought you were talking about the *GRUB* PowerPC people (this being a GRUB list and all :). But I see now you were talking about Solaris PowerPC people. That makes much more sense. :)
Quoted 1 line
Quoted 1 line
If that does work, you could implement a patch that detects you're running
on
Quoted 6 lines
Quoted 4 lines
CodeGen firmware (the original author) and sets a quirk/feature bit, then output a different message in the suspend command. I believe we already detect CodeGen firmware to work around a bug I found on the briQ, so you would have an example to work from...
Let me look into that also.
Cool. FYI: you are also on the hook to fix the ASCII art menu border drawing on PPC. I have not forgotten you said you were working on that... :)
-Hollis
Quoted 8 lines · Hollis Blanchard
Quoted 4 lines · Dennis Clarke
Quoted 2 lines
Looks helpful. :) Is there a particular reason you chose not to use the GRUB wiki?
I didn't know it existed.
Oh, well, yes: http://grub.enbug.org . It's linked to from the main GRUB web pages in a few places.
OKay .. I'll go look at that. Thanks.
Quoted 8 lines
<snippage>
Quoted 3 lines
Quoted 1 line
the memory management layer"... could you elaborate?
Actually .. not really. :-(
Ohhh, I'm sorry. I thought you were talking about the *GRUB* PowerPC people (this being a GRUB list and all :). But I see now you were talking about Solaris PowerPC people. That makes much more sense. :)
Yeah .. sorry again. I will be saying sorry a lot it seems as I stumble forward.
Quoted 11 lines
Quoted 1 line
Quoted 1 line
If that does work, you could implement a patch that detects you're running
on
Quoted 6 lines
Quoted 4 lines
CodeGen firmware (the original author) and sets a quirk/feature bit, then output a different message in the suspend command. I believe we already detect CodeGen firmware to work around a bug I found on the briQ, so you would have an example to work from...
Let me look into that also.
Cool. FYI: you are also on the hook to fix the ASCII art menu border drawing on PPC. I have not forgotten you said you were working on that... :)
[ yank !! ]
oh oh .. oooh .. I'm hooked like a fish !
Just as soon as I have an image to show the world I will do so .. I certainly hope that good ol'fashioned ASCII art is okay.
Dennis
Quoted 3 lines · Dennis Clarke
One of the many joys of GRUB2 is that it isn't specific to anything really. But I am guessing. Maybe it could never work on ARM or a Dec Alpha but I don't see why not.
It *does* work on ARM, though the needed changes aren't in the CVS yet. The only firmware supported so far is RISC OS. I've thought about using the Linux kexec system call, and standalone and Windows CE ports.
Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC No to software patents! Victory to the iraqi resistance!
Quoted 7 lines · Dennis Clarke
ALL :
http://www.blastware.org/grub2/
I put this page together such that people working on the PowerPC
port can focus on more interesting things like the hardware address translation and the memory management layer.
I assume you are refering to the PowerPC port of OpenSolaris. Since this is the GRUB2 list, "the PowerPC port" refers to the PowerPC port of GRUB.
Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC No to software patents! Victory to the iraqi resistance!