Skip to contentSkip to conversation

netconsole in u-boot

U-Boot ong 3 participants 3 messages Apr 2, 2009

lore
Share & tools
lore

ong

author
#0 lore raw

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

#1 lore raw

Dear "ong",

Quoted 2 lines · In message <[email protected]> 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.

Quoted 1 line

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.

Quoted 3 lines

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

Signature · 5 lines
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
#2 lore raw
In reply to ong

Hi Ong,

Quoted 4 lines

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

Signature · 8 lines
#!/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