This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: How to test ethernet connection?


If you use reedboot( or another monitor), you should use two interface (2 IP adress), one for your monitor and another for your application (you can use DHCP or BOOTP to get IP adress for your application and configure statically Ip adress for your monitor). I thing you have to use eth1 interface for your application since eth0 is used by your monitor.

FALL Birahim
Elsys-Design
14, Parc Club du Golf
350, Avenue Jean-René Guillibert Gautier
13593 AIX-EN-PROVENCE
www.elsys-design.com

---------- Original Message ----------------------------------
From: Gary Thomas <gary@mlbassoc.com>
Date:  Thu, 07 Dec 2006 05:47:36 -0700

>David Luca wrote:
>> Hello,
>> I included the Cirrus Logic 8900 ethernet driver, everything compiled and starting the platform
>> shows me the following messages:
>>
>> [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)
>> [cyg_net_init] Init: domaininit(0x00000000)
>> [cyg_net_init] Init: cyg_net_add_domain(0x082aab1c)
>> New domain internet at 0x00000000
>> [cyg_net_init] Init: cyg_net_add_domain(0x082a9614)
>> New domain route at 0x00000000
>> [cyg_net_init] Init: call_route_init(0x00000000)
>> [cyg_net_init] Done
>> SYSTEM INITIALIZATION in progress
>> NETWORK:
>> BOOTP[eth0] op: REPLY
>>        htype: Ethernet
>>         hlen: 6
>>         hops: 0
>>          xid: 0x0
>>         secs: 0
>>        flags: 0x0
>>        hw_addr: 00:23:31:36:00:01
>>      client IP: 172.168.1.103
>>          my IP: 172.168.1.103
>>      server IP: 172.168.1.86
>>     gateway IP: 172.168.1.1
>>   options:
>>         subnet mask: 255.255.255.0
>>        IP broadcast: 172.168.1.255
>>             gateway: 172.168.1.1
>> data index = 4
>>
>> I assume it was initialized correctly, my question is, how can I test the ethernet connection
>> between host pc and target pc? I tried to use ping 172.168.1.103, but no response (I must mention
>> that I download the eCos application to the target via FTP, using MicroMonitor, so I know ethernet
>> is working).Thank you in advance,
>> David Luca.
>
>What program gave you this output?
>
>You could try to build & run one of the network tests, e.g.
>'ping_test' to verify your hardware.  Here's how I do it:
>
>   % ecosconfig new <platform> net
>   % ecosconfig tree
>   % make -s
>   % make -C net/common/current tests TESTS=tests/ping_test
>
>This will build just the one test which you can then download and run.
>
>
>--
>------------------------------------------------------------
>Gary Thomas                 |  Consulting for the
>MLB Associates              |    Embedded world
>------------------------------------------------------------
>
>--
>Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>





________________________________________________________________
Sent via the WebMail system at elsys-design.com






--
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]