All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Florent" <flobo@iname.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: Newworld OF boot
Date: Tue, 02 Nov 1999 19:32:19 +0100	[thread overview]
Message-ID: <381f30fc381fe1d9@antholoma.wanadoo.fr> (raw)


Has anyone succeeded in booting newworld macintoshes (ie the iMac or the B&W
G3) using OF ?
I've looked at the mailing list archive and this topic has already been
discuted here, but as far as I read, there was no solution found.
Because I can't believe Apple has crippled OF for non-MacOS booting, I'm
sure there is a way to turn around.

Here is what I know and what I've tried :

- Quik doesn't works on newworld, but it is not the only way to boot under
OF.

- OF can load files from HFS, HFS+, iso9660, FAT... filesystems (included in
/packages)

- OF can execute at least ELF and XCOFF binaries.

- the root of a MacOS disk I can see under OF is the System folder. (I can
see that with "dir hd:,5\\", where 5 is the number of my MacOS partition)

- I can boot MacOS by typing "boot hd:,5\\Mac%20OS%20ROM".

- When I try "boot hd:,5\\vmlinux" (there is a linux kernel in my system
folder), the kernel is recognised as an elf binary, OF writes some
informations about it, but it fails and replies : CLAIM failed.

- I can sucessfuly load smaller ELF binaries without CLAIM errors.

Next, I've examined the MacOS ROM file (there is something about it at
http://developer.apple.com/technotes/tn/tn1167.html)
Just open it with a disk track editor or a text editor :

This file contains the following :

- An header with some informations and a forth boot script

- an ELF bootstraff code

- a MacOS ROM image.

The script seems to create and/or modify /rom/macos and
/rom/AAPL,toolbox-image,lzss. Then it loads the ELF code.
According to Apple, the ELF code (called Trampoline code) is specific to OF
and does the transition between OF and the ROM image.

I can successfuly run any Forth script loaded from the hard disk. This would
be a way to make a nice dual-boot menu.

In the past (before BootX), I used to boot LinuxPPC on a floppy where there
was an XCoff kernel (boot fd:\\vmlinux.coff). How can I compile an XCoff
kernel to try it ?

I've heard that FreeBSD is bootable under newworld's OF. Is the kernel an
ELF file, too ? Or is it like MacOS Rom file ?


--
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/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~1999-11-02 18:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-02 18:32 Florent [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-04 23:48 Re : Newworld OF boot Florent
1999-11-08 14:12 ` Benjamin Herrenschmidt
1999-11-02 18:32 Florent
1999-11-02 20:07 ` Takashi Oe
1999-11-02 20:24 ` David Edelsohn
1999-11-02 16:04   ` Troy Benjegerdes

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=381f30fc381fe1d9@antholoma.wanadoo.fr \
    --to=flobo@iname.com \
    --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 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.