> > >Building the Network Stack >
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"> REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"> REL="UP"
TITLE="Freebsd TCP/IP stack port"
HREF="tcpip-freebsd-stack-port.html"> REL="PREVIOUS"
TITLE="Freebsd TCP/IP stack port"
HREF="tcpip-freebsd-stack-port.html"> REL="NEXT"
TITLE="APIs"
HREF="tcpip-freebsd-tcpip-apis.html"> > CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
> CLASS="NAVHEADER"
> SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > COLSPAN="3"
ALIGN="center"
>eCos Reference Manual > > > WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
> HREF="tcpip-freebsd-stack-port.html"
ACCESSKEY="P"
>Prev > > WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 40. Freebsd TCP/IP stack port > WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
> HREF="tcpip-freebsd-tcpip-apis.html"
ACCESSKEY="N"
>Next > > > > ALIGN="LEFT"
WIDTH="100%"> > CLASS="SECT1"
> CLASS="SECT1"
> NAME="TCPIP-FREEBSD-BUILDING-THE-NETWORK-STACK">Building the Network Stack > >Using the CLASS="emphasis"
> CLASS="EMPHASIS"
>Build->Packages > > dialog,
add the packages “Networking”,
“Freebsd TCP/IP Stack”
and “Common Ethernet Support”
to your configuration. Their package names
are CYGPKG_NET, CYGPKG_NET_FREEBSD_STACK and CYGPKG_NET_ETH_DRIVERS
respectively. > >A short-cut way to do this is by
using the “net” CLASS="emphasis"
> CLASS="EMPHASIS"
>template > >
if it is available for your platform. > >The platform-specific ethernet device driver for your platform
will be added as part of the target selection (in the
CLASS="emphasis"
> CLASS="EMPHASIS"
>Build->Templates > > “Hardware” item),
along with the
PCI I/O subsystem (if relevent) and the appropriate serial device driver. > >For example, the PowerPC MBX target selection adds the package
PKG_NET_QUICC_ETH_DRIVERS,
and the Cirrus Logic EDB7xxx target selection adds the package
CYGPKG_NET_EDB7XXX_ETH_DRIVERS.
After this, eCos and its tests can be built exactly as usual. > CLASS="NOTE"
> CLASS="NOTE"
> > >Note: >By default, most of the network tests are not built. This
is because some of them require manual intervention, i.e. they are
to be run “by hand”, and are not suitable for
automated testing. To build the full set of network tests, set
the configuration option CYGPKG_NET_BUILD_TESTS “Build
networking tests (demo programs)” within “Networking
support build options”. > > > > CLASS="NAVFOOTER"
> ALIGN="LEFT"
WIDTH="100%"> SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > WIDTH="33%"
ALIGN="left"
VALIGN="top"
> HREF="tcpip-freebsd-stack-port.html"
ACCESSKEY="P"
>Prev > > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="ecos-ref.html"
ACCESSKEY="H"
>Home > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
> HREF="tcpip-freebsd-tcpip-apis.html"
ACCESSKEY="N"
>Next > > > > WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Freebsd TCP/IP stack port > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="tcpip-freebsd-stack-port.html"
ACCESSKEY="U"
>Up > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
>APIs > > > > > >