All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Linux loader for the PPC
Date: Tue, 27 Jul 2004 20:06:23 +0200	[thread overview]
Message-ID: <87n01lwcio.fsf@marco.marco-g.com> (raw)
In-Reply-To: <87n023rgd9.fsf@marco.marco-g.com> (Marco Gerards's message of "Tue, 13 Jul 2004 19:01:22 +0200")

Marco Gerards <metgerards@student.han.nl> writes:

> Here is, as promised, the linux loader for the PPC.  Just like Tomas
> did for the PC, I made the loader accessible from both rescue mode and
> normal mode.  There is just one bug in this code, when a kernel is
> loaded it is not possible to load another kernel (which should replace
> the previous loaded kernel).  I think that problem is caused by a bug
> elsewhere in GRUB 2.  

I just committed this (Better late then never ;)).

I did not commit hfs support yet because I want to finish hfs+ support
first.  Unless someone has a good reason for me to commit it now.
This can take quite a while before I will finish it.

So now GRUB 2 can be used to boot GNU/Linux on the open firmware PPCs.

If I am not mistaken, Maurizio is working on module loaded for this
port (what is the status, btw?).  Hopefully soon I will find the time
to finish the interface so it becomes easy to use GRUB 2.  The last
important missing feature is a loader for macos.  And we will need
multiboot support, of course.

I really hope anyone reading this with a PPC will test this code and
tell me which features are missing.  If there is any mac/ppc specific
feature that is not implemented or mentioned that will most likely
mean it will not be implemented.  So don't be shy and tell me what you
need.

And to make it ready for production usage someday, GRUB 2 on the PPC
needs to be tested.  You can do that by following these steps (a=disk,
b=network):

1) Make a CVS checkout of GRUB 2.

2) ./configure && make

3a) Copy grubof to your HFS[+] boot partition.  This is the same
    partition yaboot uses.

3b) Copy grubof to your tftp directory.  Setup bootp to load this
    kernel.

4a) Boot your mac into the open firmware console and boot the grubof
    ELF.
4b) Boot from network.

5)  GRUB is started.  You can load and boot GNU/Linux using (for example):

linux (hd,10)/vmlinux root=/dev/hda11
boot

6)  Or instead of booting just play a bit.  Try to access files and
    find bugs. :)

Please send me a report if this does or doesn't work for you.  What
went wrong, etc.  It would be useful for me to hear what kind of
machine you were using.

Thanks,
Marco




      parent reply	other threads:[~2004-07-27 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 17:01 Linux loader for the PPC Marco Gerards
2004-07-13 17:55 ` Jeroen Dekkers
2004-07-13 19:03   ` Marco Gerards
2004-07-13 21:51     ` Jeroen Dekkers
2004-07-13 22:38       ` Marco Gerards
2004-07-27 18:06 ` Marco Gerards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87n01lwcio.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.