[ECOS] Newbie network problem

Frank Pagliughi fpagliughi@mindspring.com
Thu Dec 9 17:20:00 GMT 2004


Here the ECM file. This is based on the 2.0 release. (I also tried it with
the CVS code as of yesterday, but seemed to get the same results).

Thanks,
Frank

--------------------------------------------------------------

cdl_savefile_version 1;
cdl_savefile_command cdl_savefile_version {};
cdl_savefile_command cdl_savefile_command {};
cdl_savefile_command cdl_configuration { description hardware template
package };
cdl_savefile_command cdl_package { value_source user_value wizard_value
inferred_value };
cdl_savefile_command cdl_component { value_source user_value wizard_value
inferred_value };
cdl_savefile_command cdl_option { value_source user_value wizard_value
inferred_value };
cdl_savefile_command cdl_interface { value_source user_value wizard_value
inferred_value };

cdl_configuration eCos {
    description "" ;
    hardware    pc ;
    template    net ;
    package -hardware CYGPKG_HAL_I386 v2_0 ;
    package -hardware CYGPKG_HAL_I386_GENERIC v2_0 ;
    package -hardware CYGPKG_HAL_I386_PC v2_0 ;
    package -hardware CYGPKG_HAL_I386_PCMB v2_0 ;
    package -hardware CYGPKG_IO_PCI v2_0 ;
    package -hardware CYGPKG_IO_SERIAL_GENERIC_16X5X v2_0 ;
    package -hardware CYGPKG_IO_SERIAL_I386_PC v2_0 ;
    package -hardware CYGPKG_DEVS_ETH_INTEL_I82559 v2_0 ;
    package -hardware CYGPKG_DEVS_ETH_I386_PC_I82559 v2_0 ;
    package -hardware CYGPKG_DEVICES_WALLCLOCK_DALLAS_DS12887 v2_0 ;
    package -hardware CYGPKG_DEVICES_WALLCLOCK_I386_PC v2_0 ;
    package CYGPKG_HAL v2_0 ;
    package CYGPKG_IO v2_0 ;
    package CYGPKG_IO_SERIAL v2_0 ;
    package CYGPKG_INFRA v2_0 ;
    package CYGPKG_ISOINFRA v2_0 ;
    package CYGPKG_KERNEL v2_0 ;
    package CYGPKG_MEMALLOC v2_0 ;
    package CYGPKG_LIBC v2_0 ;
    package CYGPKG_LIBC_TIME v2_0 ;
    package CYGPKG_LIBC_STDLIB v2_0 ;
    package CYGPKG_LIBC_STRING v2_0 ;
    package CYGPKG_LIBC_I18N v2_0 ;
    package CYGPKG_LIBC_SETJMP v2_0 ;
    package CYGPKG_LIBC_STARTUP v2_0 ;
    package CYGPKG_LIBC_STDIO v2_0 ;
    package CYGPKG_LIBM v2_0 ;
    package CYGPKG_POSIX v2_0 ;
    package CYGPKG_IO_WATCHDOG v2_0 ;
    package CYGPKG_IO_WALLCLOCK v2_0 ;
    package -template CYGPKG_ERROR v2_0 ;
    package -template CYGPKG_IO_FILEIO v2_0 ;
    package -template CYGPKG_NET v2_0 ;
    package -template CYGPKG_NET_FREEBSD_STACK v2_0 ;
    package -template CYGPKG_NS_DNS v2_0 ;
    package -template CYGPKG_IO_ETH_DRIVERS v2_0 ;
};

cdl_option CYGDBG_DEVS_ETH_INTEL_I82559_CHATTER {
    user_value 1 2
};

cdl_option CYGBLD_ISO_CTYPE_HEADER {
    inferred_value 1 <cyg/libc/i18n/ctype.inl>
};

cdl_option CYGBLD_ISO_ERRNO_CODES_HEADER {
    inferred_value 1 <cyg/error/codes.h>
};

cdl_option CYGBLD_ISO_ERRNO_HEADER {
    inferred_value 1 <cyg/error/errno.h>
};

cdl_option CYGBLD_ISO_STDIO_FILETYPES_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_STREAMS_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_FILEACCESS_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_FORMATTED_IO_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_CHAR_IO_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_DIRECT_IO_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDIO_ERROR_HEADER {
    inferred_value 1 <cyg/libc/stdio/stdio.h>
};

cdl_option CYGBLD_ISO_STDLIB_STRCONV_HEADER {
    inferred_value 1 <cyg/libc/stdlib/atox.inl>
};

cdl_option CYGBLD_ISO_STDLIB_ABS_HEADER {
    inferred_value 1 <cyg/libc/stdlib/abs.inl>
};

cdl_option CYGBLD_ISO_STDLIB_DIV_HEADER {
    inferred_value 1 <cyg/libc/stdlib/div.inl>
};

cdl_option CYGBLD_ISO_STRERROR_HEADER {
    inferred_value 1 <cyg/error/strerror.h>
};

cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
    inferred_value 1 <cyg/libc/string/string.h>
};

cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
    inferred_value 1 <cyg/libc/string/string.h>
};

cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
    inferred_value 1 <cyg/libc/string/bsdstring.h>
};

cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
    inferred_value 1 <cyg/libc/string/string.h>
};

cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
    inferred_value 1 <cyg/libc/string/string.h>
};

cdl_option CYGBLD_ISO_POSIX_TIMER_TYPES_HEADER {
    inferred_value 1 <cyg/posix/time.h>
};

cdl_option CYGBLD_ISO_POSIX_CLOCK_TYPES_HEADER {
    inferred_value 1 <cyg/posix/time.h>
};

