All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] [v2] powerpc: 'monitor' environment variable contains full video configuration
Date: Tue, 15 Mar 2011 09:50:33 -0500	[thread overview]
Message-ID: <4D7F7CB9.8090005@freescale.com> (raw)
In-Reply-To: <20110315090546.E34491518DB7@gemini.denx.de>

Wolfgang Denk wrote:
> Agreed, but please not by introducing lots of new, probably later
> incompatible code.

Fair enough.

>> > Can you point me to the thread or at least tell me the subject line?  I have
>> > no idea what you're talking about.

> See http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/88169/focus=88240

Ok, so what I get from that thread is to change the name of the variables
("monitor" -> "video" and "diubootargs" -> something else more generic) and
update the videomodes.c code to parse the same video string that the kernel
uses.  I also gathered that no one has chosen to update videomodes.c, so I would
have to do it.

Do I have that right?

> OK, so please split that patch:  one patch should do this cleanup, and
> another one should contain the rest.

I can't make any promises, since a lot of the code is intermingled.

> Instead of a non-standard and undocumented 'diubootargs' environment
> variable please use something (probably called "video-mode" :-) that
> can be passed as "video-mode=" boot argument to Linux.
> 
> At this point I wonder which use ther eis left for your "monitor"
> variable - it should be completely redundant now?

Well, it may still be necessary to have two variables.  One for the mode that
U-Boot parses, and one for the string that is passed to the kernel.  This is
because the kernel also needs to see "console=tty0" on the command line only if
video is supposed to be enabled.  I want to make video mode completely dynamic,
so that if the 'video-mode' variable is set, then the console is switched to the
video device, and the kernel is told to do the same.  Otherwise, all output will
go to the serial port.

-- 
Timur Tabi
Linux kernel developer at Freescale

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2011-03-15 14:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14 20:19 [U-Boot] [PATCH] [v2] powerpc: 'monitor' environment variable contains full video configuration Timur Tabi
2011-03-14 23:33 ` Wolfgang Denk
2011-03-14 23:39   ` Tabi Timur-B04825
2011-03-15  9:05     ` Wolfgang Denk
2011-03-15 14:50       ` Timur Tabi [this message]
2011-03-15 15:15         ` Wolfgang Denk
2011-03-15 15:21           ` Timur Tabi
2011-03-15 15:47             ` Wolfgang Denk
2011-03-15 15:52               ` Timur Tabi
2011-03-15 19:02                 ` Wolfgang Denk
2011-03-15 19:09                   ` Timur Tabi
2011-03-15 19:38                     ` Wolfgang Denk
2011-03-15 19:49                       ` Timur Tabi
2011-03-15 20:41                         ` Wolfgang Denk
2011-03-15 20:48                           ` Timur Tabi
2011-03-15 21:47                             ` Wolfgang Denk
2011-03-15 22:32                               ` Timur Tabi

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=4D7F7CB9.8090005@freescale.com \
    --to=timur@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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.