INSTALL revision 1.23.2.10       1  1.23.2.10  christos #	$NetBSD: INSTALL,v 1.23.2.10 2005/12/11 10:28:25 christos Exp $
      2        1.1    nonaka #
      3        1.1    nonaka #	INSTALL -- Installation kernel
      4        1.1    nonaka #
      5        1.1    nonaka 
      6        1.1    nonaka include "arch/prep/conf/std.prep"
      7       1.17    atatat 
      8       1.17    atatat #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9        1.1    nonaka 
     10        1.1    nonaka makeoptions	COPTS="-Os -mmultiple"	# -Os -mmultiple to reduce size.
     11        1.1    nonaka 
     12        1.1    nonaka # Enable the hooks used for initializing the ram-disk.
     13        1.1    nonaka options 	MEMORY_DISK_HOOKS
     14        1.1    nonaka options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
     15       1.12     lukem options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
     16        1.1    nonaka 
     17        1.1    nonaka maxusers	8
     18       1.18    nonaka 
     19       1.18    nonaka # Platform support
     20   1.23.2.8     skrll options 	PLATFORM_IBM_6015		# IBM RS/6000 40P
     21       1.23      matt options 	PLATFORM_IBM_6040		# IBM ThinkPad 820
     22       1.18    nonaka options 	PLATFORM_IBM_6050		# IBM Personal Power Series 830
     23       1.18    nonaka options 	PLATFORM_IBM_7248		# IBM RS/6000 7248-100/120/133
     24       1.20    nonaka options 	PLATFORM_IBM_7043_140		# IBM RS/6000 43P 7043-140
     25       1.18    nonaka options 	PLATFORM_MOTOROLA_ULMB60XA	# Motorola ULMB60xA (?)
     26        1.1    nonaka 
     27       1.20    nonaka options 	OPENPIC				# OpenPIC support (7043-140)
     28       1.20    nonaka 
     29        1.1    nonaka # Compatibility options
     30   1.23.2.1     skrll #options 	COMPAT_13	# NetBSD 1.3,
     31   1.23.2.1     skrll #options 	COMPAT_14	# NetBSD 1.4,
     32   1.23.2.1     skrll #options 	COMPAT_15	# NetBSD 1.5,
     33   1.23.2.1     skrll #options 	COMPAT_16	# NetBSD 1.6,
     34   1.23.2.1     skrll #options 	COMPAT_43	# and 4.3BSD
     35   1.23.2.4     skrll options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     36        1.1    nonaka 
     37        1.1    nonaka # File systems
     38        1.1    nonaka file-system 	FFS		# UFS
     39        1.1    nonaka file-system	EXT2FS		# second extended file system (linux)
     40        1.1    nonaka file-system 	MFS		# memory file system
     41        1.1    nonaka file-system 	NFS		# Network File System client
     42        1.1    nonaka file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     43        1.1    nonaka file-system 	MSDOSFS		# MS-DOS file system
     44   1.23.2.9     skrll #file-system	PTYFS		# /dev/pts/N support
     45        1.1    nonaka 
     46        1.1    nonaka # File system options
     47        1.3    nonaka #options 	FFS_EI		# FFS Endian Independant support
     48  1.23.2.10  christos #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     49        1.1    nonaka #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     50        1.1    nonaka  				# immutable) behave as system flags.
     51       1.10  jdolecek 
     52   1.23.2.1     skrll #options 	USERCONF	# userconf(4) support
     53       1.21       abs options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     54   1.23.2.1     skrll #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     55       1.21       abs options 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
     56        1.1    nonaka 
     57        1.1    nonaka # Networking options
     58        1.1    nonaka options 	INET		# IP + ICMP + TCP + UDP
     59        1.1    nonaka options 	NFS_BOOT_BOOTPARAM
     60        1.1    nonaka options 	NFS_BOOT_DHCP
     61        1.1    nonaka 
     62        1.9     soren #
     63        1.9     soren # wscons options
     64        1.9     soren #
     65        1.9     soren # builtin terminal emulations
     66        1.9     soren options 	WSEMUL_VT100		# VT100 / VT220 emulation
     67        1.9     soren # different kernel output - see dev/wscons/wsdisplayvar.h
     68        1.9     soren options 	WS_KERNEL_FG=WSCOL_GREEN
     69        1.9     soren #options 	WS_KERNEL_BG=WSCOL_BLACK
     70        1.9     soren # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
     71        1.9     soren #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
     72        1.9     soren # allocate a number of virtual screens at autoconfiguration time
     73        1.9     soren #options 	WSDISPLAY_DEFAULTSCREENS=4
     74        1.9     soren # use a large software cursor that doesn't blink
     75        1.9     soren options 	PCDISPLAY_SOFTCURSOR
     76        1.9     soren 
     77        1.1    nonaka # Kernel root file system and dump configuration.
     78        1.1    nonaka config	netbsd	root on ? type ?
     79        1.1    nonaka 
     80        1.1    nonaka 
     81        1.1    nonaka #
     82        1.1    nonaka # Device configuration
     83        1.1    nonaka #
     84        1.1    nonaka 
     85        1.1    nonaka mainbus0 at root
     86        1.1    nonaka cpu0	at mainbus0
     87        1.1    nonaka 
     88        1.1    nonaka 
     89        1.1    nonaka # Basic Bus Support
     90        1.1    nonaka 
     91        1.1    nonaka # PCI bus support
     92        1.1    nonaka pci0	at mainbus0 bus ?
     93        1.1    nonaka pci*	at pchb? bus ?
     94       1.20    nonaka pci*	at ppb? bus ?
     95        1.1    nonaka 
     96        1.3    nonaka options 	PCI_NETBSD_CONFIGURE
     97        1.3    nonaka 
     98        1.1    nonaka # PCI bridges
     99        1.1    nonaka pchb*	at pci? dev ? function ?	# PCI-Host bridges
    100        1.1    nonaka pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    101       1.20    nonaka ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    102        1.1    nonaka 
    103        1.1    nonaka # ISA bus support
    104        1.1    nonaka isa*	at pcib?			# ISA on PCI-ISA bridge
    105        1.1    nonaka 
    106        1.1    nonaka # PCMCIA bus support
    107   1.23.2.1     skrll #pcmcia* at pcic? controller ? socket ?
    108        1.1    nonaka 
    109        1.1    nonaka # ISA PCMCIA controllers
    110   1.23.2.1     skrll #pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    111        1.1    nonaka 
    112        1.1    nonaka #options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
    113        1.1    nonaka #options 	PCIC_ISA_ALLOC_IOBASE=0x0400
    114        1.1    nonaka #options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
    115        1.1    nonaka 
    116        1.1    nonaka # ISA Plug-and-Play bus support
    117   1.23.2.1     skrll #isapnp0 at isa?
    118        1.1    nonaka 
    119       1.19    nonaka # on-board I/O for IBM Personal Power Series 830 IDE controller
    120       1.19    nonaka obio0	at mainbus0
    121       1.19    nonaka 
    122       1.19    nonaka 
    123        1.1    nonaka # Console Devices
    124        1.1    nonaka 
    125        1.9     soren # wscons
    126        1.9     soren pckbc0		at isa?			# pc keyboard controller
    127        1.9     soren pckbd*		at pckbc?		# PC keyboard
    128   1.23.2.1     skrll #pms*		at pckbc?		# PS/2 mouse for wsmouse
    129        1.9     soren vga*		at pci?
    130        1.9     soren wsdisplay*	at vga? console ?
    131        1.9     soren wskbd*		at pckbd? console ?
    132   1.23.2.1     skrll #wsmouse*	at pms? mux 0
    133        1.1    nonaka 
    134        1.1    nonaka mcclock0 at isa? port 0x70		# mc146818 and compatible
    135       1.20    nonaka mkclock0 at isa? port 0x74		# mk48t18 and compatible
    136        1.1    nonaka 
    137        1.1    nonaka 
    138        1.1    nonaka # Serial Devices
    139        1.1    nonaka 
    140        1.1    nonaka # ISA serial interfaces
    141        1.1    nonaka com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    142        1.1    nonaka com1	at isa? port 0x2f8 irq 3
    143        1.1    nonaka 
    144        1.1    nonaka # Parallel Printer Interfaces
    145        1.1    nonaka 
    146        1.1    nonaka # ISA parallel printer interfaces
    147   1.23.2.1     skrll #lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
    148        1.1    nonaka 
    149        1.1    nonaka 
    150        1.1    nonaka # SCSI Controllers and Devices
    151        1.1    nonaka 
    152        1.1    nonaka # PCI SCSI controllers
    153   1.23.2.1     skrll #adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    154   1.23.2.1     skrll #ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    155   1.23.2.1     skrll #esiop*	at pci? dev ? function ?	# Symbios 53c825/875 and newer chips
    156   1.23.2.1     skrll #iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    157   1.23.2.1     skrll #pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    158        1.3    nonaka siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
    159        1.1    nonaka 
    160        1.1    nonaka # PCMCIA SCSI controllers
    161   1.23.2.1     skrll #aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    162        1.1    nonaka 
    163        1.1    nonaka # SCSI bus support
    164   1.23.2.1     skrll #scsibus* at adw?
    165   1.23.2.1     skrll #scsibus* at ahc?
    166   1.23.2.1     skrll #scsibus* at aic?
    167   1.23.2.1     skrll #scsibus* at esiop?
    168   1.23.2.1     skrll #scsibus* at iha?
    169   1.23.2.1     skrll #scsibus* at pcscp?
    170        1.3    nonaka scsibus* at siop?
    171        1.1    nonaka 
    172        1.1    nonaka # SCSI devices
    173        1.1    nonaka sd*	at scsibus? target ? lun ?	# SCSI disk drives
    174        1.1    nonaka st*	at scsibus? target ? lun ?	# SCSI tape drives
    175        1.1    nonaka cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    176        1.1    nonaka 
    177        1.1    nonaka 
    178        1.1    nonaka # IDE and related devices
    179       1.19    nonaka 
    180       1.19    nonaka # IBM Personal Power Series 830 IDE controller
    181       1.19    nonaka wdc0	at obio? port 0x1f0 irq 13
    182       1.19    nonaka wdc1	at obio? port 0x170 irq 13
    183       1.19    nonaka 
    184       1.19    nonaka # ISA Plug-and-Play IDE controllers
    185   1.23.2.1     skrll #wdc*	at isapnp?
    186        1.1    nonaka 
    187        1.1    nonaka # PCMCIA IDE controllers
    188   1.23.2.1     skrll #wdc*	at pcmcia? function ?
    189   1.23.2.1     skrll 
    190   1.23.2.1     skrll # ATA (IDE) bus support
    191   1.23.2.1     skrll atabus* at ata?
    192        1.1    nonaka 
    193        1.1    nonaka # IDE drives
    194        1.1    nonaka # Flags are used only with controllers that support DMA operations
    195        1.1    nonaka # and mode settings (e.g. some pciide controllers)
    196        1.1    nonaka # The lowest order four bits (rightmost digit) of the flags define the PIO
    197        1.1    nonaka # mode to use, the next set of four bits the DMA mode and the third set the
    198        1.1    nonaka # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    199        1.1    nonaka # to use, and the last bit must be 1 for this setting to be used.
    200        1.1    nonaka # For DMA and UDMA, 0xf (1111) means 'disable'.
    201        1.1    nonaka # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    202        1.1    nonaka # (0xc=1100, 0xa=1010, 0xf=1111)
    203        1.1    nonaka # 0x0000 means "use whatever the drive claims to support".
    204   1.23.2.1     skrll wd*	at atabus? drive ? flags 0x0000
    205        1.1    nonaka 
    206        1.1    nonaka # ATAPI bus support
    207   1.23.2.1     skrll atapibus* at atapi?
    208        1.1    nonaka 
    209        1.1    nonaka # ATAPI devices
    210        1.1    nonaka # flags have the same meaning as for IDE drives.
    211        1.1    nonaka cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    212        1.1    nonaka sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    213        1.1    nonaka 
    214        1.1    nonaka # Miscellaneous mass storage devices
    215        1.1    nonaka 
    216        1.1    nonaka # ISA floppy
    217   1.23.2.1     skrll #fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    218   1.23.2.1     skrll #fd*	at fdc? drive ?
    219        1.1    nonaka 
    220        1.1    nonaka # Network Interfaces
    221        1.1    nonaka 
    222        1.1    nonaka # PCI network interfaces
    223   1.23.2.1     skrll #ep*	at pci? dev ? function ?	# 3Com 3c59x
    224   1.23.2.1     skrll #ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
    225   1.23.2.1     skrll #fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    226   1.23.2.1     skrll #ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    227        1.7   tsutsui pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
    228   1.23.2.1     skrll #rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    229   1.23.2.1     skrll #sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
    230       1.15   mycroft tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    231   1.23.2.1     skrll #vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    232        1.1    nonaka 
    233        1.5    nonaka # ISA network interfaces
    234   1.23.2.1     skrll #ep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
    235        1.5    nonaka 
    236        1.1    nonaka # ISA Plug-and-Play network intefaces
    237   1.23.2.1     skrll #ep*	at isapnp?			# 3Com 3c509 Ethernet
    238   1.23.2.1     skrll #ne*	at isapnp?			# NE2000-compatible Ethernet
    239        1.1    nonaka 
    240        1.1    nonaka # PCMCIA network interfaces
    241   1.23.2.1     skrll #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    242   1.23.2.1     skrll #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    243        1.1    nonaka 
    244        1.1    nonaka # MII/PHY support
    245   1.23.2.1     skrll #exphy*	at mii? phy ?			# 3Com internal PHYs
    246   1.23.2.1     skrll #inphy*	at mii? phy ?			# Intel 82555 PHYs
    247        1.5    nonaka nsphy*	at mii? phy ?			# NS83840 PHYs
    248   1.23.2.1     skrll #qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    249   1.23.2.1     skrll #sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    250        1.1    nonaka ukphy*	at mii? phy ?			# generic unknown PHYs
    251        1.1    nonaka 
    252        1.1    nonaka 
    253        1.1    nonaka # Pseudo-Devices
    254        1.1    nonaka 
    255        1.1    nonaka # disk/mass storage pseudo-devices
    256        1.1    nonaka pseudo-device	md		1	# memory disk device (ramdisk)
    257   1.23.2.5     skrll #pseudo-device	fss		4	# file system snapshot device
    258        1.1    nonaka 
    259        1.1    nonaka # network pseudo-devices
    260        1.1    nonaka pseudo-device	loop			# network loopback
    261        1.1    nonaka 
    262        1.1    nonaka # miscellaneous pseudo-devices
    263        1.1    nonaka pseudo-device	pty			# pseudo-terminals
    264        1.1    nonaka pseudo-device	rnd			# /dev/random and in-kernel generator
    265        1.8     lukem #options 	RND_COM			# use "com" randomness as well
    266