[ECOS] networking on redboot

Andrew Lunn andrew@lunn.ch
Fri Mar 13 13:28:00 GMT 2009


> Hi again,
> finally I compiled driver for SMSC91C111 successfully. I also modified
> \ecos\packages\devs\eth\arm\ertec\current\include\devs_eth_arm_ertec.inl
> and \ecos\packages\devs\eth\arm\ertec\current\cdl\ertec_eth_drivers.cdl
> files to define SMSC91C111 definitions/functions for ertec board.
> however, still I get:
> smsc_lan91cxx_init: No 91Cxx signature found
> No network interfaces found
> When I run redboot.bin. what do you think the reason may be?

    val = get_banksel(sc);
#if DEBUG & 9
    db_printf("LAN91CXX - supposed BankReg @ %x = %04x\n",
                cpd->base+LAN91CXX_BS, val );
#endif

    if ((0xff00 & val) !=  0x3300) {
        CYG_FAIL("No 91Cxx signature" );
        diag_printf("smsc_lan91cxx_init: No 91Cxx signature found\n");
        return false;
    }


You might want to look at get_banksel(). Do you need a special one for
your target?

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list