
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.