From: Wolfgang Denk Date: Sun, 04 Oct 2009 23:03:10 +0200 Subject: [U-Boot] Problem with NetConsole In-Reply-To: <25741672.post@talk.nabble.com> References: <25738669.post@talk.nabble.com> <20091004154550.D2153832E408@gemini.denx.de> <25741672.post@talk.nabble.com> Message-ID: <20091004210310.08E74832E408@gemini.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 Dear alex889, please do not top post / full quote. PLease make sure to read http://www.netmeister.org/news/learn2quote.html In message <25741672.post@talk.nabble.com> you wrote: > > So let me rephrase myself > My aim is to open the NetConsole for input (stdin=nc)only if the user > pressed on a specific button. > How should the code that opens the NetConsole look like, after i discovered > the button was pressed? setenv("stdin", "nc"); Of course, you must make sure to run this only after device intialization. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are no data that cannot be plotted on a straight line if the axis are chosen correctly.