linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: "David A. Gatwood" <dgatwood@mvista.com>,
	linuxppc-dev@lists.linuxppc.org
Subject: Re: BootX enhancement request
Date: Tue, 24 Aug 1999 20:21:52 +0200	[thread overview]
Message-ID: <19990824202152.007307@mail.mipsys.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990824104012.26367B-100000@mvista.com>


On Tue, Aug 24, 1999, David A. Gatwood <dgatwood@mvista.com> wrote:

>That's not _entirely_ true.  The hardware itself relies on the nvram
>setting in order to determine the initial startup mode before it starts
>loading MacOS.  That's why you can do tricks with newer versions of MacOS
>like have the preferences set to 1024x768 and the pram/nvram set to
>640x480 and have it switch half-way into booting. (Makes it nice for
>MkLinux on x100's where you have to be in 8-bit color, but don't want to
>run MacOS that way.)  The Monitors & Sound CP does set the nvram value, at
>least on some machines, unless it changed quite recently, but you
>sometimes have to delete its prefs files to convince it to do so.

Yes, you are right. But the fact remains that video drivers are free to
store this in any proprietary format they want and I had some trouble
getting this to work with iMacs and blue G3s. Also, this nvram setting is
limited to those "official" mode values, but the driver is free to
implement completely different modes, and there's also some support for
DCC slowly appearing in MacOS. I don't think we can rely reliably on this
nvram value.

What I could eventually do is to add code to BootX that asks the driver
about the current mode (the driver should be able to return me all sorts
of informations, including some, but not all, of the timings) and build a
kernel command line with those. We should find something generic since
I'm not sure I can easily find out which kind of driver to use on the
command line (atyfb, platinumfb, controlfb, ...)

I have plans to extend BootX so that i can also setup OF environement
variables for quik-based booting. It would be able to setup those infos
there too. I'll look into this as soon as I have a new hard drive for my
8500 (the old one joined my pile of dead HDs last week, I'll soon be able
to make some kind of modern art with all those HDs ;-).

-- 
           Perso. e-mail: <mailto:bh40@calva.net>
           Work   e-mail: <mailto:benh@mipsys.com>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

  reply	other threads:[~1999-08-24 18:21 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-24  9:02 BootX enhancement request Benjamin Herrenschmidt
1999-08-24 12:56 ` Geert Uytterhoeven
1999-08-24 13:05   ` Benjamin Herrenschmidt
1999-08-25  4:26   ` Paul Mackerras
1999-08-25  8:46     ` Geert Uytterhoeven
1999-08-27  6:33   ` Tom Rini
1999-08-27  9:20     ` Benjamin Herrenschmidt
1999-08-28 11:27       ` Geert Uytterhoeven
1999-08-24 17:43 ` David A. Gatwood
1999-08-24 18:21   ` Benjamin Herrenschmidt [this message]
1999-08-27  5:46     ` brad allison
  -- strict thread matches above, loose matches on Subject: below --
1999-08-24  8:56 Benjamin Herrenschmidt
1999-08-25  3:12 ` David Riley
1999-08-26  0:49   ` Takashi Oe
1999-08-26  2:29     ` Daniel Jacobowitz
1999-08-26  8:39     ` Geert Uytterhoeven
1999-08-26 15:15       ` David Riley
1999-08-22 20:20 Kevin Puetz
1999-08-18 14:33 Is someone working on HFS+ support ? Benjamin Herrenschmidt
1999-08-22 17:45 ` BootX enhancement request brad allison
1999-08-23 13:52   ` Mike Lambert
1999-08-23 16:00   ` Robert Shaw
1999-08-23 20:16     ` brad allison
1999-08-23 20:27       ` Tom Rini
1999-08-23 20:40         ` Robert Shaw
1999-08-23 21:23           ` brad allison
1999-08-23 20:56         ` Jerry Quinn
1999-08-23 21:10           ` David A. Gatwood
1999-08-23 21:27           ` Peter Chang
1999-08-24  4:52           ` Tom Rini
1999-08-23 21:36         ` anthony tong
1999-08-24  4:35           ` Paul Mackerras
1999-08-23 20:29       ` Robert Shaw

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=19990824202152.007307@mail.mipsys.com \
    --to=bh40@calva.net \
    --cc=dgatwood@mvista.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 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).