[U-Boot-Users] Netconsole at startup

Wolfgang Denk wd at denx.de
Thu Sep 23 00:35:58 CEST 2004


In message <4151F179.40100 at tait.co.nz> you wrote:
> 
> Bit of a puzzle with netconsole operation.

Which architecture, which board?

> If I undef CFG_CONSOLE_IS_IN_ENV, then I can boot to the serial console 
> and manually switch it to nc and it works great. Problem with that is 
> that on boot it just uses the first device that has the correct in/out 
> properties - i.e. serial and ignores any env setting.

What exactly is the problem with this? It's what I would expect... If
you want to  automatically  switch  to  NC  as  soon  as  it  becomes
available you can always do this using some CONFIG_PREBOOT settings.

> If I define CFG_CONSOLE_IS_IN_ENV, then the netconsole stuff refuses to 
> run (i.e. it doesn't use serial but it doesn't use nc either!!) - even 

What does your overwrite_console() look like?

And  what  exactly  are  you  trying  to  do  here?  What  does  your
environment settings look like?

> Any clues from anyone? Should netconsole be able to run from bootup?

What do you mean by "bootup"? NC will or course only work  after  the
main  intitialization  sequence  has  been  completed,  i.  e.  after
relocation to RAM, and after ethernet and devices initialization.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The software required `Windows 95 or better', so I installed Linux.




More information about the U-Boot mailing list