All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Reinauer <stepan@coresystems.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: PowerMac hack breaks Efika
Date: Mon, 2 Jul 2007 14:48:49 +0200	[thread overview]
Message-ID: <20070702124849.GA15786@coresystems.de> (raw)
In-Reply-To: <20070702081709.GA14970@aragorn>

* Robert Millan <rmh@aybabtu.com> [070702 10:17]:
> The following lines in grub_ofconsole_init():
> 
>   /* The latest PowerMacs don't actually initialize the screen for us, so we
>    * use this trick to re-open the output device.  */
>   grub_ieee1275_interpret ("output-device output", 0);
> 
> break Efika (SmartFirmware) and possibly other implementations.  After this
> command is run, all console output is supressed.
 
> I'm not sure why (found that via regression test), but on Efika the
> output-device is screen (/pci@80000000/display@10).
 
Can you examine the output property of the /chosen node and see what its
original vallue is?

> I suppose the right fix would be to check for PowerMacs before running this,
> but I'm not sure how.  Any ideas?
 
There's some property in the / or /cpu or /openprom noe that can be
used. Don't have a ppc machine from Apple here right now.

Why does Apple Powerbook need this? What's their default output device?

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info@coresystems.de  • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866



  reply	other threads:[~2007-07-02 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02  8:17 PowerMac hack breaks Efika Robert Millan
2007-07-02 12:48 ` Stefan Reinauer [this message]
2007-07-02 17:22   ` Robert Millan
2007-07-04 16:10   ` Hollis Blanchard
2007-07-09 14:50     ` Robert Millan

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=20070702124849.GA15786@coresystems.de \
    --to=stepan@coresystems.de \
    --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.