1#         $NetBSD: VIRTEX_GSRD2,v 1.33 2024/01/29 18:27:12 christos Exp $
2#
3# VIRTEX_GSRD2
4#
5#         Xilinx Gigabit System Reference Design version 2, ML403, Virtex 4 FX
6
7include   "arch/evbppc/conf/std.virtex"
8
9#options  INCLUDE_CONFIG_FILE # embed config file in kernel binary
10#ident              "VIRTEX_GSRD2"
11
12maxusers  32
13
14# XXX it's 64MB really, but reserve some space for framebuffer
15#options  PHYSMEM=64                    # RAM size (MB)
16options   PHYSMEM=60                    # RAM size (MB)
17
18options   CPUFREQ=300                   # core frequency (MHz)
19
20options   DESIGN_GSRD2                  # FPGA design
21options   IDCR_BASE=0x100     # Internal DCR bus
22options   DCR_XINTC_BASE=0x03f0         # Where XINTC lives on DCR
23
24options   CONS_NAME="\"xlcom0\""
25options   CONS_ADDR=0x010000  # offset in OPB window
26
27#options  KGDB                          # remote gdb on console
28
29#options  UVMHIST
30#options  UVMHIST_PRINT
31
32# Options necessary to use MD
33#options  MEMORY_DISK_HOOKS
34#options  MEMORY_DISK_IS_ROOT # force root on memory disk
35#options  MEMORY_DISK_SERVER=0          # no userspace memory disk support
36#options  MEMORY_DISK_ROOT_SIZE=6300 # size of memory disk, in blocks
37
38#options  INSECURE  # disable kernel security levels
39#options  NTP                 # NTP phase/frequency locked loop
40#options  KTRACE              # system call tracing via ktrace(1)
41
42#options  SYSVMSG             # System V message queues
43#options  SYSVSEM             # System V semaphores
44#options  SYSVSHM             # System V shared memory
45
46#options  USERCONF  # userconf(4) support
47#options  PIPE_SOCKETPAIR     # smaller, but slower pipe(2)
48#options  SYSCTL_INCLUDE_DESCR          # Include sysctl descriptions in kernel
49
50# Diagnostic/debugging support options
51options   DIAGNOSTIC          # cheap kernel consistency checks
52options   DEBUG               # expensive debugging checks/support
53options   DDB                 # in-kernel debugger
54pseudo-device       ksyms
55options   DDB_HISTORY_SIZE=512          # enable history editing in DDB
56options   TRAP_PANICWAIT
57makeoptions         COPY_SYMTAB=1       # size for embedded symbol table
58options   MBUFTRACE           # track mbuf leaks
59
60makeoptions         DEBUG="-g"          # compile full symbol table
61
62# Compatibility options
63include   "conf/compat_netbsd30.config"
64#options  COMPAT_386BSD_MBRPART # recognize old partition ID
65
66# File systems
67file-system         FFS                 # UFS
68file-system         EXT2FS              # second extended file system (linux)
69#file-system        LFS                 # log-structured file system
70file-system         MFS                 # memory file system
71file-system         NFS                 # Network File System client
72#file-system        CD9660              # ISO 9660 + Rock Ridge file system
73file-system         MSDOSFS             # MS-DOS file system
74file-system         FDESC               # /dev/fd
75#file-system        KERNFS              # /kern
76#file-system        NULLFS              # loopback file system
77#file-system        OVERLAY             # overlay file system
78#file-system        PROCFS              # /proc
79#file-system        UMAPFS              # NULLFS + uid and gid remapping
80#file-system        UNION               # union file system
81file-system         PTYFS               # /dev/pts/N support
82file-system         TMPFS               # virtual memory file system
83
84# File system options
85options   FFS_EI              # FFS Endian Independent support
86#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
87options   QUOTA               # legacy UFS quotas
88options   QUOTA2              # new, in-filesystem UFS quotas
89#options  UFS_DIRHASH         # UFS Large Directory Hashing
90#options  UFS_EXTATTR         # Extended attribute support for UFS1
91options   WAPBL               # File system journaling support
92#options  NFSSERVER # Network File System server
93
94options   NFS_BOOT_DHCP       # Support DHCP NFS root
95
96# Networking options
97#options  GATEWAY             # packet forwarding
98options   INET                # IP + ICMP + TCP + UDP
99options   INET6               # IPV6
100#options  IPSEC               # IP security
101#options  IPSEC_DEBUG         # debug for IP security
102#options  MROUTING  # IP multicast routing
103#options  PIM                 # Protocol Independent Multicast
104#options  NETATALK  # AppleTalk networking protocols
105options   PPP_BSDCOMP         # BSD-Compress compression support for PPP
106options   PPP_DEFLATE         # Deflate compression support for PPP
107options   PPP_FILTER          # Active filter support for PPP (requires bpf)
108#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
109
110# These options enable verbose messages for several subsystems.
111# Warning, these may compile large string tables into the kernel!
112#options  MIIVERBOSE          # verbose PHY autoconfig messages
113
114#
115# Workstation console options
116#
117options   WSEMUL_VT100
118options   WSEMUL_DEFAULT_FG=WSCOL_BLACK
119options   WSEMUL_DEFAULT_BG=WSCOL_LIGHT_WHITE
120options   WSDISPLAY_COMPAT_USL          # wsconscfg VT handling
121#options  WSDISPLAY_COMPAT_RAWKBD
122#options  WSDISPLAY_DEFAULTSCREENS=4
123options   FONT_VT220L8x16
124
125# Kernel root file system and dump configuration.
126#config             netbsd    root on ? type ?
127config              netbsd    root on temac0 type nfs
128
129#
130# Device configuration
131#
132
133plb0                at root             # Processor Local Bus
134cpu0                at plb?             # Processor itself
135xcvbus*   at plb?             # DCR bus
136temac*              at xcvbus?                    # Tri-Mode Ethernet MAC
137xlcom*              at xcvbus?                    # UartLite
138
139tft*                at plbus?
140wsdisplay*          at wsemuldisplaydev?
141
142# MII/PHY support
143makphy*   at mii? phy ?                 # Marvell Semiconductor 88E1000 PHYs
144ukphy*              at mii? phy ?                 # generic unknown PHYs
145
146pseudo-device       md                            # memory disk device
147pseudo-device       loop                          # network loopback
148pseudo-device       bpfilter            # packet filter
149pseudo-device       npf                           # NPF packet filter
150pseudo-device       ppp                           # Point-to-Point Protocol
151pseudo-device       sl                            # Serial Line IP
152pseudo-device       pty                           # pseudo-terminals
153
154pseudo-device       wsmux
155pseudo-device       wsfont
156