OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [tcpip-freebsd-building-the-network-stack.html] - Blame information for rev 858

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Building the Network Stack</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="Freebsd TCP/IP stack port"
23
HREF="tcpip-freebsd-stack-port.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Freebsd TCP/IP stack port"
26
HREF="tcpip-freebsd-stack-port.html"><LINK
27
REL="NEXT"
28
TITLE="APIs"
29
HREF="tcpip-freebsd-tcpip-apis.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="tcpip-freebsd-stack-port.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 40. Freebsd TCP/IP stack port</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="tcpip-freebsd-tcpip-apis.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="TCPIP-FREEBSD-BUILDING-THE-NETWORK-STACK">Building the Network Stack</H1
86
><P
87
>Using the <SPAN
88
CLASS="emphasis"
89
><I
90
CLASS="EMPHASIS"
91
>Build-&gt;Packages</I
92
></SPAN
93
> dialog,
94
add the packages &#8220;Networking&#8221;,
95
&#8220;Freebsd TCP/IP Stack&#8221;
96
and &#8220;Common Ethernet Support&#8221;
97
to your configuration.  Their package names
98
are CYGPKG_NET, CYGPKG_NET_FREEBSD_STACK and CYGPKG_NET_ETH_DRIVERS
99
respectively.</P
100
><P
101
>A short-cut way to do this is by
102
using the &#8220;net&#8221; <SPAN
103
CLASS="emphasis"
104
><I
105
CLASS="EMPHASIS"
106
>template</I
107
></SPAN
108
>
109
if it is available for your platform.</P
110
><P
111
>The platform-specific ethernet device driver for your platform
112
will be added as part of the target selection (in the
113
<SPAN
114
CLASS="emphasis"
115
><I
116
CLASS="EMPHASIS"
117
>Build-&gt;Templates</I
118
></SPAN
119
> &#8220;Hardware&#8221; item),
120
along with the
121
PCI I/O subsystem (if relevent) and the appropriate serial device driver.</P
122
><P
123
>For example, the PowerPC MBX target selection adds the package
124
PKG_NET_QUICC_ETH_DRIVERS,
125
and the Cirrus Logic EDB7xxx target selection adds the package
126
CYGPKG_NET_EDB7XXX_ETH_DRIVERS.
127
After this, eCos and its tests can be built exactly as usual.</P
128
><DIV
129
CLASS="NOTE"
130
><BLOCKQUOTE
131
CLASS="NOTE"
132
><P
133
><B
134
>Note: </B
135
>By default, most of the network tests are not built.  This
136
is because some of them require manual intervention, i.e. they are
137
to be run &#8220;by hand&#8221;, and are not suitable for
138
automated testing.  To build the full set of network tests, set
139
the configuration option CYGPKG_NET_BUILD_TESTS &#8220;Build
140
networking tests (demo programs)&#8221; within &#8220;Networking
141
support build options&#8221;.</P
142
></BLOCKQUOTE
143
></DIV
144
></DIV
145
><DIV
146
CLASS="NAVFOOTER"
147
><HR
148
ALIGN="LEFT"
149
WIDTH="100%"><TABLE
150
SUMMARY="Footer navigation table"
151
WIDTH="100%"
152
BORDER="0"
153
CELLPADDING="0"
154
CELLSPACING="0"
155
><TR
156
><TD
157
WIDTH="33%"
158
ALIGN="left"
159
VALIGN="top"
160
><A
161
HREF="tcpip-freebsd-stack-port.html"
162
ACCESSKEY="P"
163
>Prev</A
164
></TD
165
><TD
166
WIDTH="34%"
167
ALIGN="center"
168
VALIGN="top"
169
><A
170
HREF="ecos-ref.html"
171
ACCESSKEY="H"
172
>Home</A
173
></TD
174
><TD
175
WIDTH="33%"
176
ALIGN="right"
177
VALIGN="top"
178
><A
179
HREF="tcpip-freebsd-tcpip-apis.html"
180
ACCESSKEY="N"
181
>Next</A
182
></TD
183
></TR
184
><TR
185
><TD
186
WIDTH="33%"
187
ALIGN="left"
188
VALIGN="top"
189
>Freebsd TCP/IP stack port</TD
190
><TD
191
WIDTH="34%"
192
ALIGN="center"
193
VALIGN="top"
194
><A
195
HREF="tcpip-freebsd-stack-port.html"
196
ACCESSKEY="U"
197
>Up</A
198
></TD
199
><TD
200
WIDTH="33%"
201
ALIGN="right"
202
VALIGN="top"
203
>APIs</TD
204
></TR
205
></TABLE
206
></DIV
207
></BODY
208
></HTML
209
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.