CP3100 revision 1.46.2.1 1 # $NetBSD: CP3100,v 1.46.2.1 2018/07/28 04:37:31 pgoyette 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 DISKLABEL_EI # disklabel Endian Independent support
52 #options FFS_EI # FFS Endian Independent support
53 options NFSSERVER
54 options WAPBL # File system journaling support
55 #options FFS_NO_SNAPSHOT # No FFS snapshot support
56
57 # Networking options
58
59 options GATEWAY # packet forwarding
60 options INET # IP + ICMP + TCP + UDP
61 options INET6 # IPV6
62 #options IPSEC # IP security
63 #options IPSEC_DEBUG # debug for IP security
64 #options MROUTING # IP multicast routing
65 #options PIM # Protocol Independent Multicast
66 #options NETATALK # AppleTalk networking
67 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
68 #options PPP_DEFLATE # Deflate compression support for PPP
69 #options PPP_FILTER # Active filter support for PPP (requires bpf)
70 options IPFILTER_LOG # ipmon(8) log support
71 options IPFILTER_LOOKUP # ippool(8) support
72 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
73
74 options NFS_BOOT_BOOTP
75 options NFS_BOOT_DHCP
76 #options NFS_BOOT_BOOTPARAM
77
78 # Compatibility options
79
80 include "conf/compat_netbsd50.config"
81 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
82
83 # Shared memory options
84
85 options SYSVMSG # System V-like message queues
86 options SYSVSEM # System V-like semaphores
87 options SYSVSHM # System V-like memory sharing
88
89 # Device options
90
91 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
92 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
93 #options MEMORY_DISK_IS_ROOT # use memory disk as root
94
95 # Console options. The default console is speed is 115200 baud.
96 options CONSPEED=115200 # Console speed
97
98 # Miscellaneous kernel options
99 options KTRACE # system call tracing, a la ktrace(1)
100 options IRQSTATS # manage IRQ statistics
101 #options SCSIVERBOSE # Verbose SCSI errors
102 #options PCIVERBOSE # Verbose PCI descriptions
103 #options MIIVERBOSE # Verbose MII autoconfuration messages
104 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
105 #options DDB_KEYCODE=0x40
106 options USERCONF # userconf(4) support
107 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
108 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
109
110 # Development and Debugging options
111
112 options DIAGNOSTIC # internal consistency checks
113 #options DEBUG
114 #options PMAP_DEBUG # Enable pmap_debug_level code
115 #options VERBOSE_INIT_ARM # verbose bootstraping messages
116 options DDB # in-kernel debugger
117 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
118 #makeoptions DEBUG="-g" # compile full symbol table
119 makeoptions COPY_SYMTAB=1
120
121 config netbsd root on ? type ?
122 config netbsd-wm0 root on wm0 type nfs
123 config netbsd-wd0 root on wd0a type ffs
124 config netbsd-sd0 root on sd0a type ffs
125
126 # The main bus device
127 mainbus0 at root
128
129 # The boot CPU
130 cpu0 at mainbus?
131
132 # On-board device support
133 obio* at mainbus?
134
135 # Console UART.
136 # Note: "xint 4" is actually the HPI# pin
137 com0 at obio? addr 0xfe800000 xint 4
138
139 # i80321 I/O Processor peripheral support
140 iopxs* at mainbus?
141
142 iopaau* at iopxs? # Application Accelerator Unit
143 iopiic* at iopxs? # I2C Controller Unit(s)
144 iic0 at iopiic?
145 iic1 at iopiic?
146 iopwdog* at iopxs? # Watchdog timer
147 pci0 at iopxs? bus ? # PCI/PCI-X support
148
149 # IIC Devices
150 m41trtc0 at iic1 addr 0x68 # M41T11 Realtime Clock
151
152 #
153 # Storage devices
154 #
155
156 # Serial ATA: i31244
157 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
158 atabus* at ata?
159
160 # ATA Disks
161 wd* at atabus? drive ? flags 0x0000
162
163 # SCSI: Symbios Logic 53c1010
164 #
165 # Wire down the Target/Host instances. Disable the target contoller for
166 # now as we don't currently support SCSI target mode.
167 siop0 at pci0 dev 2 function 1 # Host controller
168 #siop1 at pci0 dev 2 function 0 # Target controller
169 scsibus* at scsi?
170
171 # SCSI Devices
172 sd* at scsibus? target ? lun ? # SCSI disk drives
173 st* at scsibus? target ? lun ? # SCSI tape drives
174 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
175 ch* at scsibus? target ? lun ? # SCSI autochangers
176 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
177 ss* at scsibus? target ? lun ? # SCSI Scanners
178 uk* at scsibus? target ? lun ? # SCSI unknown
179
180 #
181 # Networking devices
182 #
183
184 # PCI network devices
185 wm* at pci? dev ? function ? # Intel i82546EB Gig-E
186
187 # MII/PHY support
188 makphy* at mii? phy ? # Marvell 88E1000 PHYs
189
190 # Pseudo-Devices
191
192 # disk/mass storage pseudo-devices
193 pseudo-device ccd # concatenated/striped disk devices
194 #pseudo-device cgd # cryptographic disk devices
195 pseudo-device raid # RAIDframe disk driver
196 options RAID_AUTOCONFIG # auto-configuration of RAID components
197 # Options to enable various other RAIDframe RAID types.
198 #options RF_INCLUDE_EVENODD=1
199 #options RF_INCLUDE_RAID5_RS=1
200 #options RF_INCLUDE_PARITYLOGGING=1
201 #options RF_INCLUDE_CHAINDECLUSTER=1
202 #options RF_INCLUDE_INTERDECLUSTER=1
203 #options RF_INCLUDE_PARITY_DECLUSTERING=1
204 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
205 #pseudo-device fss # file system snapshot device
206 #pseudo-device putter # for puffs and pud
207
208 #pseudo-device md # memory disk device (ramdisk)
209 pseudo-device vnd # disk-like interface to files
210 options VND_COMPRESSION # compressed vnd(4)
211
212 # network pseudo-devices
213 pseudo-device bpfilter # Berkeley packet filter
214 pseudo-device ipfilter # IP filter (firewall) and NAT
215 pseudo-device loop # network loopback
216 #pseudo-device tun # network tunneling over tty
217 #pseudo-device vlan # IEEE 802.1q encapsulation
218 #pseudo-device bridge # simple inter-network bridging
219
220 # miscellaneous pseudo-devices
221 pseudo-device pty # pseudo-terminals
222 pseudo-device clockctl # user control of clock subsystem
223 pseudo-device ksyms # /dev/ksyms
224
225 # data mover pseudo-devices
226 #pseudo-device swdmover # software dmover(9) back-end
227 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
228