CP3100 revision 1.37 1 # $NetBSD: CP3100,v 1.37 2014/07/25 21:38:52 joerg Exp $
2 #
3 # CP3100 -- Certance CP3100 Kernel
4 #
5
6 include "arch/evbarm/conf/std.cp3100"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # Standard system options
15
16 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 options NTP # NTP phase/frequency locked loop
18
19 # CPU options
20
21 # For XScale systems
22 options CPU_XSCALE_80321 # Support the XScale core
23 makeoptions CPUFLAGS="-mcpu=xscale"
24
25 # Architecture options
26 options XSCALE_CACHE_READ_WRITE_ALLOCATE
27 #options HZ=512
28
29 # File systems
30
31 file-system FFS # UFS
32 file-system LFS # log-structured file system
33 file-system MFS # memory file system
34 file-system NFS # Network file system
35 #file-system ADOSFS # AmigaDOS-compatible file system
36 #file-system EXT2FS # second extended file system (linux)
37 #file-system CD9660 # ISO 9660 + Rock Ridge file system
38 #file-system MSDOSFS # MS-DOS file system
39 file-system FDESC # /dev/fd
40 file-system KERNFS # /kern
41 file-system NULLFS # loopback file system
42 file-system PROCFS # /proc
43 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
44 #file-system UMAPFS # NULLFS + uid and gid remapping
45 #file-system UNION # union file system
46 file-system PTYFS # /dev/pts/N support
47
48 # File system options
49 #options QUOTA # legacy UFS quotas
50 #options QUOTA2 # new, in-filesystem UFS quotas
51 #options FFS_EI # FFS Endian Independent support
52 options NFSSERVER
53 options WAPBL # File system journaling support
54 #options FFS_NO_SNAPSHOT # No FFS snapshot support
55
56 # Networking options
57
58 options GATEWAY # packet forwarding
59 options INET # IP + ICMP + TCP + UDP
60 options INET6 # IPV6
61 #options IPSEC # IP security
62 #options IPSEC_DEBUG # debug for IP security
63 #options MROUTING # IP multicast routing
64 #options PIM # Protocol Independent Multicast
65 #options NETATALK # AppleTalk networking
66 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
67 #options PPP_DEFLATE # Deflate compression support for PPP
68 #options PPP_FILTER # Active filter support for PPP (requires bpf)
69 options IPFILTER_LOG # ipmon(8) log support
70 options IPFILTER_LOOKUP # ippool(8) support
71 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
72
73 options NFS_BOOT_BOOTP
74 options NFS_BOOT_DHCP
75 #options NFS_BOOT_BOOTPARAM
76
77 # Compatibility options
78
79 #options COMPAT_43 # 4.3BSD compatibility.
80 options COMPAT_60 # NetBSD 6.0 compatibility.
81 options COMPAT_50 # NetBSD 5.0 compatibility.
82 #options COMPAT_40 # NetBSD 4.0 compatibility.
83 #options COMPAT_30 # NetBSD 3.0 compatibility.
84 #options COMPAT_20 # NetBSD 2.0 compatibility.
85 #options COMPAT_16 # NetBSD 1.6 compatibility.
86 #options COMPAT_15 # NetBSD 1.5 compatibility.
87 #options COMPAT_14 # NetBSD 1.4 compatibility.
88 #options COMPAT_13 # NetBSD 1.3 compatibility.
89 #options COMPAT_12 # NetBSD 1.2 compatibility.
90 #options COMPAT_11 # NetBSD 1.1 compatibility.
91 #options COMPAT_10 # NetBSD 1.0 compatibility.
92 #options COMPAT_09 # NetBSD 0.9 compatibility.
93 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
94 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
95
96 # Shared memory options
97
98 options SYSVMSG # System V-like message queues
99 options SYSVSEM # System V-like semaphores
100 options SYSVSHM # System V-like memory sharing
101
102 # Device options
103
104 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
105 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
106 #options MEMORY_DISK_IS_ROOT # use memory disk as root
107
108 # Console options. The default console is speed is 115200 baud.
109 options CONSPEED=115200 # Console speed
110
111 # Miscellaneous kernel options
112 options KTRACE # system call tracing, a la ktrace(1)
113 options IRQSTATS # manage IRQ statistics
114 #options KMEMSTATS # kernel memory statistics
115 #options SCSIVERBOSE # Verbose SCSI errors
116 #options PCIVERBOSE # Verbose PCI descriptions
117 #options MIIVERBOSE # Verbose MII autoconfuration messages
118 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
119 #options DDB_KEYCODE=0x40
120 options USERCONF # userconf(4) support
121 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
122 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
123
124 # Development and Debugging options
125
126 options PERFCTRS # performance counters
127 options DIAGNOSTIC # internally consistency checks
128 #options DEBUG
129 #options PMAP_DEBUG # Enable pmap_debug_level code
130 #options VERBOSE_INIT_ARM # verbose bootstraping messages
131 options DDB # in-kernel debugger
132 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
133 #makeoptions DEBUG="-g" # compile full symbol table
134 options SYMTAB_SPACE=640000
135
136 config netbsd root on ? type ?
137 config netbsd-wm0 root on wm0 type nfs
138 config netbsd-wd0 root on wd0a type ffs
139 config netbsd-sd0 root on sd0a type ffs
140
141 # The main bus device
142 mainbus0 at root
143
144 # The boot CPU
145 cpu0 at mainbus?
146
147 # On-board device support
148 obio* at mainbus?
149
150 # Console UART.
151 # Note: "xint 4" is actually the HPI# pin
152 com0 at obio? addr 0xfe800000 xint 4
153
154 # i80321 I/O Processor peripheral support
155 iopxs* at mainbus?
156
157 iopaau* at iopxs? # Application Accelerator Unit
158 iopiic* at iopxs? # I2C Controller Unit(s)
159 iic0 at iopiic?
160 iic1 at iopiic?
161 iopwdog* at iopxs? # Watchdog timer
162 pci0 at iopxs? bus ? # PCI/PCI-X support
163
164 # IIC Devices
165 m41trtc0 at iic1 addr 0x68 # M41T11 Realtime Clock
166
167 #
168 # Storage devices
169 #
170
171 # Serial ATA: i31244
172 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
173 atabus* at ata?
174
175 # ATA Disks
176 wd* at atabus? drive ? flags 0x0000
177
178 # SCSI: Symbios Logic 53c1010
179 #
180 # Wire down the Target/Host instances. Disable the target contoller for
181 # now as we don't currently support SCSI target mode.
182 siop0 at pci0 dev 2 function 1 # Host controller
183 #siop1 at pci0 dev 2 function 0 # Target controller
184 scsibus* at scsi?
185
186 # SCSI Devices
187 sd* at scsibus? target ? lun ? # SCSI disk drives
188 st* at scsibus? target ? lun ? # SCSI tape drives
189 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
190 ch* at scsibus? target ? lun ? # SCSI autochangers
191 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
192 ss* at scsibus? target ? lun ? # SCSI Scanners
193 uk* at scsibus? target ? lun ? # SCSI unknown
194
195 #
196 # Networking devices
197 #
198
199 # PCI network devices
200 wm* at pci? dev ? function ? # Intel i82546EB Gig-E
201
202 # MII/PHY support
203 makphy* at mii? phy ? # Marvell 88E1000 PHYs
204
205 # Pseudo-Devices
206
207 # disk/mass storage pseudo-devices
208 pseudo-device ccd # concatenated/striped disk devices
209 #pseudo-device cgd # cryptographic disk devices
210 pseudo-device raid # RAIDframe disk driver
211 options RAID_AUTOCONFIG # auto-configuration of RAID components
212 # Options to enable various other RAIDframe RAID types.
213 #options RF_INCLUDE_EVENODD=1
214 #options RF_INCLUDE_RAID5_RS=1
215 #options RF_INCLUDE_PARITYLOGGING=1
216 #options RF_INCLUDE_CHAINDECLUSTER=1
217 #options RF_INCLUDE_INTERDECLUSTER=1
218 #options RF_INCLUDE_PARITY_DECLUSTERING=1
219 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
220 #pseudo-device fss # file system snapshot device
221 #pseudo-device putter # for puffs and pud
222
223 #pseudo-device md # memory disk device (ramdisk)
224 pseudo-device vnd # disk-like interface to files
225 options VND_COMPRESSION # compressed vnd(4)
226
227 # network pseudo-devices
228 pseudo-device bpfilter # Berkeley packet filter
229 pseudo-device ipfilter # IP filter (firewall) and NAT
230 pseudo-device loop # network loopback
231 #pseudo-device tun # network tunneling over tty
232 #pseudo-device vlan # IEEE 802.1q encapsulation
233 #pseudo-device bridge # simple inter-network bridging
234
235 # miscellaneous pseudo-devices
236 pseudo-device pty # pseudo-terminals
237 pseudo-device clockctl # user control of clock subsystem
238 pseudo-device ksyms # /dev/ksyms
239
240 # data mover pseudo-devices
241 #pseudo-device swdmover # software dmover(9) back-end
242 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
243