cdl_option CYGBLD_ISO_C_TIME_TYPES_HEADER {
    inferred_value 1 <cyg/libc/time/time.h>
};

cdl_option CYGBLD_ISO_POSIX_TIMERS_HEADER {
    inferred_value 1 <cyg/posix/time.h>
};

cdl_option CYGBLD_ISO_POSIX_CLOCKS_HEADER {
    inferred_value 1 <cyg/posix/time.h>
};

cdl_option CYGBLD_ISO_C_CLOCK_FUNCS_HEADER {
    inferred_value 1 <cyg/libc/time/time.h>
};

cdl_option CYGBLD_ISO_SIGNAL_NUMBERS_HEADER {
    inferred_value 1 <cyg/posix/signal.h>
};

cdl_option CYGBLD_ISO_SIGNAL_IMPL_HEADER {
    inferred_value 1 <cyg/posix/signal.h>
};

cdl_option CYGBLD_ISO_SETJMP_HEADER {
    inferred_value 1 <cyg/libc/setjmp/setjmp.h>
};

cdl_option CYGBLD_ISO_SIGSETJMP_HEADER {
    inferred_value 1 <cyg/posix/sigsetjmp.h>
};

cdl_option CYGBLD_ISO_DIRENT_HEADER {
    inferred_value 1 <cyg/fileio/dirent.h>
};

cdl_option CYGBLD_ISO_PTHREADTYPES_HEADER {
    inferred_value 1 <cyg/posix/types.h>
};

cdl_option CYGBLD_ISO_PMUTEXTYPES_HEADER {
    inferred_value 1 <cyg/posix/muttypes.h>
};

cdl_option CYGBLD_ISO_BSDTYPES_HEADER {
    inferred_value 1 <sys/bsdtypes.h>
};

cdl_option CYGBLD_ISO_UTSNAME_HEADER {
    inferred_value 1 <cyg/posix/utsname.h>
};

cdl_option CYGBLD_ISO_SEMAPHORES_HEADER {
    inferred_value 1 <cyg/posix/semaphore.h>
};

cdl_option CYGBLD_ISO_PTHREAD_IMPL_HEADER {
    inferred_value 1 <cyg/posix/pthread.h>
};

cdl_option CYGBLD_ISO_PTHREAD_MUTEX_HEADER {
    inferred_value 1 <cyg/posix/mutex.h>
};

cdl_option CYGBLD_ISO_POSIX_LIMITS_HEADER {
    inferred_value 1 <cyg/posix/limits.h>
};

cdl_option CYGBLD_ISO_OPEN_MAX_HEADER {
    inferred_value 1 <cyg/fileio/limits.h>
};

cdl_option CYGBLD_ISO_NAME_MAX_HEADER {
    inferred_value 1 <cyg/fileio/limits.h>
};

cdl_option CYGBLD_ISO_DNS_HEADER {
    inferred_value 1 <cyg/ns/dns/dns.h>
};

cdl_option CYGBLD_ISO_NETDB_PROTO_HEADER {
    inferred_value 1 <net/netdb.h>
};

cdl_option CYGBLD_ISO_NETDB_SERV_HEADER {
    inferred_value 1 <net/netdb.h>
};

cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES {
    inferred_value 1
};

cdl_option CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE {
    inferred_value 1
};

cdl_component CYGSEM_KERNEL_SCHED_ASR_SUPPORT {
    inferred_value 1
};

cdl_option CYGSEM_KERNEL_SCHED_ASR_GLOBAL {
    inferred_value 1
};

cdl_component CYGPKG_KERNEL_THREADS_DESTRUCTORS {
    inferred_value 1
};

cdl_component CYGPKG_NET_DEBUG {
    user_value 1
};

cdl_option CYGPKG_NET_BUILD_HW_TESTS {
    user_value 1
};

cdl_component CYGHWR_NET_DRIVER_ETH0_MANUAL {
    user_value 0
};

cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP {
    user_value 0
};

cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
    user_value 1
};

cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
    user_value 192.168.0.12
};

cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST {
    user_value 192.168.0.255
};

cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY {
    user_value 192.168.0.1
};

cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER {
    user_value 192.168.0.1
};

cdl_component CYGPKG_NET_FREEBSD_STACK_BUILD_TESTS {
    user_value 0
};



-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org]On Behalf Of Andrew Lunn
Sent: Thursday, December 09, 2004 12:08 PM
To: Frank Pagliughi
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Newbie network problem


On Thu, Dec 09, 2004 at 12:04:01PM -0500, Frank Pagliughi wrote:
> Hey All,
>
> I've been using eCos for a while but am trying a network app for the first
> time. The drivers on the ARM target board is suspect, so I'm trying to get
> the initial app running on an i386 PC w/ i82559 network board. I've fallen
> back to just trying to get a test application to run properly, like
> 'server_test' or 'ping_test'
>
> I'm loading/debugging the app via RedBoot over a serial line. Both the app
> and RedBoot are configured to use different static IP addresses (RedBoot
at
> 192.168.0.10, the app at 192.168.0.12). For the app's eCos library, I
> accepted all the settings from the config tool for the 'net' packages and
> have only changed the IP address and turned on the tests and lots of debug
> info.

Please export your configuration and send it to us. I always use
ecosconfig not the GUI tool. With ecosconfig you can do this with:

ecosconfig export export.ecm

and then send up the export.ecm file.

        Thanks
                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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: i386_net_debug.ecm
Type: application/octet-stream
Size: 7265 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20041209/c5377234/attachment.obj>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list