linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Florent" <flobo@iname.com>
To: Benjamin Herrenschmidt <bh40@calva.net>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re : Newworld OF boot
Date: Thu, 11 Nov 1999 05:48:24 +0100	[thread overview]
Message-ID: <382a4a48382aafdc@villosa.wanadoo.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

> Marius Vollmer recently released "poof", an OF bootloader for NewWorld
> that apparently can read the kernel from ext2. I didn't test it nor I
> remember the URL, but a search on the linuxppc-usr mailing list archive
> should work.

Poof loads and boots perfectly on BlueG3, so it seems there's nothing more
to do.
It doesn't read the kernel from ext2 but from an OF-readable disk, or the
kernel may be included in poof's file.

> I think the new OF actually _can_ do raw block i/o since MacOS X Server
> bootloader will load and link the kernel from an UFS partition (which is
> obviously not supported by OF natively). I suggest you look at Darwin's
> SecondaryLoader source code on publicsource.apple.com. It contains a
> bunch of OF calls from the C code, some of them may give you some light
> on the matter.

It seems that the modified secondary quik bootloader doesn't really crashes
when using OF for raw disk access but in the middle of ext2fs'partition
opening code. And MacOS X server bootloader loads the kernel from the UFS
partition (even if the bootloader is on an HFS partition). But where is
Darwin's SecondaryLoader source code ? I've downloaded all Darwin files
containing the word "loader" but it doesn't seems to be here...

I have included an os chooser written in Forth that works with poof (you
must first install it). It's written for my configuration but it should be
easy to adapt since it's plain text and there is nothing else to do than
changing the partition numbers (and erase MacOS X from the list for those
who don't have it) To use it, you must first install poof, then copy
blueboot into an OF readable folder (like MacOS System Folder) and then
change the boot device (setenv boot-device hd:X,\\blueboot  where X is the
partition number containing blueboot, usually 5 if you put it into your
MacOS System folder).


--
Il est maintenant temps de clore votre connection et de reprendre une vie
normale.
Mon e-mail : FloBo@iName.com (Florent Boudet)
Mon e-mail secondaire : FloBo@Rocketmail.com (je ne le regarde jamais)
Mon QG : http://www.multimania.com/flobo/

[-- Attachment #2: blueboot --]
[-- Type: text/plain, Size: 1984 bytes --]

<CHRP-BOOT>\r<COMPATIBLE>\riMac,1 PowerMac1,1 PowerBook1,1\r</COMPATIBLE>\r<DESCRIPTION>\rMacROM for NewWorld.\r</DESCRIPTION>\r<BOOT-SCRIPT>\r: gotoscr " dev screen" evaluate ;\rgotoscr\r: crrr\r"     " swap dup 0a swap 0d swap 2! swap write drop\r"     " swap dup 0d swap 0a swap 2! swap write drop ;\r: clearrr "     " swap dup 0c swap 0c swap 2! swap write drop ;\r: printff write drop ;\r: macosxboot " boot hd:6,\\:tbxi" evaluate ;\r: linboot " boot hd:5,\\poof boot hd:5,\\vmlinux root=/dev/hda10 video=aty128fb;single" evaluate ;\r: macosboot " boot hd:5,\\:tbxi" evaluate ;\rcrrr\rcrrr\rcrrr\rcrrr "   ***************************************" printff\rcrrr "   *         Welcome to BlueBoot         *" printff\rcrrr "   *         ___________________         *" printff\rcrrr "   *                                     *" printff\rcrrr "   *                                     *" printff\rcrrr "   *          (M) MacOS 8.6              *" printff\rcrrr "   *          (X) MacOS X Server         *" printff\rcrrr "   *          (L) Linux                  *" printff\rcrrr "   *          (O) OpenFirmware           *" printff\rcrrr "   *                                     *" printff\rcrrr "   * Please press M-X-L-O to boot an OS  *" printff\rcrrr "   ***************************************" printff\rcrrr\rcrrr\rcrrr "                   ********************************************" printff\rcrrr "                   *   (c) the BlueBoot Team                  *" printff\rcrrr "                   *            FloBo and Jeko                *" printff\rcrrr "                   *                                          *" printff\rcrrr "                   *                    BlueBoot@iFrance.com  *" printff\rcrrr "                   ********************************************" printff\rkey dup dup\r6c = if ." Booting Linux..." cr linboot then\r6d = if ." Booting MacOS..." cr macosboot then\r78 = if ." Booting MacOS X Server..." cr macosxboot then\rcr ." end of BOOT-SCRIPT"\rclearrr\r</BOOT-SCRIPT>\r</CHRP-BOOT>\r

             reply	other threads:[~1999-11-11  4:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-11  4:48 Florent [this message]
1999-11-11 15:47 ` Re : Newworld OF boot David Edelsohn
1999-11-11 16:01   ` Ethan Benson
1999-11-11 16:06     ` David Edelsohn
1999-11-11 16:13       ` Ethan Benson
1999-11-12 13:03       ` Gabriel Paubert
  -- strict thread matches above, loose matches on Subject: below --
1999-11-04 23:48 Florent

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=382a4a48382aafdc@villosa.wanadoo.fr \
    --to=flobo@iname.com \
    --cc=bh40@calva.net \
    --cc=linuxppc-dev@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).