public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] netconsole in u-boot
@ 2009-04-02  7:26 ong
  2009-04-02  7:59 ` Wolfgang Denk
  2009-04-02 13:15 ` Detlev Zundel
  0 siblings, 2 replies; 3+ messages in thread
From: ong @ 2009-04-02  7:26 UTC (permalink / raw)
  To: u-boot

Dear support,

Am trying to configure out how to change my u-boot to be netconsole from serial console.

When i key in help in my u-boot start-up, i didnt seen any nc command.
U-Boot> help

May i know how to enable netconsole.
By adding following in u-boot/include/configs/at91sam9260ek.h
#define CONFIG_NETCONSOLE 1

and then with the following command, 
make distclean
make at91sam9263ek_config
make CROSS_COMPILE=arm-linux-
I get error a compile error
drivers/libdrivers.a(netconsole.o): In function `nc_tstc':/home/linux4sam/linux-2.6.24/u-boot-1.1.5/drivers/netconsole.c:233: undefined reference to `eth_get_dev'drivers/libdrivers.a(netconsole.o): In function `nc_send_packet':/home/linux4sam/linux-2.6.24/u-boot-1.1.5/drivers/netconsole.c:116: undefined reference to `eth_get_dev'make: *** [u-boot] Error 1/Ong

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] netconsole in u-boot
  2009-04-02  7:26 [U-Boot] netconsole in u-boot ong
@ 2009-04-02  7:59 ` Wolfgang Denk
  2009-04-02 13:15 ` Detlev Zundel
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2009-04-02  7:59 UTC (permalink / raw)
  To: u-boot

Dear "ong",

In message <200904021526134849800@free2move.us> you wrote:
> 
> Am trying to configure out how to change my u-boot to be netconsole from serial console.

I recomment to start by reading the documentation. 

> When i key in help in my u-boot start-up, i didnt seen any nc command.

This is to be expected. Read the docs.

> I get error a compile error
> drivers/libdrivers.a(netconsole.o): In function `nc_tstc':/home/linux4sam/linux-2.6.24/u-boot-1.1.5/drivers/netconsole.c:233: undefined reference to `eth_get_dev'drivers/libdrivers.a(netconsole.o): In function `nc_send_packet':/home/linux4sam/linux-2.6.
> 24/u-boot-1.1.5/drivers/netconsole.c:116: undefined reference to `eth_get_dev'make: *** [u-boot] Error 1/Ong

U-Boot 1.1.5 is extremely old and unsupported here. Please use current
code.

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
       There is enough for the need of everyone in this world,
       but not for the greed of everyone.     - Mahatma Gandhi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] netconsole in u-boot
  2009-04-02  7:26 [U-Boot] netconsole in u-boot ong
  2009-04-02  7:59 ` Wolfgang Denk
@ 2009-04-02 13:15 ` Detlev Zundel
  1 sibling, 0 replies; 3+ messages in thread
From: Detlev Zundel @ 2009-04-02 13:15 UTC (permalink / raw)
  To: u-boot

Hi Ong,

> Am trying to configure out how to change my u-boot to be netconsole from serial console.
>
> When i key in help in my u-boot start-up, i didnt seen any nc command.
> U-Boot> help

In my last e-mail I already pointed you to doc/README.NetConsole.  From
where in this document do you get the idea tha help should show you
somethong about netconsole?

"coninfo" woulb be a much better candidate for getting info...

Cheers
  Detlev

-- 
#!/usr/bin/perl
$c="print\"\#\!\/usr\/bin\/perl\
\\\$c\=\\\"\"\.quotemeta\(\$c\)\.\"\\\"\;\\n\$c;\"";
print"#!/usr/bin/perl\n\$c=\"".quotemeta($c)."\";\n$c;";
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-02 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02  7:26 [U-Boot] netconsole in u-boot ong
2009-04-02  7:59 ` Wolfgang Denk
2009-04-02 13:15 ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox