[U-Boot] Use of Netconsole

Wolfgang Denk wd at denx.de
Sat Feb 21 22:58:37 CET 2009


Dear Piyush Shah,

In message <ad27f3010902170532y4e6f8c68vfc0f240e14fcbc09 at mail.gmail.com> you wrote:
>
> I had read somewhere that if, while using netconsole, we dont set

Somewhere? Maybe in doc/README.NetConsole ?

> ncip, the messages are broadcast.
> In that case, if I send commands to my target (where u-boot is
> running) from my Linux host,
> since ncip is not set, will it accept them?

'ncip' is used to set the IP address and the port of the
*destination*. This has nothing to do with your target's IP address
which still must be specified using 'ipaddr'.

> My requirement is that, when I press a particular switch on my board,
> the console should get transferred to netconsole, but the ncip should
> not be pre-decided

No problem with that.

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
"The X11 source code style is ATROCIOUS and should not be used  as  a
model."                                                   - Doug Gwyn


More information about the U-Boot mailing list