[U-Boot] Use of Netconsole

Hi all, I had read somewhere that if, while using netconsole, we dont set ncip, the messages are broadcast. In that case, if I send commands to my processor from my Linux host, since ncip is not set, will the processor accept them? If not, what am I supposed to do?
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

Hi all, I had read somewhere that if, while using netconsole, we dont set 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? If not, what am I supposed to do?
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
-- -PIYUSH

Dear Piyush Shah,
In message ad27f3010902170532y4e6f8c68vfc0f240e14fcbc09@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
participants (2)
-
Piyush Shah
-
Wolfgang Denk