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]

Re: network support


Gary Thomas wrote:

> Here's the very simplest way to test this (using ecosconfig).
>
>   [gthomas@hermes test2]$ ecosconfig new edb7212 net
>   [gthomas@hermes test2]$ ecosconfig tree
>   [gthomas@hermes test2]$ make;make -C net/tcpip/current/ tests TESTS=tests/ping_test
>
> Similar results can be obtained by just using the "net" template and
> then enabling/building tests.
>
> Does this sequence [scenario] not work for you?

I guess this is the linux scenario. We are using the Windows Development tools.
Thus here is our scenario:
We have registered the Networking package using the Package Administration tool, then
using the eCos Configuration tool we have added the Networking package by ticking on
INET support option.
Initialization options for eth0 and eth1 are greyed out, then we can't modify them.
There
status are: Use BOOTP/DHCP and Show BOOTP/DHCP for both eth0 and eth1.
Other options have been set with their default value.
Then we've build the library and the tests.
When running the ping test here is the gdb debugger trace, which makes no mention of the
ping
session I think:

Loading section .rom_vectors, size 0x60 lma 0x8000
Loading section .text, size 0x25b0c lma 0x8060
Loading section .rodata, size 0x14b2 lma 0x2db6c
Loading section .data, size 0xb60 lma 0x2f020
Start address 0x8060 , load size 162686
Transfer rate: 27691 bits/sec, 305 bytes/write.
(gdb) break cyg_test_exit
Breakpoint 1 at 0x8558: file
//C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c, line 74.
(gdb) break cyg_assert_fail
Function "cyg_assert_fail" not defined.
(gdb) break cyg_test_init
Function "cyg_test_init" not defined.
(gdb) cont
Continuing.
Network stack using 65536 bytes for misc space
                    65536 bytes for mbufs
                    131072 bytes for mbuf clusters
Start PING test
... Done

Breakpoint 1, cyg_test_exit ()
    at //C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c:74
74          while (1) ;
(gdb) set cyg_test_is_simulator=0
No symbol "cyg_test_is_simulator" in current context.
(gdb) cont
Continuing.

Breakpoint 1, cyg_test_exit ()
    at //C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c:74
74          while (1) ;
(gdb) *** 15:39:38 Run complete


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