IYONIX revision 1.2 1 # $NetBSD: IYONIX,v 1.2 2019/04/26 22:46:03 sevan Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/evbarm/conf/std.iyonix"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.2 $"
26
27 maxusers 32 # estimated number of users
28
29 options MSGBUFSIZE=65536
30
31 # CPU options
32
33 # For XScale systems
34 options CPU_XSCALE_80321 # Support the XScale core
35 makeoptions CPUFLAGS="-mcpu=xscale"
36
37 # Architecture options
38 options XSCALE_CACHE_READ_WRITE_ALLOCATE
39 #options HZ=512
40 makeoptions CPUFLAGS="-mcpu=xscale"
41
42 # Standard system options
43
44 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
45 #options NTP # NTP phase/frequency locked loop
46
47 #options KTRACE # system call tracing via ktrace(1)
48
49
50 #options SYSVMSG # System V-like message queues
51 #options SYSVSEM # System V-like semaphores
52 #options SYSVSHM # System V-like memory sharing
53
54 # Device options
55
56 # Console options. The default console is speed is 115200 baud.
57 #options CONSPEED=9600 # Console speed
58
59 # Miscellaneous kernel options
60 options KTRACE # system call tracing, a la ktrace(1)
61 options IRQSTATS # manage IRQ statistics
62 #options SCSIVERBOSE # Verbose SCSI errors
63 options PCIVERBOSE # Verbose PCI descriptions
64 options MIIVERBOSE # Verbose MII autoconfuration messages
65 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
66
67 options USERCONF # userconf(4) support
68 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
70
71 # Development and Debugging options
72
73 # Alternate buffer queue strategies for better responsiveness under high
74 # disk I/O load.
75 #options BUFQ_READPRIO
76 #options BUFQ_PRIOCSCAN
77
78 # Diagnostic/debugging support options
79 #options DIAGNOSTIC # expensive kernel consistency checks
80 #options DEBUG # expensive debugging checks/support
81 options DDB # in-kernel debugger
82 #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
83 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
84 #options DDB_KEYCODE=0x40
85 #options KGDB # remote debugger
86 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
87 #makeoptions DEBUG="-g" # compile full symbol table
88 makeoptions COPY_SYMTAB=1
89 #options PMAP_DEBUG # Enable pmap_debug_level code
90 #options VERBOSE_INIT_ARM # verbose bootstraping messages
91
92 #options PMAP_INCLUDE_PTE_SYNC
93 #options LOCKDEBUG
94
95
96 # Compatibility options
97
98 include "conf/compat_netbsd70.config"
99 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
100
101 # File systems
102 file-system FFS # UFS
103 #file-system EXT2FS # second extended file system (linux)
104 #file-system LFS # log-structured file system
105 #file-system MFS # memory file system
106 file-system NFS # Network File System client
107 #file-system NTFS # Windows/NT file system (experimental)
108 file-system CD9660 # ISO 9660 + Rock Ridge file system
109 file-system MSDOSFS # MS-DOS file system
110 #file-system FDESC # /dev/fd
111 file-system KERNFS # /kern
112 #file-system NULLFS # loopback file system
113 #file-system OVERLAY # overlay file system
114 file-system PROCFS # /proc
115 #file-system UMAPFS # NULLFS + uid and gid remapping
116 #file-system UNION # union file system
117 #file-system CODA # Coda File System; also needs vcoda (below)
118 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
119 file-system PTYFS # /dev/ptm support
120 file-system TMPFS # Efficient memory file-system
121 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
122 #file-system HFS # experimental - Apple HFS+ (read-only)
123 file-system FILECORE # Acorn filecore file system
124
125 # File system options
126 #options QUOTA # legacy UFS quotas
127 #options QUOTA2 # new, in-filesystem UFS quotas
128 #options FFS_EI # FFS Endian Independent support
129 options WAPBL # File system journaling support
130 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
131 # It is not recommended for general use.
132 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
133 #options NFSSERVER # Network File System server
134 options FFS_NO_SNAPSHOT # No FFS snapshot support
135 #options UFS_EXTATTR # Extended attribute support for UFS1
136 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
137 # immutable) behave as system flags.
138
139 # Networking options
140 #options GATEWAY # packet forwarding
141 options INET # IP + ICMP + TCP + UDP
142 options INET6 # IPV6
143 #options IPSEC # IP security
144 #options IPSEC_DEBUG # debug for IP security
145 #options MROUTING # IP multicast routing
146 #options PIM # Protocol Independent Multicast
147 #options NETATALK # AppleTalk networking protocols
148 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
149 #options PPP_DEFLATE # Deflate compression support for PPP
150 #options PPP_FILTER # Active filter support for PPP (requires bpf)
151 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
152
153 #options ALTQ # Manipulate network interfaces' output queues
154 #options ALTQ_BLUE # Stochastic Fair Blue
155 #options ALTQ_CBQ # Class-Based Queueing
156 #options ALTQ_CDNR # Diffserv Traffic Conditioner
157 #options ALTQ_FIFOQ # First-In First-Out Queue
158 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
159 #options ALTQ_HFSC # Hierarchical Fair Service Curve
160 #options ALTQ_LOCALQ # Local queueing discipline
161 #options ALTQ_PRIQ # Priority Queueing
162 #options ALTQ_RED # Random Early Detection
163 #options ALTQ_RIO # RED with IN/OUT
164 #options ALTQ_WFQ # Weighted Fair Queueing
165
166
167 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
168
169 options DKWEDGE_AUTODISCOVER
170 options DKWEDGE_METHOD_BSDLABEL
171 #options DKWEDGE_METHOD_MBR
172
173 options INSECURE
174
175 # Kernel root file system and dump configuration.
176 #config netbsd root on ? type ?
177 #config netbsd root on wd1a type ffs
178 #config netbsd root on wm0 type nfs
179 config netbsd root on "wedge:system/a" type ffs
180
181 #
182 # Device configuration
183 #
184
185 mainbus0 at root
186
187 cpu0 at mainbus?
188
189 # i80321 I/O Processor peripheral support
190 iopxs* at mainbus?
191
192 iopaau* at iopxs? # Application Accelerator Unit
193 iopiic* at iopxs? # I2C Controller Unit(s)
194 iic0 at iopiic?
195 iic1 at iopiic?
196 iopwdog* at iopxs? # Watchdog timer
197 pci0 at iopxs? bus ? # PCI/PCI-X support
198
199 # The curious can see their RAM timings.
200 spdmem* at iic1 addr 0x56
201
202 # onboard RTC. RISC OS starts counting years at 2000
203 dsrtc0 at iic0 addr 0x68
204
205 # PCI bridges
206 ppb* at pci? dev ? function ? # PCI-PCI bridges
207 pci* at ppb? bus ?
208 # XXX 'puc's aren't really bridges, but there's no better place for them here
209 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
210
211 #options COMCONSOLE
212
213 # VGA
214 #vga* at pci? dev ? function ?
215 genfb* at pci? dev ? function ?
216 #options GENFB_PCI_DEBUG
217 #gffb* at pci? dev ? function ?
218
219 # these exist but aren't configured by RISC OS
220 #alipm* at pci?
221 #iic* at alipm?
222
223 # Display
224 wsdisplay0 at wsemuldisplaydev? console 1
225 wsdisplay* at wsemuldisplaydev?
226
227 #options WSEMUL_SUN # sun terminal emulation
228 options WSEMUL_VT100 # vt100 terminal emulation
229 options WS_DEFAULT_FG=WSCOL_BLACK
230 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
231 options WS_KERNEL_FG=WSCOL_GREEN
232 options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
233 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
234 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
235 options WSDISPLAY_COMPAT_USL # VT handling
236 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
237 #options WSDISPLAY_DEFAULTSCREENS=4
238 options FONT_GO_MONO12x23
239 options WSDISPLAY_SCROLLSUPPORT
240 options VCONS_DRAW_INTR
241 options RASOPS_DEFAULT_WIDTH=100
242 options RASOPS_DEFAULT_HEIGHT=30
243
244 # IDE and related devices
245 # PCI IDE controllers - see pciide(4) for supported hardware.
246 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
247 # how to set up DMA modes for this chip. This may work, or may cause
248 # a machine hang with some controllers.
249 #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
250 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
251 mvsata* at pci? dev ? function ?
252
253 # ATA (IDE) bus support
254 atabus* at ata?
255 #options ATADEBUG
256
257 # IDE drives
258 # Flags are used only with controllers that support DMA operations
259 # and mode settings (e.g. some pciide controllers)
260 # The lowest order four bits (rightmost digit) of the flags define the PIO
261 # mode to use, the next set of four bits the DMA mode and the third set the
262 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
263 # to use, and the last bit must be 1 for this setting to be used.
264 # For DMA and UDMA, 0xf (1111) means 'disable'.
265 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
266 # (0xc=1100, 0xa=1010, 0xf=1111)
267 # 0x0000 means "use whatever the drive claims to support".
268 wd* at atabus? drive ? flags 0x0000
269
270 # ATAPI bus support
271 atapibus* at atapi?
272
273 # ATAPI devices
274 # flags have the same meaning as for IDE drives.
275 # XXX No DMA on IDE devices for now
276 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
277 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
278 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
279 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
280
281
282 # Network Interfaces
283
284 # onboard ethernet
285 wm* at pci? dev ? function ? # Intel 8254x gigabit
286
287 # MII/PHY support
288 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
289 ukphy* at mii? phy ? # generic unknown PHYs
290
291
292 # USB Controller and Devices
293
294 # Iyonix ships with an ehci/ohci card
295 ehci* at pci? dev ? function ? # Enhanced Host Controller
296 ohci* at pci? dev ? function ? # Open Host Controller
297 #uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
298
299 # USB bus support
300 usb* at ehci?
301 usb* at ohci?
302 #usb* at uhci?
303 #usb* at slhci?
304
305 # USB Hubs
306 uhub* at usb?
307 uhub* at uhub? port ?
308
309 # USB HID device
310 uhidev* at uhub? port ? configuration ? interface ?
311
312 # USB Mice
313 ums* at uhidev? reportid ?
314 wsmouse* at ums? mux 0
315
316 # USB eGalax touch-panel
317 #uep* at uhub? port ?
318 #wsmouse* at uep? mux 0
319
320 # USB Keyboards
321 ukbd* at uhidev? reportid ?
322 wskbd* at ukbd? console ? mux 1
323
324 # USB Generic HID devices
325 uhid* at uhidev? reportid ?
326
327 # USB Mass Storage
328 umass* at uhub? port ? configuration ? interface ?
329
330 # USB audio
331 uaudio* at uhub? port ? configuration ?
332
333 # USB MIDI
334 #umidi* at uhub? port ? configuration ?
335
336 # USB Ethernet adapters
337 #axe* at uhub? port ? # ASIX AX88172 based adapters
338
339 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
340 ucom* at uplcom? portno ?
341
342 # USB Generic driver
343 #ugen* at uhub? port ?
344
345
346 # Iyonix onboard audio
347 autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
348
349 # Audio support
350 audio* at audiobus?
351
352 spkr* at audio? # PC speaker (synthesized)
353
354 # On-board device support
355
356 obio* at mainbus?
357 com1 at obio? addr 0x900003e8 xint 1 # on-board UART
358 com0 at obio? addr 0x900002f8 xint 1 # on-board UART
359 #com* at obio? addr 0x900003e8 xint 1 # on-board UART
360 #com* at obio? addr 0x900003f8 xint 1 # on-board UART
361
362 # Pseudo-Devices
363
364 #pseudo-device crypto # /dev/crypto device
365 #pseudo-device swcrypto # software crypto implementation
366
367 # disk/mass storage pseudo-devices
368
369 pseudo-device fss # file system snapshot device
370
371 # network pseudo-devices
372 pseudo-device bpfilter # Berkeley packet filter
373 #pseudo-device carp # Common Address Redundancy Protocol
374 #pseudo-device npf # NPF packet filter
375 pseudo-device loop # network loopback
376 #pseudo-device ppp # Point-to-Point Protocol
377 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
378 #pseudo-device sl # Serial Line IP
379 #pseudo-device strip # Starmode Radio IP (Metricom)
380 #pseudo-device irframetty # IrDA frame line discipline
381 #pseudo-device tap # virtual Ethernet
382 #pseudo-device tun # network tunneling over tty
383 #pseudo-device gre # generic L3 over IP tunnel
384 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
385 #pseudo-device faith # IPv[46] tcp relay translation i/f#
386 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
387 #pseudo-device vlan # IEEE 802.1q encapsulation
388 #pseudo-device bridge # simple inter-network bridging
389 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
390 #pseudo-device agr # IEEE 802.3ad link aggregation
391 # srt is EXPERIMENTAL
392 #pseudo-device srt # source-address-based routing
393
394 #
395 # accept filters
396 pseudo-device accf_data # "dataready" accept filter
397 pseudo-device accf_http # "httpready" accept filter
398
399 # miscellaneous pseudo-devices
400 pseudo-device pty # pseudo-terminals
401 #options RND_COM # use "com" randomness as well (BROKEN)
402 pseudo-device clockctl # user control of clock subsystem
403 pseudo-device ksyms # /dev/ksyms
404
405 # wscons pseudo-devices
406 pseudo-device wsmux # mouse & keyboard multiplexor
407 pseudo-device wsfont
408
409 # Veriexec
410 # include "dev/veriexec.config"
411
412 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
413