INSTALL_TINY revision 1.114
1# $NetBSD: INSTALL_TINY,v 1.114 2007/11/14 17:54:58 ad Exp $ 2# 3# This kernel should be derived from INSTALL (which is derived 4# from GENERIC) with some features commented out. 5# 6# This kernel has been optimized for space. It is targeted towards 7# small memory machines (4M). It has no SCSI, PCI or EISA. It does 8# have pcmcia, for old laptops. 9# 10 11include "arch/i386/conf/std.i386" 12 13#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 14 15makeoptions COPTS="-Os" # Optimise for space. Implies -O2 16 17# Enable the hooks used for initializing the root memory-disk. 18options MEMORY_DISK_HOOKS 19options MEMORY_DISK_IS_ROOT # force root on memory disk 20options MEMORY_DISK_SERVER=0 # no userspace memory disk support 21options MEMORY_DISK_ROOT_SIZE=3100 # size of memory disk, in blocks 22 23maxusers 2 # estimated number of users 24 25# CPU support. 26options I386_CPU 27 28# CPU-related options. 29options MATH_EMULATE # floating point emulation 30#options VM86 # virtual 8086 emulation 31#options USER_LDT # user-settable LDT; used by WINE 32# insert delay no-ops in interrupts; recommended on very old machines 33options PIC_DELAY 34 35# This option allows you to force a serial console at the specified 36# I/O address. 37#options CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600 38 39# Save a physical page per process by not setting a kernel stack red zone. 40options NOREDZONE 41 42# The following options override the memory sizes passed in from the boot 43# block. Use them *only* if the boot block is unable to determine the correct 44# values. Note that the BIOS may *correctly* report less than 640k of base 45# memory if the extended BIOS data area is located at the top of base memory 46# (as is the case on most recent systems). 47#options REALBASEMEM=... # size of base memory 48#options REALEXTMEM=... # size of extended memory 49 50options INSECURE # disable kernel security levels 51 52options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 53#options NTP # NTP phase/frequency locked loop 54 55#options KTRACE # system call tracing via ktrace(1) 56 57#options SYSVSEM # System V-like semaphores 58#options SYSVSHM # System V-like memory sharing 59#options SHMMAXPGS=2048 # 2048 pages is the default 60 61#options LKM # loadable kernel modules 62 63#options USERCONF # userconf(4) support 64options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 65#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 66no options EXEC_AOUT # we don't a.out support 67 68# Diagnostic/debugging support options 69#options DIAGNOSTIC # expensive kernel consistency checks 70#options DEBUG # expensive debugging checks/support 71#options KMEMSTATS # kernel memory statistics (vmstat -m) 72#options DDB # in-kernel debugger 73#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 74#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 75#options KGDB # remote debugger 76#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 77#makeoptions DEBUG="-g" # compile full symbol table 78 79# Compatibility options 80#options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 81#options COMPAT_09 # NetBSD 0.9 82#options COMPAT_10 # NetBSD 1.0 83#options COMPAT_11 # NetBSD 1.1 84#options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 85#options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 86#options COMPAT_14 # NetBSD 1.4 87#options COMPAT_15 # NetBSD 1.5 88#options COMPAT_16 # NetBSD 1.6 89#options COMPAT_20 # NetBSD 2.0 90#options COMPAT_30 # NetBSD 3.0 compatibility. 91#options COMPAT_40 # NetBSD 4.0 92#options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 93#options COMPAT_386BSD_MBRPART # recognize old partition ID 94#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 95 96#options COMPAT_SVR4 # binary compatibility with SVR4 97#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 98#options COMPAT_LINUX # binary compatibility with Linux 99#options COMPAT_FREEBSD # binary compatibility with FreeBSD 100options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 101 102# File systems 103file-system FFS # UFS 104#file-system EXT2FS # second extended file system (linux) 105#file-system LFS # log-structured file system 106#file-system MFS # memory file system 107file-system NFS # Network File System client 108file-system CD9660 # ISO 9660 + Rock Ridge file system 109file-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 PORTAL # portal filesystem (still experimental) 114#file-system PROCFS # /proc 115#file-system UMAPFS # NULLFS + uid and gid remapping 116#file-system UNION # union file system 117#file-system PTYFS # /dev/pts/N support 118#file-system TMPFS # Efficient memory file-system 119 120# Filesystem options 121#options QUOTA # UFS quotas 122#options NFSSERVER # Network File System server 123options NFS_V2_ONLY # Exclude NFS3 code to save space 124options FFS_NO_SNAPSHOT # No FFS snapshot support 125#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 126 # immutable) behave as system flags. 127 128# Networking options 129#options GATEWAY # packet forwarding 130options INET # IP + ICMP + TCP + UDP 131#options MROUTING # IP multicast routing 132#options PIM # Protocol Independent Multicast 133#options ISO,TPIP # OSI 134#options EON # OSI tunneling over IP 135#options NETATALK # AppleTalk networking protocols 136#options PPP_BSDCOMP # BSD-Compress compression support for PPP 137#options PPP_DEFLATE # Deflate compression support for PPP 138#options PPP_FILTER # Active filter support for PPP (requires bpf) 139#options PFIL_HOOKS # pfil(9) packet filter hooks 140#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 141 142# These options enable verbose messages for several subsystems. 143# Warning, these may compile large string tables into the kernel! 144#options EISAVERBOSE # verbose EISA device autoconfig messages 145#options PCIVERBOSE # verbose PCI device autoconfig messages 146#options PCI_CONFIG_DUMP # verbosely dump PCI config space 147#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 148#options SCSIVERBOSE # human readable SCSI error messages 149 150# Squeeze... 151options NVNODE=50 152options NBUF=20 153options BUFPAGES=20 154options NMBCLUSTERS=64 155 156# Kernel root file system and dump configuration. 157config netbsd root on ? type ? 158#config netbsd root on sd0a type ffs 159#config netbsd root on ? type nfs 160 161# 162# wscons options 163# 164# builtin terminal emulations 165#options WSEMUL_SUN # sun terminal emulation 166options WSEMUL_VT100 # VT100 / VT220 emulation 167# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 168#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 169#options WS_DEFAULT_FG=WSCOL_WHITE 170#options WS_DEFAULT_BG=WSCOL_BLACK 171#options WS_DEFAULT_COLATTR="(0)" 172#options WS_DEFAULT_MONOATTR="(0)" 173options WS_KERNEL_FG=WSCOL_GREEN 174#options WS_KERNEL_BG=WSCOL_BLACK 175#options WS_KERNEL_COLATTR="" 176#options WS_KERNEL_MONOATTR="" 177# customization of console border color 178#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 179#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 180# compatibility to other console drivers 181options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 182options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 183options WSDISPLAY_COMPAT_USL # VT handling 184options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 185# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 186#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver 187#options UKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for ukbd driver 188# allocate a number of virtual screens at autoconfiguration time 189#options WSDISPLAY_DEFAULTSCREENS=4 190# use a large software cursor that doesn't blink 191options PCDISPLAY_SOFTCURSOR 192 193# 194# Device configuration 195# 196 197mainbus0 at root 198cpu0 at mainbus0 199#apm0 at mainbus0 # Advanced power management 200 201 202# Basic Bus Support 203 204# PCI bus support 205#pci* at mainbus? bus ? 206#pci* at pchb? bus ? 207#pci* at ppb? bus ? 208 209# PCI bridges 210#pchb* at pci? dev ? function ? # PCI-Host bridges 211#pceb* at pci? dev ? function ? # PCI-EISA bridges 212#pcib* at pci? dev ? function ? # PCI-ISA bridges 213#ppb* at pci? dev ? function ? # PCI-PCI bridges 214# XXX 'puc's aren't really bridges, but there's no better place for them here 215#puc* at pci? dev ? function ? # PCI "universal" comm. cards 216 217# As well as 5 and 7, avoid irq 4 and 3 because we do not probe com* here 218options PCIC_ISA_INTR_ALLOC_MASK=0xff47 219 220# PCMCIA bus support 221pcmcia* at pcic? controller ? socket ? 222#pcmcia* at tcic? controller ? socket ? 223 224# ISA PCMCIA controllers 225pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 226pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000 227 228# EISA bus support 229#eisa0 at mainbus? 230#eisa0 at pceb? 231 232# ISA bus support 233isa0 at mainbus? 234#isa0 at pceb? 235#isa0 at pcib? 236 237# ISA Plug-and-Play bus support 238#isapnp0 at isa? 239 240# Coprocessor Support 241 242# Math Coprocessor support 243npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 244 245 246# Console Devices 247 248# wscons 249pckbc0 at isa? # pc keyboard controller 250pckbd* at pckbc? # PC keyboard 251pcdisplay0 at isa? # CGA, MDA, EGA, HGA 252wsdisplay* at pcdisplay? console ? 253wskbd* at pckbd? console ? 254#wsmouse* at pms? mux 0 255 256# Serial Devices 257 258# PCI serial interfaces 259#com* at puc? port ? # 16x50s on "universal" comm boards 260#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 261 262# ISA Plug-and-Play serial interfaces 263#com* at isapnp? # Modems and serial boards 264 265# PCMCIA serial interfaces 266#com* at pcmcia? function ? # Modems and serial cards 267 268# ISA serial interfaces 269#options COM_HAYESP # adds Hayes ESP serial board support 270#com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 271#com1 at isa? port 0x2f8 irq 3 272#com2 at isa? port 0x3e8 irq 5 273#com3 at isa? port 0x2e8 irq 9 274#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 275#com* at ast? slave ? 276#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 277#com* at boca? slave ? 278#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 279#com* at rtfps? slave ? 280#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 281 282 283# Parallel Printer Interfaces 284 285# PCI parallel printer interfaces 286#lpt* at puc? port ? # || ports on "universal" comm boards 287 288# ISA parallel printer interfaces 289#lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 290#lpt1 at isa? port 0x278 291#lpt2 at isa? port 0x3bc 292 293# I2O devices 294#iop* at pci? dev ? function ? # I/O processor 295#iopsp* at iop? tid ? # SCSI/FC-AL ports 296#ld* at iop? tid ? # block devices 297#dpti* at iop? tid 0 # DPT/Adaptec control interface 298 299# SCSI Controllers and Devices 300 301# PCI SCSI controllers 302#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 303#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 304#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 305#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 306#mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID 307#siop* at pci? dev ? function ? # NCR 53c8xx SCSI 308 309# EISA SCSI controllers 310#ahb* at eisa? slot ? # Adaptec 174[02] SCSI 311#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 312#bha* at eisa? slot ? # BusLogic 7xx SCSI 313#dpt* at eisa? slot ? # DPT SmartCache/SmartRAID 314#uha* at eisa? slot ? # UltraStor 24f SCSI 315 316# PCMCIA SCSI controllers 317#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 318 319# ISA Plug-and-Play SCSI controllers 320#aic* at isapnp? # Adaptec AHA-1520B 321 322# ISA SCSI controllers 323#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 324#aha1 at isa? port 0x334 irq ? drq ? 325#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 326#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 327#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 328#bha1 at isa? port 0x334 irq ? drq ? 329# The "nca" and "dpt" probes might give false hits or hang your machine. 330#dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID 331#nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller 332#nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.) 333#sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 334#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 335#uha1 at isa? port 0x340 irq ? drq ? 336#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 337#wds1 at isa? port 0x358 irq 11 drq 5 338 339# SCSI bus support 340#scsibus* at scsi? 341 342# SCSI devices 343#sd* at scsibus? target ? lun ? # SCSI disk drives 344#st* at scsibus? target ? lun ? # SCSI tape drives 345#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 346#ch* at scsibus? target ? lun ? # SCSI autochangers 347#ss* at scsibus? target ? lun ? # SCSI scanners 348#uk* at scsibus? target ? lun ? # SCSI unknown 349 350 351# RAID controllers and devices 352#aac* at pci? dev ? function ? # Adaptec AAC family 353#cac* at eisa? slot ? # Compaq EISA array controllers 354#cac* at pci? dev ? function ? # Compaq PCI array controllers 355#ciss* at pci? dev ? function ? # HP Smart Array controllers 356#icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID 357#mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family 358#mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family 359#twe* at pci? dev ? function ? # 3ware Escalade RAID controllers 360 361#ld* at aac? unit ? # logical disk devices 362#ld* at cac? unit ? 363#ld* at icp? unit ? 364#ld* at twe? unit ? 365#ld* at mlx? unit ? 366 367#icpsp* at icp? unit ? # SCSI pass-through 368 369 370# IDE and related devices 371 372# PCMCIA IDE controllers 373wdc* at pcmcia? function ? 374 375# ST506, ESDI, and ISA IDE controllers 376# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 377# fall back to 16bits I/O if 32bits I/O are not functional). 378# Some controllers pass the initial 32bit test, but will fail later. 379wdc0 at isa? port 0x1f0 irq 14 flags 0x00 380wdc1 at isa? port 0x170 irq 15 flags 0x00 381 382# ATA (IDE) bus support 383atabus* at ata? 384 385# IDE drives 386wd* at atabus? drive ? # the drives themselves 387 388# ATAPI bus support 389atapibus* at atapi? 390 391# ATAPI devices 392cd* at atapibus? drive ? # ATAPI CD-ROM drives 393#sd* at atapibus? drive ? # ATAPI disk drives 394 395 396# Miscellaneous mass storage devices 397 398# ISA floppy 399fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 400#fdc1 at isa? port 0x370 irq ? drq ? 401fd* at fdc? drive ? # the drives themselves 402# some machines need you to do this instead of fd* 403#fd0 at fdc0 drive 0 404 405# ISA CD-ROM devices 406#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 407 408# ISA tape devices 409# note: the wt driver conflicts unpleasantly with ed devices at the 410# same I/O address. The probe reprograms their EEPROMs. Don't 411# uncomment it unless you are actually using it. 412#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 413 414 415# Network Interfaces 416 417# PCI network interfaces 418#en* at pci? dev ? function ? # ENI/Adaptec ATM 419#ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 420#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 421#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 422#le* at pci? dev ? function ? # PCnet-PCI Ethernet 423#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 424#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 425#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 426 427# EISA network interfaces 428#ep* at eisa? slot ? # 3Com 3c579 Ethernet 429#fea* at eisa? slot ? # DEC DEFEA FDDI 430 431# ISA Plug-and-Play network interfaces 432#ep* at isapnp? # 3Com 3c509 Ethernet 433#ne* at isapnp? # NE2000-compatible Ethernet 434 435# PCMCIA network interfaces 436ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 437mbe* at pcmcia? function ? # MB8696x based Ethernet 438ne* at pcmcia? function ? # NE2000-compatible Ethernet 439sm* at pcmcia? function ? # Megahertz Ethernet 440 441# ISA network interfaces 442ate0 at isa? port 0x2a0 irq ? # AT1700 443ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 444#eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 445#el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 446ep0 at isa? port ? irq ? # 3C509 ethernet cards 447#ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 448ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 449fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 450ix0 at isa? port 0x300 irq 10 # EtherExpress/16 451iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 452lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 453#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 454#le* at depca? 455#nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 456#le* at nele? 457#bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 458#le* at bicc? 459ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 460ne1 at isa? port 0x300 irq 10 461sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 462we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 463we1 at isa? port 0x300 iomem 0xcc000 irq 10 464 465# MII bus support 466#mii* at tl? 467 468# MII PHY network interfaces 469#tlphy* at mii? dev ? # ThunderLAN PHYs 470#nsphy* at mii? dev ? # NS and compatible PHYs 471#ukphy* at mii? phy ? # generic unknown PHYs 472 473 474# Audio Devices 475 476# ISA Plug-and-Play audio devices 477#guspnp* at isapnp? # Gravis Ultra Sound PnP audio 478#sb* at isapnp? # SoundBlaster-compatible audio 479 480# ISA audio devices 481#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 482#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 483#sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster 484#wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 485 486# Audio support 487#audio* at audiobus? 488 489# The spkr driver provides a simple tone interface to the built in speaker. 490#spkr0 at pcppi? # PC speaker 491 492 493# Joysticks 494 495# ISA Plug-and-Play joysticks 496#joy* at isapnp? # Game ports (usually on audio cards) 497 498# ISA joysticks. Probe is a little strange; add only if you have one. 499#joy0 at isa? port 0x201 500 501 502# Miscellaneous Devices 503 504# Planetconnect Satellite receiver driver. 505#satlink0 at isa? port 0x300 drq 1 506 507 508# Pull in optional local configuration 509include "arch/i386/conf/INSTALL.local" 510 511 512# Pseudo-Devices 513 514# disk/mass storage pseudo-devices 515#pseudo-device ccd 4 # concatenated/striped disk devices 516#pseudo-device fss 4 # file system snapshot device 517pseudo-device md 1 # memory disk device (ramdisk) 518#pseudo-device vnd # disk-like interface to files 519 520# network pseudo-devices 521#pseudo-device bpfilter # Berkeley packet filter 522#pseudo-device ipfilter # IP filter (firewall) and NAT 523pseudo-device loop # network loopback 524#pseudo-device ppp # Point-to-Point Protocol 525#pseudo-device sl # Serial Line IP 526#pseudo-device strip # Starmode Radio IP (Metricom) 527#pseudo-device tun # network tunneling over tty 528 529# miscellaneous pseudo-devices 530pseudo-device pty 2 # pseudo-terminals (Sysinst needs two) 531options NO_DEV_PTM 532#pseudo-device rnd # /dev/random and in-kernel generator 533#options RND_COM # use "com" randomness as well (BROKEN) 534