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.p...@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: w...@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@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot