grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerMac hack breaks Efika


From: Robert Millan
Subject: Re: PowerMac hack breaks Efika
Date: Mon, 2 Jul 2007 19:22:09 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Jul 02, 2007 at 02:48:49PM +0200, Stefan Reinauer wrote:
> * Robert Millan <address@hidden> [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 (/address@hidden/address@hidden).
>  
> Can you examine the output property of the /chosen node and see what its
> original vallue is?

I'm not sure if this is what you want:  (I'm pretty new to OF)

ok cd /chosen
ok .properties
name                  "chosen"
stdin                 0x7C5F0E8 (130412776)
stdout                0x7C5F038 (130412600)
bootpath              ""
bootargs              ""
memory                0x7C54E28 (130371112)
mmu                   0x7C55818 (130373656)

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

I don't either, but Jordi Mallach does.  I'm CCing him.

> Why does Apple Powerbook need this?

No idea (other than the C comment above).  Maybe Hollis can explain.

> What's their default output device?

According to Jordi, output-device is set to "screen".

-- 
Robert Millan

My spam trap is address@hidden  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]