RAM 6.0 BUX II Series Guia do Utilizador Página 107

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 189
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 106
3 Porting a BSP to Custom Hardware
3.3 Finalizing Your BSP
99
3
Wind River Workbench Users Guide (or, for Tornado users, the Tornado Users Guide)
for more information on command-line setup and capabilities.
For a complete information regarding the target.ref file, see B. Documentation
Guidelines.
Updating target.nr Documentation Files
Many existing BSPs used an older format documentation file called target.nr to
describe the hardware configuration. This file uses a different markup syntax than
the target.ref documentation file.
There is a utility called mg2ref supplied with your VxWorks installation to convert
from older target.nr files to the newer target.ref format. If your reference BSP still
uses a target.nr file, the mg2ref output for the reference BSP target.nr file can be
used as a starting point for writing the target.ref file for your new BSP. However,
the target.nr file itself should not be used as a reference, nor should the nroff or
troff commands used for target.nr markup be used in new documentation files.
For more information on converting target.nr files to target.ref format, see
B.7 Converting target.nr Files, p.170.
3.3.9 Providing Additional Optional Device Support
Although not truly required for a functional VxWorks kernel, a BSP is not generally
considered usable unless it supports, at a minimum, a system clock, a serial port,
and an Ethernet interface. The routines required for the system clock and serial
port(s) have already been discussed (see 3.2.10 Minimum Required Drivers, p.70,
and 3.2.11 Serial Drivers, p.71, respectively). Support for the Ethernet interface and
other optional drivers are discussed in the following sections.
Adding Ethernet Devices
The network stack currently requires that Ethernet devices be initialized by calling
the devEndLoad( ) routine that is provided by each driver—for example,
fei82557EndLoad( ) is provided by the fei enhanced network driver (END). The
NOTE: The conversion tool used to convert target.ref files, apigen for VxWorks 6.0
users or refgen for VxWorks 5.5 users, is fully backward compatible with target.nr
files. However, Wind River does not recommend using the syntax used in target.nr
files for new or updated BSPs.
Vista de página 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 188 189

Comentários a estes Manuais

Sem comentários