This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
TCP Stack Testing problem
- From: "Madhava Reddy S" <madhava dot s at globaledgesoft dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 30 Dec 2005 19:36:02 +0530
- Subject: [ECOS] TCP Stack Testing problem
- References: <20051230120630.48985.qmail@web8404.mail.in.yahoo.com>
Hi All,
I am new to eCos and currently learning to work on x86 PC platform.
I want to test the working of TCP/IP stack.
I was able to compile and run a sample application using boot floppy through
serial port.
How can i test the same program using Ethernet port.
In the configuration tool i have selected "common ethernet support",
"networking" and "Open BSD Stack" packages.
I have generated the library for my work_dir.
Then i have compiled the program using
i386-elf-gcc -g -I$(work_dir)/include/hello.c -L$(work_dir)/lib -Ttarget.ld
-nostdlib -o nw_test
Generated the binary of that exe
i386-elf-objcpy -O binary nw_test nw_test.bin
copied to floppy
dd conv=sync if=nw_test.bin of=/dev/fd0
I compiled the target for booting from floppy.
Started the target.
On Host i started gdb
i386-elf-gdb nw_test
when i try to connect using "target remote ip:port"
it says destination unreachable.
I am not sure the process i have done is wright or wrong..
I have intel 82559 card and ecos have default driver support for this card.
Please help me out in this..
Regards,
Madhava S
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.Global Edge Software Ltd has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Global Edge Software Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss