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]

net configuration problem


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


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