[U-Boot] Configure u-boot with netconsole

Rudy Cazeao rudyc at dcxchol.com
Wed May 16 17:20:59 CEST 2012


I'm having trouble getting netconsole to work u-boot after following to the letter instructions found in README.NetConsole. Here are the steps taken.

1) in the file include/configs/ads5125.h,  I  use # define CONFIG_NETCONSOLE     1
2) I then built u-boot and downloaded the image on ram memory of the target board using CodeWarrrior USB-TAP
3) I set stdin, stdout, stderr to nc and ncip to the ip address of the linux host
4) Once in u-boot, I can ping from the target to the linux host.
5) Afer running nc, the script that sets stdin, stdout, stderr to nc,  I switched over to the host side, where I run either
         ./tools/netconsole target_ipaddr
            or
           $ nc -lu 6666 &
           $ nc -u targetIipaddr 6666

      Yet, I see absolutely nothing on the console.

     However, once in a great while, I do see the  => from the boot prompt to the console on the host side.


Why doesn't it seem to be working ? This seems to be pretty straightfoward.


Also, just to be sure, I inserted the netconsole module and prior to using tools/netconsole, I ran the following command:


netconsole=6666 at 192.168.10.12/eth0,6666 at 192.168.10.10/mac_address_of_192.168.10.10<mailto:netconsole=6666 at 192.168.10.12/eth0,6666 at 192.168.10.10/mac_address_of_192.168.10.10>.



________________________________
Technical data included in this e-mail may be Export-Controlled and subject to
the Arms Export Control Act (Title 22, U.S.C., sec 2751 et seq.) or the Export
Administration Act of 1979, as amended seq.

This information or element thereof, in any form, shall not be disclosed to a
foreign person (including foreign person employees), entity, or exported from
the United States without U.S. Government authority and the express written
authorization of DCX-CHOL Enterprises, Inc.
This document may contain DCX-CHOL
Enterprises, Inc. Proprietary Information and is to be used only for the
purposes for which it has been supplied and is not to be duplicated or
disclosed in whole or in part without written permission from a duly authorized
representative of DCX-CHOL Enterprises, Inc.

If you feel you have received this email in error please contact the DCX-CHOL
IT Team at 310-516-1692 ext 454.


More information about the U-Boot mailing list