This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

getting ip stack up


Hi!

I use at91m55800a - based custom board with eCos port based
on eb40 code, gcc 3.0.4, linux, BDI2000 JTAG.

The board has cs8900a chip and I ported its driver
(actually clip and past a xxx.inl file), configured net_new
template and built.

Then I tried to run server_test but the user therad
never got control. (why?)

When I run my own test, after call to init_all_network_interfaces()
I saw the message:

// --8<-----------------------------------------------8<---

[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'cs8900a_eth0'
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x02061b4c, next: 0x020be840
IFP: 0x020be840, next: 0x00000000
eth0 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x02062ef4)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x0206299c)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x0
        secs: 0
       flags: 0x0
       hw_addr: 08:88:12:34:56:78
     client IP: 192.168.2.113
         my IP: 192.168.2.113
     server IP: 192.168.2.112
    gateway IP: 192.168.2.1
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 192.168.2.255
            gateway: 192.168.2.1

// --8<-----------------------------------------------8<---

but still I could not ping the board.

"link" led is continuously on,
"host" is off, and "lan" blinks.

I need advice, what I should do first
to know if it is hardware problem.

Thanks for any help,
A. Makarov


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]