9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "David Leimbach" <leimy2k@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 on MacBook?
Date: Thu, 17 Jul 2008 09:19:58 -0700	[thread overview]
Message-ID: <3e1162e60807170919h309b4137t305a1aea89531f8b@mail.gmail.com> (raw)
In-Reply-To: <20080717093212.GA3905@dinah>

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

On Thu, Jul 17, 2008 at 2:32 AM, Anthony Martin <ality@pbrane.org> wrote:

> > I now have a more-or-less unused MacBook. I'm
> > considering spending some time trying to get Plan 9
> > working on it. Has anyone gotten beyond confirming
> > that it won't work out of the box?
>
> I have Plan 9 booting on an Intel Macbook. When I was
> first testing it out, there were problems with the
> SATA driver but Erik fixed those and it works fine
> now. The only change that you'll have to make is in
> the keyboard initialization for both the kernel and
> 9load.
>

Using boot camp I presume?  So you have a BIOS.  That or someone did EFI
support under the radar (which might still be cool even though it sucks).


>
> Add the following at the beginning of these functions:
>        /sys/src/9/pc/kbd.c:/^kbdinit
>        /sys/src/boot/pc/kbd.c:/^i8042init
>
> +        c = inb(Status);
> +        if(c & Rtimeout){
> +                print("no keyboard present\n");
> +                return;
> +        }
>
> Oh, and you're going to need to supply a plan9.ini
> with sufficient parameters since you don't have
> keyboard input until you can run usb/kb.
>
> If I get some time on Saturday, I'll post a write-
> up on how to bootstrap the system using a spare
> partition on the Mac.
>
> Also, I started an ethernet driver for the Yukon 2
> chip that's in the Macbook. I had to put it aside
> for a while but I'm slowly getting back into it.
>
> Anthony
>
>

[-- Attachment #2: Type: text/html, Size: 2277 bytes --]

  parent reply	other threads:[~2008-07-17 16:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17  2:30 a
2008-07-17  2:35 ` Pietro Gagliardi
2008-07-17  2:40   ` a
2008-07-17  2:47     ` Pietro Gagliardi
2008-07-17  9:32 ` Anthony Martin
2008-07-17 11:31   ` Richard Miller
2008-07-17 16:19   ` David Leimbach [this message]
2008-11-23  0:10   ` Tom Lieber

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=3e1162e60807170919h309b4137t305a1aea89531f8b@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --cc=9fans@9fans.net \
    /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).