[U-Boot] [PATCH] [v2] powerpc: 'monitor' environment variable contains full video configuration
Timur Tabi
timur at freescale.com
Tue Mar 15 21:48:12 CET 2011
Wolfgang Denk wrote:
>> > What is the standard mechanism for enabling the console on the video display?
>> > From what I can tell, if video_hw_init() returns non-NULL, then the console is
>> > set to the video display, regardless as to what the "stdout" environment
>> > variable says.
> That's the default. Users can overwrite it, for example in "preboot".
> See also CONFIG_ENV_OVERWRITE
Then I'm confused, because video_hw_init() is what configures and enables the
video display. So if that function succeeds (i.e. returns non-NULL), then
U-Boot will put the console onto the video display. You said you wanted me to
implement some mechanism where I enable the display, based on the value of the
video-mode variable, without putting console on the display. However, from you
just said, it appears that this mechanism already exists.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the U-Boot
mailing list