[U-Boot-Users] very slow netconsole

Stefano Babic sbabic at denx.de
Thu Mar 20 14:44:59 CET 2008


Antonello Lombardinilo wrote:
> I just now:
>  - switched to Intel IXDPG425 board (to have a "standard" board reference);
>  - downloaded and compiled u-Boot 1.3.2 with NetConsole support; 
> 
> Even in this scenario the communication is slow ! 

Take a look at your ethernet driver (I think cpu/ixp/npe.c). The
eth_halt and eth_init functions are called before each transfer, even
for single character.

In npe_halt:

        debug("%s\n", __FUNCTION__);

        /* Delay to give time for recovery of mbufs */
        for (i = 0; i < 100; i++) {
                npe_poll(p_npe->eth_id);
                udelay(100);
        }

The delay seems strictly correlated to the slowness you report. Check
the npe_init function, too. If the ethernet is reinitialized after each
transfer, the result is a very slow connection.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list