From: Wolfgang Denk Date: Thu, 23 Sep 2004 00:35:58 +0200 Subject: [U-Boot-Users] Netconsole at startup In-Reply-To: Your message of "Thu, 23 Sep 2004 09:41:13 +1200." <4151F179.40100@tait.co.nz> Message-ID: <20040922223603.C9565C108D@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <4151F179.40100@tait.co.nz> you wrote: > > Bit of a puzzle with netconsole operation. Which architecture, which board? > If I undef CFG_CONSOLE_IS_IN_ENV, then I can boot to the serial console > and manually switch it to nc and it works great. Problem with that is > that on boot it just uses the first device that has the correct in/out > properties - i.e. serial and ignores any env setting. What exactly is the problem with this? It's what I would expect... If you want to automatically switch to NC as soon as it becomes available you can always do this using some CONFIG_PREBOOT settings. > If I define CFG_CONSOLE_IS_IN_ENV, then the netconsole stuff refuses to > run (i.e. it doesn't use serial but it doesn't use nc either!!) - even What does your overwrite_console() look like? And what exactly are you trying to do here? What does your environment settings look like? > Any clues from anyone? Should netconsole be able to run from bootup? What do you mean by "bootup"? NC will or course only work after the main intitialization sequence has been completed, i. e. after relocation to RAM, and after ethernet and devices initialization. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de The software required `Windows 95 or better', so I installed Linux.