summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex/README
blob: 7dbc7f5a0e5bf588ae404048d497c41fe54307a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Adapted from vitex BSP

BSP NAME:           Virtex
BOARD:              Xilinx ML-403 and (hopefully) any vitex/PPC based board
BUS:                N/A
CPU FAMILY:         ppc
CPU:                PowerPC 405GP
COPROCESSORS:       N/A
MODE:               32 bit mode

DEBUG MONITOR:

PERIPHERALS
===========
TIMERS:             405GP internal
SERIAL PORTS:       Xilinx consolelite
REAL-TIME CLOCK:    none
DMA:                Xilinx vitex internal
VIDEO:              none
SCSI:               none
NETWORKING:         Xilinx TEMAC

DRIVER INFORMATION
==================
CLOCK DRIVER:       PPC Decrementer
IOSUPP DRIVER:      N/A
SHMSUPP:            N/A
TIMER DRIVER:       N/A
TTY DRIVER:         consoleelite

STDIO
=====
PORT:               Console port 0
ELECTRICAL:         RS-232
BAUD:               as defined in FPGA design
BITS PER CHARACTER: 8
PARITY:             None
STOP BITS:          1

Notes
=====

Board description
-----------------
clock rate:	234 MHz
ROM:		16MByte FLASH
RAM:		64MByte DRAM

Virtex only supports single processor operations.

Configuration
-------------

This board support package is written for a typical virtex/PPC FPGA
system. The rough features of such a board are described above.

When a new virtex FPGA system is created (using the Xilinx design
software), a parameter file "xparameters.h" is also created, which
describes the basic features of the hardware (like peripherals
included, interrupt routing etc.).

This BSP normally takes its basic HW description for the file
"xparameters_dflt.h", which describes my FPGA system. When this BSP
should run on a different hardware, a path to the proper
"xparameters.h" can be provided on the "configure" command line.

For adapting this BSP to other boards, you can specify several configuration
options at the configure command line (use "./configure --help" in this
directory).  Here is an example for the top-level configure invocation:

/path/to/rtems/sources/configure \
  --target=powerpc-rtems4.11 \
  --enable-rtemsbsp=virtex \
  --enable-maintainer-mode \
  --enable-posix \
  --enable-tests \
  --disable-networking \
  'RTEMS_XPARAMETERS_H="/path/to/xparameters.h"' \
  VIRTEX_RAM_ORIGIN=0xfffc0000 \
  VIRTEX_RAM_LENGTH=0x3ffec \
  VIRTEX_RESET_ORIGIN=0xffffffec