From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Tue, 15 Mar 2011 15:48:12 -0500 Subject: [U-Boot] [PATCH] [v2] powerpc: 'monitor' environment variable contains full video configuration In-Reply-To: <20110315204152.F1DD81538EF@gemini.denx.de> References: <1300133949-1115-1-git-send-email-timur@freescale.com> <20110314233307.4787D1518DB6@gemini.denx.de> <4D7EA72C.9040603@freescale.com> <20110315090546.E34491518DB7@gemini.denx.de> <4D7F7CB9.8090005@freescale.com> <20110315151544.AE7551518DB8@gemini.denx.de> <4D7F83EC.4050804@freescale.com> <20110315154741.5719A1518DB8@gemini.denx.de> <4D7F8B3C.4080307@freescale.com> <20110315190242.00C801518DB9@gemini.denx.de> <4D7FB987.20100@freescale.com> <20110315193825.09DA71518DB9@gemini.denx.de> <4D7FC2C5.2020406@freescale.com> <20110315204152.F1DD81538EF@gemini.denx.de> Message-ID: <4D7FD08C.2020406@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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