From mboxrd@z Thu Jan 1 00:00:00 1970 From: alex889 Date: Mon, 5 Oct 2009 02:40:08 -0700 (PDT) Subject: [U-Boot] Problem with NetConsole In-Reply-To: <20091004210310.08E74832E408@gemini.denx.de> References: <25738669.post@talk.nabble.com> <20091004154550.D2153832E408@gemini.denx.de> <25741672.post@talk.nabble.com> <20091004210310.08E74832E408@gemini.denx.de> Message-ID: <25747772.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks Wolfgang ! that helped, the last question i have is: I want the NetConsole to listen for incoming messages for 2 sec, I've tried using NetSetTimeout, but it seems to not work Alex wd wrote: > > 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. > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > > -- View this message in context: http://www.nabble.com/-U-Boot--Problem-with-NetConsole-tp25738669p25747772.html Sent from the Uboot - Users mailing list archive at Nabble.com.