P2020DS revision 1.2 1 # $NetBSD: P2020DS,v 1.2 2011/05/28 05:58:16 matt Exp $
2 #
3 # P2020DS -- everything that's currently supported
4 #
5 #
6
7 include "arch/evbppc/conf/std.mpc85xx"
8
9 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10
11 ident "P2020DS-$Revision: 1.2 $"
12
13 maxusers 32
14
15 #options UVMHIST
16 #options UVMHIST_PRINT
17
18 no options GUR_BASE
19 options GUR_BASE=0xffe00000
20
21 options P2020
22 options PIXIS
23 #options SYS_CLK=100000000
24 #options HZ=1000
25
26 makeoptions NEED_BINARY="yes"
27 makeoptions NEED_UBOOTIMAGE="yes"
28
29 # Options for necessary to use MD
30 options MEMORY_DISK_HOOKS
31 options MEMORY_DISK_IS_ROOT # force root on memory disk
32 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
33 options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
34
35
36 #options INSECURE # disable kernel security levels
37 #options NTP # NTP phase/frequency locked loop
38 options 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
49 options DIAGNOSTIC # cheap kernel consistency checks
50 options DEBUG # expensive debugging checks/support
51 #options SYSCALL_DEBUG # syscall debugging
52 options DDB # in-kernel debugger
53 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
54 options TRAP_PANICWAIT
55 options SYMTAB_SPACE=410000 # size for embedded symbol table
56
57 makeoptions DEBUG="-g" # compile full symbol table
58
59 # Compatibility options
60 #options COMPAT_09 # NetBSD 0.9,
61 #options COMPAT_10 # NetBSD 1.0,
62 #options COMPAT_11 # NetBSD 1.1,
63 #options COMPAT_12 # NetBSD 1.2,
64 options COMPAT_13 # NetBSD 1.3,
65 options COMPAT_14 # NetBSD 1.4,
66 options COMPAT_15 # NetBSD 1.5,
67 options COMPAT_16 # NetBSD 1.6,
68 options COMPAT_20 # NetBSD 2.0,
69 options COMPAT_30 # NetBSD 3.0,
70 options COMPAT_40 # NetBSD 4.0,
71 options COMPAT_50 # NetBSD 5.0 compatibility.
72 options COMPAT_43 # and 4.3BSD
73 #options COMPAT_386BSD_MBRPART # recognize old partition ID
74 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
75 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
76
77 # File systems
78 file-system FFS # UFS
79 file-system EXT2FS # second extended file system (linux)
80 file-system LFS # log-structured file system
81 file-system MFS # memory file system
82 file-system NFS # Network File System client
83 file-system CD9660 # ISO 9660 + Rock Ridge file system
84 file-system MSDOSFS # MS-DOS file system
85 #file-system FDESC # /dev/fd
86 file-system TMPFS # efficient memory file system
87 file-system KERNFS # /kern
88 file-system NULLFS # loopback file system
89 #file-system OVERLAY # overlay file system
90 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
91 file-system PROCFS # /proc
92 #file-system UMAPFS # NULLFS + uid and gid remapping
93 #file-system UNION # union file system
94 file-system PTYFS # /dev/pts/N support
95
96 # File system options
97 options QUOTA # legacy UFS quotas
98 options QUOTA2 # new, in-filesystem UFS quotas
99 options FFS_EI # FFS Endian Independant support
100 options WAPBL # File system journaling support - Experimental
101 options NFSSERVER # Network File System server
102 #options FFS_NO_SNAPSHOT # No FFS snapshot support
103 options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
104 # immutable) behave as system flags.
105
106 options NFS_BOOT_DHCP # Support DHCP NFS root
107
108 # Networking options
109 #options GATEWAY # packet forwarding
110 options INET # IP + ICMP + TCP + UDP
111 options INET_CSUM_COUNTERS
112 options TCP_CSUM_COUNTERS
113 options UDP_CSUM_COUNTERS
114 #options INET6 # IPV6
115 #options IPSEC # IP security
116 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
117 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
118 #options IPSEC_DEBUG # debug for IP security
119 #options MROUTING # IP multicast routing
120 #options PIM # Protocol Independent Multicast
121 #options DIRECTED_BROADCAST # allow broadcasts through routers
122 #options ISO,TPIP # OSI
123 #options EON # OSI tunneling over IP
124 #options NETATALK # AppleTalk networking protocols
125 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
126 #options PPP_DEFLATE # Deflate compression support for PPP
127 #options PPP_FILTER # Active filter support for PPP (requires bpf)
128 #options PFIL_HOOKS # pfil(9) packet filter hooks
129 #options IPFILTER_LOG # ipmon(8) log support
130 #options IPFILTER_LOOKUP # ippool(8) support
131 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
132
133 # These options enable verbose messages for several subsystems.
134 # Warning, these may compile large string tables into the kernel!
135 options PCIVERBOSE # verbose PCI device autoconfig messages
136 options MIIVERBOSE # verbose PHY autoconfig messages
137 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
138 options SCSIVERBOSE # human readable SCSI error messages
139 #options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices
140 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
141
142 # wscons options
143 #options WSEMUL_SUN # sun terminal emulation
144 #options WSEMUL_VT100 # VT100 / VT220 emulation
145
146 # Kernel root file system and dump configuration.
147 config netbsd root on ? type ?
148 config netbsdnfs root on tsec0 type nfs
149
150 #
151 # Device configuration
152 #
153
154 mainbus0 at root # Processor Local Bus
155
156 cpunode* at mainbus? node ?
157 gpio* at gpiobus?
158
159 cpu* at cpunode?
160
161 obio0 at cpunode? # On-chip Peripheral Bus
162
163 e500wdog* at cpunode? # Watchdog timer
164
165 duart* at cpunode?
166 com* at duart? port ?
167 options CONSPEED=115200
168 options CONSADDR="DUART1_BASE"
169
170 tsec0 at cpunode? flags 0x001 # Enhanced 3-Speed Ethernet Controller
171 tsec1 at cpunode? flags 0x102 # Enhanced 3-Speed Ethernet Controller
172 tsec2 at cpunode? flags 0x103 # Enhanced 3-Speed Ethernet Controller
173 options ETSEC_EVENT_COUNTERS
174
175 #ehci* at cpunode? # usb
176
177 diic* at cpunode? # i2c bus
178 iic* at diic?
179 spdmem* at iic0 addr 0x51 # DDR
180 dsrtc* at iic1 addr 0x68 # RTC
181
182 pq3pcie* at cpunode? # PCI-Express controller
183 pq3pci* at cpunode? # PCI(X)
184 pci* at pq3pcie?
185 pci* at pq3pci?
186
187 ppb* at pci? dev ? function ? # PCI-PCI bridges
188 pci* at ppb?
189
190 #ohci1 at pci1 dev 0 function 2
191 #ehci1 at pci1 dev 0 function 3
192 #ohci* at pci? dev ? function ?
193 #ehci* at pci? dev ? function ?
194 #uhci* at pci? dev ? function ?
195 #usb* at ehci?
196 #usb* at ohci?
197 #usb* at uhci?
198 #uhub* at usb?
199 #umass* at uhub? port ?
200 #scsibus* at umass? channel ?
201 #sd* at scsibus? target ? lun ?
202
203 #sdhc* at cpunode? # sdmmc
204 #sdmmc* at sdhc? # SD/MMC bus
205 #ld* at sdmmc?
206
207 #siisata* at pci? dev ? function ?
208 #atabus* at siisata? channel ?
209 #jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers
210 #ahcisata* at jmide?
211 #atabus* at ahcisata? channel ?
212
213 ahcisata* at pci? dev ? function ?
214 atabus* at ahcisata? channel ?
215 aceride* at pci? dev ? function ?
216 atabus* at aceride? channel ?
217 wd* at atabus? drive ?
218
219 #wm* at pci? dev ? function ? # Intel Ethernet
220
221 #ciphy* at mii? phy ? # Cicada PHY
222 #inphy* at mii? phy ? # Intel 82555 PHYs
223 #iophy* at mii? phy ? # Intel 82553 PHYs
224 #makphy* at mii? phy ? # Marvell PHYs
225 ukphy* at mii? phy ? # generic unknown PHYs
226
227 pseudo-device md 1 # memory disk device
228 pseudo-device loop # network loopback
229 pseudo-device bpfilter # packet filter
230 pseudo-device rnd # /dev/random and in-kernel generator
231 pseudo-device clockctl # user control of clock subsystem
232 pseudo-device ksyms # /dev/ksyms
233 pseudo-device pty # pseudo-terminals
234 pseudo-device kttcp # kernel ttcp
235 pseudo-device vlan # 802.1Q VLANs
236