[ECOS] RE: Trouble using lwIP (driver crash...)

Uwe Kindler uwe.kindler@cetoni.de
Wed Apr 5 09:53:00 GMT 2006


You use an older version of the lwip eCos stack. The changelog of the 
actual lwip version contains more actual entries:

2006-03-26  Uwe Kindler <uwe_kindler@web.de>

	* Updated the complete lwIP source to the latest lwIP
	CVS version 1.1.1
	* src/ecos/init.c Added call to netif_set_up(netif) in
	function lwip_set_addr() - this is required since lwIP
	version 1.0.0
	* cdl/lwip_net.cdl Minor modifications for UDP configuration
	options. Renamed CYGNUM_LWIP_TCPIP_THREAD_PRIORITY to
	CYGNUM_LWIP_NETWORK_THREAD_PRIORITY and moved option outside
	CYGPKG_LWIP_TCPIP component because the network thread needs to
	run in all configurations.
	* tests/nc_slave.c
	* tests/tcpecho.c
	* tests/udpecho.c
	* tests/sockets.c
	* tests/httpd.c Added eCos test infrastructure to tests and
	made tests applicable depending on lwip configuration.

2006-03-15  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/nc_test_slave.c (nc_slave): Fix some of the compiler
	warnings.

2006-03-13  Uwe Kindler <uwe_kindler@web.de>

	* cdl/lwip_net.cdl Changed default value of
	CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT (required for DHCP).
	Replaced CYGPKG_LWIP_DHCP_OPTIONS with CYGPKG_LWIP_DHCP
	and add CYGOPT_LWIP_DHCP_MANAGEMENT for automatic DHCP
	management.
	* include/lwip/ip_addr.h Add macro ip_addr_netcmp()
	(copied from lwIP CVS).
	* include/netif/etharp.h Updated file to version of
	lwIP CVS.
	* src/ecos/init.c Add include <pkgconf/net_lwip.h>
	Add lwip_dhcp_fine_tmr() and lwip_dhcp_coarse_tmr()
	for DHCP processing.
	Change tcpip_init_done() to start DHCP timers and
	ARP timer.
	Changed lwip_set_addr() to properly setup IP adress
	if DHCP is used.
	Added lwip_dhcp_init() for start of DHCP client.
	Removed start of ARP timer from ecosclue_init().
	* src/netif/etharp.c Updated file to version of
	lwIP CVS.
	
2006-03-02  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/lwip_net.cdl: Add the interfaces CYGPKG_NET_STACK,
	CYGPKG_NET_STACK_INET and CYGPKG_NET_STACK_INET6 and say that we
	implement a network stack and an IPv4 stack. Without these interfaces
	some of the Ethernet device drivers won't be compiled.

2006-02-24  Uwe Kindler <uwe_kindler@web.de>

	* cdl/lwip_net.cdl: Changed names of configuration options
	according to eCos configuration option naming convention in
	component writers guide.
	* include/lwipopts.h: Changed mapping of eCos configuration
	parameters to lwip configuration parameters. The mapping
	was wrong because it expected a disabled eCos configuration
	option is defined as 0 but a disabled eCos configuration option
	is not defined.
	* include/lwip/api.h Enumeration values of netconn_type are
	defined conditional now to avoid compiler warnings if these
	values are not evaluated in a switch statement.
	* src/api/api_lib.c Compilation of code in several switch
	statements is now conditional depending on configured
	functionality.
	* src/api/sockets.c Compilation of some code is now conditional
	depending on configured functionality.
	* src/ecos/init.c Changed initialisation values to match the
	new configuration option names.

 > compare your file  eCos\packages\net\lwip_tcpip\current\ChangeLog
 > with my changeLog. I advise you to update the ecos sources (LWIP
 > packages) if your changelog is different to mine.


Uwe Kindler
Software Engineering

--

cetoni GmbH
Am Wiesenring 6
D-07554 Korbussen

Tel.: +49 (0) 36602 338 28
Fax:  +49 (0) 36602 338 11
uwe.kindler@cetoni.de
www.cetoni.de

-- 
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