From: Wolfgang Denk Date: Sun, 04 Oct 2009 17:45:50 +0200 Subject: [U-Boot] Problem with NetConsole In-Reply-To: <25738669.post@talk.nabble.com> References: <25738669.post@talk.nabble.com> Message-ID: <20091004154550.D2153832E408@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, In message <25738669.post@talk.nabble.com> you wrote: > > I'm trying to add the NetConsole to my project. > I've set all the related environment variables > > when i start UBoot and then type "run nc" i see that i receive the data i'm > sending from remote PC, > but if i call "run nc" from within the UBoot, using run_command("run nc", > 1);, i don't receive that data. > > Am i doing something wrong? Yes, that much is sure, as it doesn't work for you. Since you don't provide any deyails of your code changes (like a patch against top-of-tree in mainline) we can only guess. My guess is: You are missing a semicolon in line 42. 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 If the odds are a million to one against something occuring, chances are 50-50 it will.