1 # $NetBSD: INSTALL,v 1.71 2009/09/27 13:27:44 tsutsui Exp $
3 # from: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg Exp
5 # floppy install kernel. try to keep this in sync with GENERIC but
6 # leave as much disabled as possible.
8 include "arch/sparc/conf/std.sparc"
10 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12 makeoptions COPTS="-Os" # Optimise for space. Implies -O2
16 # Enable the hooks used for initializing the root memory-disk.
17 options MEMORY_DISK_HOOKS
18 options MEMORY_DISK_IS_ROOT # force root on memory disk
19 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
20 ## The miniroot size must be kept in sync manually with the size of
21 ## the `ramdisk' image (which is built in distrib/sparc/ramdisk).
22 options MEMORY_DISK_ROOT_SIZE=1800 # size of memory disk, in blocks
23 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
25 pseudo-device md 1 # memory disk device (ramdisk)
27 ## System kernel configuration. See options(4) for more detail.
30 # Options for variants of the Sun SPARC architecure.
31 # We currently support three architecture types; at least one is required.
32 options SUN4 # sun4/100, sun4/200, sun4/300
33 options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
34 options SUN4M # sun4m - SS10, SS20, Classic, etc.
36 options SUN4_MMU3L # 3-level MMU on sun4/400
38 ## System options specific to the sparc machine type
40 # Blink the power LED on some machines to indicate the system load.
43 ## Use a faster console than the PROM's slow drawing routines. Not needed
44 ## for headless (no framebuffer) machines.
45 #options RASTERCONSOLE # fast rasterop console
46 #options FONT_GALLANT12x22 # the console font
47 #options FONT_BOLD8x16 # a somewhat smaller font
48 #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
49 #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
54 options WSDISPLAY_COMPAT_RAWKBD
55 options WSDISPLAY_CUSTOM_OUTPUT
56 options WS_DEFAULT_FG=WSCOL_BLACK
57 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
58 options WS_KERNEL_FG=WSCOL_GREEN
59 options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
61 #### System options that are the same for all ports
63 ## Root device configuration: change the ?'s if you are going to use a
64 ## nonstandard root partition (other than where the kernel is booted from)
65 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
66 ## automagically determined at boot time.
68 config netbsd root on ? type ?
70 ## System call tracing (see ktrace(1)).
73 ## Collect statistics on kernel malloc's and free's. This does have a
74 ## significant performance hit on slower machines, so it is intended for
75 ## diagnostic use only.
78 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
79 #options SYSVMSG # System V message queues
80 #options SYSVSEM # System V semaphores
81 #options SYSVSHM # System V shared memory
83 ## Loadable kernel module support; still under development.
85 options USERCONF # userconf(4) support
86 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
87 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
89 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
90 options NFS_BOOT_BOOTPARAM
91 #options NFS_BOOT_BOOTP
94 #### Debugging options
96 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
97 ## serial console break or keyboard reset, where the PROM would normally
98 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
99 #options DDB # kernel dynamic debugger
100 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
101 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
103 ## You may also use gdb, on another computer connected to this machine over
104 ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
105 ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
106 ## (0xc01 = ttya, 0xc02 = ttyb.)
107 #options KGDB # support for kernel gdb
108 #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
109 #options KGDB_DEVRATE=38400 # baud rate
112 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
113 ## such that gdb(1) can be used on a kernel coredump.
115 #makeoptions DEBUG="-g"
118 ## Adds code to the kernel that does internal consistency checks, and will
119 ## cause the kernel to panic if corruption of internal data structures
121 #options DIAGNOSTIC # extra kernel sanity checking
123 ## Enable (possibly expensive) debugging code that may also display messages
124 ## on the system console
127 #options MIIVERBOSE # verbose PHY autoconfig messages
129 ## Make SCSI error messages more verbose when explaining their meanings.
132 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
133 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
134 ## and other insecurities good only for development work. Do not use this
135 ## option on a production machine.
138 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
139 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
140 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
141 ## opaque file mechanism. Perl calls this "secure setuid scripts."
144 #options SETUIDSCRIPTS
146 ## Options for compatibility with previous releases foreign system binaries.
147 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
148 ## additional user-level utilities or system configuration files. See
149 ## compat_sunos(8) and compat_svr4(8).
151 #options COMPAT_43 # 4.3BSD system interfaces
152 #options COMPAT_10 # NetBSD 1.0 binary compatibility
153 #options COMPAT_11 # NetBSD 1.1 binary compatibility
154 #options COMPAT_12 # NetBSD 1.2 binary compatibility
155 #options COMPAT_13 # NetBSD 1.3 binary compatibility
156 #options COMPAT_14 # NetBSD 1.4 binary compatibility
157 #options COMPAT_15 # NetBSD 1.5 binary compatibility
158 #options COMPAT_16 # NetBSD 1.6 binary compatibility
159 #options COMPAT_20 # NetBSD 2.0 binary compatibility
160 #options COMPAT_30 # NetBSD 3.0 binary compatibility
161 #options COMPAT_40 # NetBSD 4.0 binary compatibility
162 #options COMPAT_SUNOS # SunOS 4.x binary compatibility
163 #options COMPAT_SVR4 # SunOS 5.x binary compatibility
164 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
165 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
167 ## File systems. You probably need at least one of FFS or NFS.
168 file-system FFS # Berkeley Fast Filesystem
169 file-system NFS # Sun NFS-compatible filesystem client
170 #file-system KERNFS # kernel data-structure filesystem
171 #file-system NULLFS # NULL layered filesystem
172 file-system MFS # memory-based filesystem
173 #file-system FDESC # user file descriptor filesystem
174 #file-system UMAPFS # uid/gid remapping filesystem
175 #file-system LFS # Log-based filesystem (still experimental)
176 #file-system PROCFS # /proc
177 file-system CD9660 # ISO 9660 + Rock Ridge file system
178 #file-system UNION # union file system
179 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
180 #file-system PTYFS # /dev/pts/N support
182 ## File system options
183 #options NFSSERVER # Sun NFS-compatible filesystem server
184 #options QUOTA # FFS quotas
185 #options FFS_EI # FFS Endian Independent support
186 #options NFS_V2_ONLY # Exclude NFS3 code to save space
187 options FFS_NO_SNAPSHOT # No FFS snapshot support
188 options WAPBL # File system journaling support - Experimental
190 ## Network protocol support. In most environments, INET is required.
191 options INET # IP (Internet Protocol) v4
192 #options GATEWAY # packet forwarding ("router switch")
193 #options MROUTING # packet forwarding of multicast packets
194 #options PIM # Protocol Independent Multicast
195 #options DIRECTED_BROADCAST # allow broadcasts through routers
196 #options ISO,TPIP # OSI networking
197 #options EON # OSI tunneling over IP
198 #options NETATALK # AppleTalk (over Ethernet) protocol
199 #options NTP # Network Time Protocol in-kernel support
200 #options PPS_SYNC # Add serial line synchronization for NTP
201 #options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
202 #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
203 #options IPFILTER_LOOKUP # ippool(8) support
204 #options PPP_BSDCOMP # Add BSD compression to ppp device
205 #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
206 #options PPP_FILTER # Add active filters for ppp (via bpf)
207 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
210 #### Main bus and CPU .. all systems.
214 #### Bus types found on SPARC systems.
216 sbus0 at mainbus0 # sun4c
217 obio0 at mainbus0 # sun4 and sun4m
218 sparcvme0 at mainbus0 # sun4
219 iommu0 at mainbus0 # sun4m
220 sbus0 at iommu0 # sun4m
221 sparcvme0 at iommu0 # sun4m
222 vme0 at sparcvme0 # mi VME attachment
225 xbox* at sbus? slot ? offset ?
228 ## SBus to PCMCIA bridge
229 # Currently enabling nell* with audioamd* causes panic at attach
230 #nell* at sbus? slot ? offset ? # PCMCIA bridge
233 #### Standard system devices -- all required for a given architecture
235 ## Auxiliary system registers on sun4c and sun4m
236 auxreg0 at mainbus0 # sun4c
237 auxreg0 at obio0 # sun4m
239 ## Power status and control register on Sun4m systems
242 ## Mostek clock found on 4/300, sun4c, and sun4m systems.
243 ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
244 clock0 at mainbus0 # sun4c
245 clock0 at obio0 # sun4m
246 clock0 at obio0 addr 0xf2000000 # sun4/300
248 ## Intersil clock found on 4/100 and 4/200 systems.
249 oclock0 at obio0 addr 0xf3000000 # sun4/200
250 oclock0 at obio0 addr 0x03000000 # sun4/100
252 ## Memory error registers.
253 memreg0 at mainbus0 # sun4c
254 memreg0 at obio0 # sun4m
255 memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
256 memreg0 at obio0 addr 0x04000000 # sun4/100
258 ## ECC memory control
259 eccmemctl0 at mainbus0 # sun4m
261 ## Timer chip found on 4/300, sun4c, and sun4m systems.
262 timer0 at mainbus0 # sun4c
263 timer0 at obio0 # sun4m
264 timer0 at obio0 addr 0xef000000 # sun4/300
266 ## EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
267 ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
268 ## Mostek clock chip on 4/300 systems.
269 eeprom0 at obio0 addr 0xf2000000 # sun4/200
270 eeprom0 at obio0 addr 0x02000000 # sun4/100
273 #### Serial port configuration
275 ## Zilog 8530 serial chips. Each has two-channels.
276 ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
277 zs0 at mainbus0 # sun4c
279 zs0 at obio0 addr 0xf1000000 level 12 flags 0x103 # sun4/200 and sun4/300
280 zs0 at obio0 addr 0x01000000 level 12 flags 0x103 # sun4/100
282 zs1 at mainbus0 # sun4c
284 zs1 at obio0 addr 0xf0000000 level 12 flags 0x103 # sun4/200 and sun4/300
285 zs1 at obio0 addr 0x00000000 level 12 flags 0x103 # sun4/100
287 zs2 at obio0 addr 0xe0000000 level 12 # sun4/300
291 # these are for wscons
295 wsmouse* at wsmousedev?
297 ## Magma Serial/Parallel driver
298 #magma* at sbus? slot ? offset ?
302 ## PCMCIA serial interfaces
307 #### Disk controllers and disks
311 ## The following flags may be set for the NCR53c94 based esp driver:
312 ## bits 0-7: disable disconnect/reselect for the corresponding target
313 ## bits 8-15: disable synchronous negotiation for target [bit-8]
315 ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
316 ## Both `dma' and `esp' are needed in all cases.
317 ## Two kinds of additional SBus SCSI interfaces are available. One uses
318 ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
320 ## sun4/300 SCSI - an NCR53c94 or equivalent behind
321 ## an LSI Logic DMA controller
323 dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
324 esp0 at obio0 addr 0xfa000000 level 4 flags 0x0000 # sun4/300
326 dma0 at sbus0 slot ? offset ? # sun4c/sun4m
327 esp0 at sbus0 slot ? offset ? flags 0x0000 # sun4c
328 esp0 at dma0 flags 0x0000 # sun4m
331 dma* at sbus? slot ? offset ? # SBus
332 esp* at sbus? slot ? offset ? flags 0x0000 # SBus (older proms)
333 esp* at dma? flags 0x0000 # SBus
337 ## Qlogic ISP SBus SCSI Card
338 isp* at sbus? slot ? offset ?
341 ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
342 ## This driver has several flags which may be enabled by OR'ing
343 ## the values and using the "flags" directive.
346 ## 0x01 Use DMA (may be polled)
347 ## 0x02 Use DMA completion interrupts
348 ## 0x04 Allow disconnect/reselect
350 ## E.g. the following would enable DMA, interrupts, and reselect:
351 ## si0 at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
353 ## By default, DMA is enabled in the driver.
355 si0 at vme0 addr 0x200000 irq 2 vect 0x40
358 ## NCR5380-based "SCSI Weird" on-board SCSI interface found
359 ## on sun4/100 systems. The flags are the same as the "si"
360 ## controller. Note, while DMA is enabled by default, only
361 ## polled DMA works at this time, and reselects do not work
362 ## on this particular controller.
364 sw0 at obio0 addr 0x0a000000 level 3
367 ## PCMCIA SCSI controllers
372 ## These entries find devices on all SCSI busses and assign
373 ## unit numbers dynamically.
374 sd* at scsibus? target ? lun ? # SCSI disks
375 st* at scsibus? target ? lun ? # SCSI tapes
376 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
377 #ch* at scsibus? target ? lun ? # SCSI changer devices
378 #ss* at scsibus? target ? lun ? # SCSI scanners
379 #uk* at scsibus? target ? lun ? # unknown SCSI
382 ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
384 xdc0 at vme0 addr 0xee80 irq 3 vect 0x44
385 xdc1 at vme0 addr 0xee90 irq 3 vect 0x45
386 xdc2 at vme0 addr 0xeea0 irq 3 vect 0x46
387 xdc3 at vme0 addr 0xeeb0 irq 3 vect 0x47
390 ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
392 xyc0 at vme0 addr 0xee40 irq 3 vect 0x48
393 xyc1 at vme0 addr 0xee48 irq 3 vect 0x49
397 ## Floppy controller and drive found on SPARCstations.
399 fdc0 at mainbus0 # sun4c controller
400 fdc0 at obio0 # sun4m controller
401 fd* at fdc0 # the drive itself
403 ## PCMCIA IDE controllers
407 ## A disk-like interface to files. Can be used to create floppy, CD,
408 ## miniroot images, etc.
412 ## Concatenated and striped disks; with this, you can create a software-based
413 ## disk array similar to a "RAID 0" setup. See ccd(4).
417 ## RAIDframe disk driver: software RAID driver. See raid(4).
419 #pseudo-device raid 4
421 ## Memory disk device, used on boot floppies with compressed
422 ## kernel-plus-root-disk images.
427 #### Network interfaces
429 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
430 ## Three flavors of additional SBus ethernets are available. One attaches
431 ## directly like the sun4c on-board, one uses the ledma device like the
432 ## sun4m on-board, and one uses the lebuffer device.
434 le0 at obio0 addr 0xf9000000 level 6 # sun4/300
435 le0 at sbus0 slot ? offset ? # sun4c on-board
436 ledma0 at sbus0 slot ? offset ? # sun4m on-board
437 le0 at ledma0 # sun4m on-board
438 le* at sbus? slot ? offset ? # SBus
439 ledma* at sbus? slot ? offset ? # SBus
441 lebuffer0 at sbus? slot ? offset ? # SBus
442 le0 at lebuffer? # SBus
443 lebuffer* at sbus? slot ? offset ? # SBus
444 le* at lebuffer? # SBus
447 ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
448 ## or on a Multibus/VME card.
449 ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
450 ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
451 ie1 at vme0 addr 0xe88000 irq 3 vect 0x75 # VME
452 ie2 at vme0 addr 0x31ff02 irq 3 vect 0x76 # VME
453 ie3 at vme0 addr 0x35ff02 irq 3 vect 0x77 # VME
454 ie4 at vme0 addr 0x2dff02 irq 3 vect 0x7c # VME
457 qec* at sbus? slot ? offset ?
462 en0 at sbus? slot ? offset ?
464 # PCMCIA ethernet devices
471 #exphy* at mii? phy ? # 3Com internal PHYs
472 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
473 #inphy* at mii? phy ? # Intel 82555 PHYs
474 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
475 #nsphy* at mii? phy ? # NS83840 PHYs
476 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
477 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
478 #tlphy* at mii? phy ? # ThunderLAN PHYs
479 #ukphy* at mii? phy ? # generic unknown PHYs
481 ## Loopback network interface; required
484 ## SLIP and CSLIP interfaces, for IP over a serial line.
487 ## PPP, the successor to SLIP. See pppd(8).
490 ## Starmode Radio IP, a special hardware network device.
493 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
494 ## This is used by the third-party user-mode "ppp" program, and others.
497 ## Generic L3 over IP tunnel
498 #pseudo-device gre # generic L3 over IP tunnel
500 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
501 ## interface that allows selective examining of incoming packets.
502 #pseudo-device bpfilter
504 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
505 ## one example of the use of the IP Filter.
506 #pseudo-device ipfilter
509 #### Audio and video devices
511 ## /dev/audio support (`audioamd' plus `audio')
513 #audioamd0 at mainbus0 # sun4c
514 #audioamd0 at obio0 # sun4m
515 #audioamd0 at sbus0 slot ? offset ? # sun4m
518 #audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
522 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
523 ## systems. If your sun4 system has a cgfour installed in the P4 slot,
524 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
527 bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
528 bwtwo* at sbus? slot ? offset ? #
529 #bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
530 #bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
531 #bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
533 ## Sun "cgtwo" VME color framebuffer
534 #cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
536 ## Sun "cgthree" Sbus color framebuffer
537 cgthree0 at sbus? slot ? offset ?
538 cgthree* at sbus? slot ? offset ?
540 ## Sun "cgfour" color framebuffer with overlay plane. See above comment
541 ## regarding overlay plane.
542 #cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
543 #cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
545 ## Sun "cgsix" accelerated color framebuffer.
546 cgsix0 at sbus? slot ? offset ?
547 cgsix* at sbus? slot ? offset ?
548 #cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
549 #cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
551 ## Sun "cgeight" 24-bit framebuffer
552 #cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
553 #cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
555 ## Sun "tcx" accelerated color framebuffer.
556 # there can be only one
557 tcx0 at sbus? slot ? offset ?
559 # Sun "cgfourteen" accelerated 24-bit framebuffer.
560 cgfourteen* at obio0 # sun4m
562 # P9100-based display on Tadpole SPARCbook 3.
563 pnozz0 at sbus? slot ? offset ?
565 # Sun ZX/Leo 24-bit framebuffer
566 zx* at sbus? slot ? offset ?
568 # Fujitsu AG-10e accelerated graphics 8/24-bit board
569 agten* at sbus? slot ? offset ?
571 # generic framebuffer console
572 genfb* at sbus? slot ? offset ?
574 # make sure wsdisplay0 is the console
575 wsdisplay0 at wsemuldisplaydev? console 1
576 wsdisplay* at wsemuldisplaydev?
578 #### Other device configuration
580 ## Pseudo ttys, required for network logins and programs like screen.
582 pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
584 ## Random device, used to implement /dev/random (a source of random noise),
585 ## and generate randomness for some kernel formulae.
588 #pseudo-device fss 4 # file system snapshot device
590 pseudo-device wsmux # mouse and keyboard multiplexor