From: Fano Ramparany <Fano.Ramparany@rd.francetelecom.fr>
To: eCos Disuss <ecos-discuss@sourceware.cygnus.com>
Cc: Gary Thomas <gthomas@cambridge.redhat.com>
Subject: Re: [ECOS] network support
Date: Tue, 30 Jan 2001 02:52:00 -0000 [thread overview]
Message-ID: <3A769D9F.927F2CEA@rd.francetelecom.fr> (raw)
In-Reply-To: <XFMail.20010122081252.gthomas@cambridge.redhat.com>
Gary Thomas wrote:
> The way I did this using the Windows Config Tool was
> Build->Templates
> Hardware = Cirrus Logic development board
> Packages = net
>
> This selection is equivalent to the 'ecosconfig' steps above. All of the appropriate
> options are automatically enabled and it should "just work".
Thank you for your reply. I've done this exactly but I still have a problem running the
ping_test example.
There is no session trace:
<<output begins here>>
...
Start address 0x8060 , load size 162686
Transfer rate: 28293 bits/sec, 305 bytes/write.
(gdb) break cyg_test_exit
Breakpoint 1 at 0x8558: file
//C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c, line 74.
(gdb) break cyg_assert_fail
Function "cyg_assert_fail" not defined.
(gdb) break cyg_test_init
Function "cyg_test_init" not defined.
(gdb) cont
Continuing.
Network stack using 65536 bytes for misc space
65536 bytes for mbufs
131072 bytes for mbuf clusters
Start PING test
... Done
Breakpoint 1, cyg_test_exit ()
at //C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c:74
74 while (1) ;
(gdb) set cyg_test_is_simulator=0
No symbol "cyg_test_is_simulator" in current context.
(gdb) cont
Continuing.
Breakpoint 1, cyg_test_exit ()
at //C/PROGRA~1/REDHAT~1/eCos/packages/net/tcpip/v1_0b1/tests/ping_test.c:74
74 while (1) ;
(gdb) *** 11:30:51 Run complete
...
<<output ends here>>
I then had a look at the configuration file.
Below is the part of the "ecc" file related the network
drivers. All variables related to the NET_DRIVERS are assigned
a 0 value.
In the (Windows NT) eCos Configuration Tool, the items Initialization
options for 'eth0', are greyed out, and thus can't be
modified.
Do you have any hint about what I'm doing wrong?
<<ecc file exceprt begins here>>
...
# <
# <
# Network drivers
#
cdl_interface CYGHWR_NET_DRIVERS {
# This value cannot be modified here.
# Current_value: 0
};
# Does the hardware provide an 'eth0' device?
#
cdl_interface CYGHWR_NET_DRIVER_ETH0 {
# This value cannot be modified here.
# Current_value: 0
# The following properties are affected by this value
# component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS
# ActiveIf: (CYGHWR_NET_DRIVER_ETH0 == 1)
};
# Initialization options for 'eth0'
#
cdl_component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS {
# This option is not active
# ActiveIf constraint: (CYGHWR_NET_DRIVER_ETH0 == 1)
# CYGHWR_NET_DRIVER_ETH0 == 0
# --> 0
# There is no associated value.
};
# >
# Initialization options for 'eth0'
#
cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP {
# Implemented by CYGHWR_NET_DRIVER_ETH0_MANUAL, inactive, disabled
# Implemented by CYGHWR_NET_DRIVER_ETH0_BOOTP, inactive, enabled
# Implemented by CYGHWR_NET_DRIVER_ETH0_ADDRS, inactive, disabled
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS is not active
# This value cannot be modified here.
# Current_value: 0
# Requires: 1 == CYGHWR_NET_DRIVER_ETH0_SETUP
# CYGHWR_NET_DRIVER_ETH0_SETUP == 0
# --> 0
# The following properties are affected by this value
# interface CYGHWR_NET_DRIVER_ETH0_SETUP
# Requires: 1 == CYGHWR_NET_DRIVER_ETH0_SETUP
};
# Initialize 'eth0' manually?
#
cdl_component CYGHWR_NET_DRIVER_ETH0_MANUAL {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# Use BOOTP/DHCP to initialize 'eth0'?
#
cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
};
# >
# Show BOOTP/DHCP initialization values?
#
cdl_option CYGHWR_NET_DRIVER_ETH0_BOOTP_SHOW {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_BOOTP is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
};
# <
# Address setups for 'eth0'
#
cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# >
# IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 192.168.1.2
# value_source default
# Default value: 192.168.1.2
};
# Network mask address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 255.255.255.0
# value_source default
# Default value: 1
};
# <
# Address setups for 'eth0'
#
cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# >
# IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 192.168.1.2
# value_source default
# Default value: 192.168.1.2
};
# Network mask address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 255.255.255.0
# value_source default
# Default value: 255.255.255.0
};
# Broadcast address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 192.168.1.255
# value_source default
# Default value: 192.168.1.255
};
# Gateway/router IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 192.168.1.101
# value_source default
# Default value: 192.168.1.101
};
# Server IP address for 'eth0'
#
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER {
# This option is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is not active
# The parent CYGHWR_NET_DRIVER_ETH0_ADDRS is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 192.168.1.101
# value_source default
# Default value: 192.168.1.101
};
...
<<ecc file exceprt ends here>>
next prev parent reply other threads:[~2001-01-30 2:52 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-19 8:41 Fano Ramparany
2001-01-19 9:36 ` Gary Thomas
2001-01-22 6:48 ` Fano Ramparany
2001-01-22 7:13 ` Gary Thomas
2001-01-30 2:52 ` Fano Ramparany [this message]
2001-01-30 4:34 ` Gary Thomas
2001-01-30 6:03 ` Fano Ramparany
2001-01-30 6:08 ` Gary Thomas
2001-01-30 6:25 ` Lewin A.R.W. Edwards
2001-01-30 6:31 ` Gary Thomas
2001-01-30 6:43 ` Lewin A.R.W. Edwards
2001-02-13 5:55 ` Fano Ramparany
2001-02-13 6:20 ` Gary Thomas
2001-02-14 2:44 ` Fano Ramparany
2001-02-14 5:08 ` Gary Thomas
2001-02-14 7:59 ` Fano Ramparany
2001-02-14 8:24 ` Gary Thomas
2001-02-14 9:12 ` Lewin A.R.W. Edwards
2001-02-14 9:25 ` Gary Thomas
2001-02-14 9:32 ` Lewin A.R.W. Edwards
2001-02-14 9:40 ` Gary Thomas
2001-02-14 10:28 ` Robin Farine
2001-02-15 6:42 ` Fano Ramparany
2001-01-22 7:15 ` Fano Ramparany
-- strict thread matches above, loose matches on Subject: below --
2001-01-30 6:20 James Dabbs
1999-02-10 21:23 [ECOS] Network Support Zubin Burjor Sethna
[not found] ` < 6006B52C37ABD211AB0900805FFE9D79169230@saturn.sg.adisys.com.au >
1999-02-12 19:57 ` David J. Fiddes
1999-02-10 18:37 Wendell Thompson
1999-02-11 9:45 ` Rick Leir
[not found] ` < 36C2F1F1.63DE@hymarc.com >
1999-02-14 7:02 ` David J. Fiddes
1999-02-09 11:01 Gordon McFadden
[not found] ` < Pine.LNX.4.04.9902090702270.648-100000@mailhost.westsoft-systems.com >
1999-02-10 13:22 ` David J. Fiddes
1999-02-10 21:19 ` Brendan Simon
1999-02-06 13:48 weatp
[not found] ` < 9902069183.AA918326790@mail.syntron.com >
1999-02-08 8:26 ` Bart Veer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A769D9F.927F2CEA@rd.francetelecom.fr \
--to=fano.ramparany@rd.francetelecom.fr \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=gthomas@cambridge.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).