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]

eCos-arm-network problem


Hello there, 

I trying to to ping test for the ethernet driver on my arm board..When I
run the application code .. I get these following..


## Starting application at 0x00030000 ...
Init device '/dev/ttydiag'
Init tty channel: 6816c
Init device '/dev/tty0'
Init tty channel: 68188
Init device '/dev/haldiag'
HAL/diag SERIAL init
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'SCP_eth'
Starting to initialise mcs1000 driver
Name of interface is SCP_eth
Device Instance name is eth0_scp
Using port: EthA
RX Buf shift state: 0x01
mcs1000 driver initialised eth_drv_init() and started
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x0006767c, next: 0x000af200
IFP: 0x000af200, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x00067f0c)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x00067a14)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start PING test
Error: SIOCGIFHWADDR 2: Device not configured
Mac addr 03:00:8c:7c:03:00
Cant set IP of 'eth0' to '192.168.1.143' Error :'Device not configured'
Setting of eth0 Failed............
Error: SIOCGIFHWADDR 2: Device not configured
Mac addr 03:00:13:00:00:00
Cant set IP of 'eth1' to '192.168.1.144' Error :'Device not configured'
Setting of eth1 Failed............
RxLength in eth_rx is 36



What do I do to make ioctl() call sucessfull?
Pl, forward your help and if you want me to check my driver code i can
mail that..

Regards
Raja Mallik 



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


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