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