public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] net configuration problem
@ 2007-08-23  1:49 ariga masahiro
  2007-08-23  6:49 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: ariga masahiro @ 2007-08-23  1:49 UTC (permalink / raw)
  To: ecos-discuss

Hi everyone,

I beseech you to help me.

I am trying to pass net work test using nc_test_slave.

As prev step,when I made eCos library,
I chose template package "net".

According to Anthony J.Massa's Book,it says,
"The eCos Net template includes the OpenBSD implementation".
So I expected to use OpenBSD Stack..

But I found in Building log,
it included bsd_tcpip subdirectory files
like these,
make -r -C net/bsd_tcpip/v2_0 build
make[1]: Entering directory 
`/ecos-c/cygwin/home/LINK/mytarget20070823-for-nc_test_slave/untitled1_build/net/bsd_tcpip/v2_0'
sh-elf-gcc -c  -I/ecos-c/cygwin/home/LINK/mytarget20070823-for-nc_test_slave/untitled1_install/include 
 -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0 -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src 
 -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/tests -I. -I/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/ecos/ 
 -D_KERNEL -D__ECOS -gdwarf-22 -mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes 
 -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections 
 -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D_KERNEL -D__ECOS -Wp,-MD,src/ecos/support.tmp 
 -o src/ecos/net_bsd_tcpip_support.o 
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/ecos/support.c

My target's template definition in ecod.db is below.
target mytarget {
        alias       { "mytarget board" }
        packages    { CYGPKG_HAL_SH
                      CYGPKG_HAL_SH_SH3
                      CYGPKG_HAL_SH_SH77X9_mytarget
                      CYGPKG_IO_FLASH
                      CYGPKG_DEVS_FLASH_SH_mytarget
                      CYGPKG_DEVS_FLASH_AMD_AM29XXXXX
                      CYGPKG_DEVS_ETH_SMSC_LAN91CXX
                      CYGPKG_DEVS_ETH_SH_mytarget
                      CYGPKG_IO_SERIAL_SH_mytarget
                      CYGPKG_IO_SERIAL_SH_SCIF
                      CYGPKG_IO_ETH_DRIVERS
        }
        description "
           The mytarget provides the packages needed to run
           eCos on a mytarget board."
}
I also used this template definition in making RedBoot.

I like to use OpenBSD Stack,so like to include tcpip subdirectory files.
What should I do ?

Please help me.

Masahiro Ariga



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] net configuration problem
  2007-08-23  1:49 [ECOS] net configuration problem ariga masahiro
@ 2007-08-23  6:49 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-08-23  6:49 UTC (permalink / raw)
  To: ariga masahiro; +Cc: ecos-discuss

On Thu, Aug 23, 2007 at 10:49:38AM +0900, ariga masahiro wrote:
> Hi everyone,
>
> I beseech you to help me.
>
> I am trying to pass net work test using nc_test_slave.
>
> As prev step,when I made eCos library,
> I chose template package "net".
>
> According to Anthony J.Massa's Book,it says,
> "The eCos Net template includes the OpenBSD implementation".
> So I expected to use OpenBSD Stack..
>
> But I found in Building log,
> it included bsd_tcpip subdirectory files
> like these,
> make -r -C net/bsd_tcpip/v2_0 build
> make[1]: Entering directory 
> `/ecos-c/cygwin/home/LINK/mytarget20070823-for-nc_test_slave/untitled1_build/net/bsd_tcpip/v2_0'


First start be getting the latest eCos. v2.0 is many years old and
contains some bugs in the networking stack.

      Andrew

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-23  6:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-23  1:49 [ECOS] net configuration problem ariga masahiro
2007-08-23  6:49 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).