INSTALL revision 1.63
1# $NetBSD: INSTALL,v 1.63 2018/07/14 14:56:02 maxv Exp $ 2# 3# First try for BeBox config file 4# 5 6include "arch/bebox/conf/std.bebox" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10maxusers 32 11 12makeoptions COPTS="-Os" # Optimise for space. Implies -O2 13 14# Enable the hooks used for initializing the root memory-disk. 15options MEMORY_DISK_HOOKS 16options MEMORY_DISK_IS_ROOT # force root on memory disk 17options MEMORY_DISK_SERVER=0 # no userspace memory disk support 18options MEMORY_DISK_ROOT_SIZE=4096 # size of memory disk, in blocks 19options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 20 21#options IPKDBUSERHACK # Allow access to mapped memory via kgdb 22# HMAC key to be used for debugging sessions 23#options IPKDBKEY="\"HMAC pass phrase text\"" 24#options IPKDBSECURE # Allow debugging even when securelevel > 0 25#makeoptions DEBUG="-g" 26 27#options DEBUG 28#options DIAGNOSTIC 29#options TRAP_PANICWAIT 30#options DDB 31#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 32#options KTRACE 33options USERCONF # userconf(4) support 34options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 35#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 36 37#include "conf/compat_netbsd09.config" 38#options COMPAT_386BSD_MBRPART # recognize old partition ID 39 40# File systems 41file-system FFS 42#file-system EXT2FS 43file-system MFS 44file-system NFS 45file-system CD9660 46file-system MSDOSFS 47#file-system FDESC 48file-system KERNFS 49#file-system NULLFS 50#file-system PROCFS 51#file-system UMAPFS 52#file-system UNION 53file-system PTYFS # /dev/pts/N support 54#file-system TMPFS 55 56# Filesystem options 57#options DISKLABEL_EI # disklabel Endian Independent support 58#options FFS_EI # FFS Endian Independent support 59options NFS_V2_ONLY # Exclude NFS3 code to save space 60#options FFS_NO_SNAPSHOT # No FFS snapshot support 61#options WAPBL # File system journaling support 62 63#options NFSSERVER 64 65options INET 66 67options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 68 69#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 70 71# wscons options 72# builtin terminal emulations 73#options WSEMUL_SUN # sun terminal emulation 74options WSEMUL_VT100 # VT100 / VT220 emulation 75options WS_DEFAULT_FG=WSCOL_LIGHT_WHITE 76# compatibility to other console drivers 77options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 78options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 79 80config netbsd root on ? type ffs 81 82# 83# device 84# 85options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 86 87#options PCIVERBOSE # verbose PCI device messages 88#options PCI_CONFIG_DUMP # verbosely dump PCI config space 89 90mainbus0 at root 91 92cpu* at mainbus0 93pci0 at mainbus0 bus ? 94 95#ppb* at pci? dev ? function ? # PCI-PCI bridges 96#pci* at ppb? bus ? 97pchb* at pci? dev ? function ? # PCI-Host bridges 98pcib* at pci? dev ? function ? # PCI-ISA bridges 99 100isa* at pcib? # ISA on PCI-ISA bridge 101 102# Console Devices 103 104# wscons 105pckbc0 at isa? # pc keyboard controller 106pckbd* at pckbc? # PC keyboard 107#pms* at pckbc? # PS/2 mouse for wsmouse 108#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume 109#options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads 110genfb* at pci? dev ? function ? 111options WSFB_FAKE_VGA_FB 112vga* at pci? dev ? function ? 113wsdisplay* at vga? console ? 114wskbd* at pckbd? console ? 115#wsmouse* at pms? mux 0 116 117# make sure the console display is always wsdisplay0 118wsdisplay0 at wsemuldisplaydev? console 1 119wsdisplay* at wsemuldisplaydev? 120 121com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 122com1 at isa? port 0x2f8 irq 3 123#com2 at isa? port 0x380 irq 16 124#com3 at isa? port 0x388 irq 17 125 126#lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 127 128mcclock0 at isa? port 0x70 # time-of-day clock 129attimer0 at isa? 130 131siop* at pci? dev ? function ? # NCR 538XX SCSI controllers 132scsibus* at siop? 133 134sd* at scsibus? target ? lun ? # SCSI disk drives 135#st* at scsibus? target ? lun ? # SCSI tape drives 136cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 137#ch* at scsibus? target ? lun ? # SCSI autochangers 138#ss* at scsibus? target ? lun ? # SCSI scanners 139#uk* at scsibus? target ? lun ? # SCSI unknown 140 141fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 142#fdc1 at isa? port 0x370 irq ? drq ? 143fd0 at fdc? drive 1 144#fd* at fdc? drive ? 145 146wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 147atabus* at ata? 148wd* at atabus? drive ? 149 150# ATAPI bus support 151atapibus* at atapi? 152 153# ATAPI devices 154# flags have the same meaning as for IDE drives. 155cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 156#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 157#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 158#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 159 160# Network devices 161ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 162ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards 163fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 164ne* at pci? dev ? function ? # NE2000-compatible Ethernet 165tlp* at pci? dev ? function ? # DECchip 21x4x and clones 166 167# MII/PHY support 168ukphy* at mii? phy ? # generic unknown PHYs 169 170#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System 171#spkr* at pcppi? 172 173# Joystick driver. Probe is a little strange; add only if you have one. 174#joy0 at isa? port 0x201 175 176#pseudo-device vnd 177#pseudo-device fss # file system snapshot device 178pseudo-device md 179pseudo-device loop 180#pseudo-device bpfilter # packet filter 181pseudo-device pty # pseudo-terminals 182