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