From: Benjamin Herrenschmidt <bh40@calva.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: miBoot 1.0d3
Date: Mon, 20 Sep 1999 10:50:22 +0200 [thread overview]
Message-ID: <19990920105022.031160@mailhost.mipsys.com> (raw)
On Mon, Sep 20, 1999, Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
wrote:
>That would indeed be nice. FYI, Amiga-Lilo can boot AmigaOS, since we
>disasembled the ca. 20 bytes of code in the boot block.
With the current miBoot mecanism, we must either manage to have MacOS ROM
try another disk, or change the way miBoot works. The current scheme
initializes the file system and opens the fake System file. Changing to a
real MacOS System file on the fly would be very complex and dangerous. We
need the ROM to be able to close it and re-open a new boot volume.
Another solution would be to stuff miBoot in the bootblocs (a kind of
primary loader, which will itself load the remaning code _before_ the
file system is initialised. The initialisation is done in the bootblock
code). That means having some kind of "map" of the physical location of
the real boot file. I know how to build this map from MacOS but the trick
I use for this is not compatible with BlueBox (this may not be a problem
after all). I don't know if it's possible under Linux but I beleive it is.
Also, I could load this secondary bootstrap using direct SCSI or ATA
calls, but this may be difficult to fit in the bootblocks. The simplest
solution is to have them on the same HFS partition as the real System
file. This way, I can use simple PBReadSync from the root volume's driver.
More hacking next week end unless I find some spare time this week
(unprobable).
--
Perso. e-mail: <mailto:bh40@calva.net>
Work e-mail: <mailto:benh@mipsys.com>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~1999-09-20 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-20 8:50 Benjamin Herrenschmidt [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-09-18 23:45 miBoot 1.0d3 Benjamin Herrenschmidt
1999-09-20 7:26 ` Geert Uytterhoeven
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=19990920105022.031160@mailhost.mipsys.com \
--to=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).