INSTALL revision 1.7
11.7Stsutsui#	$NetBSD: INSTALL,v 1.7 2001/09/05 11:54:43 tsutsui Exp $
21.1Snonaka#
31.1Snonaka#	INSTALL -- Installation kernel
41.1Snonaka#
51.1Snonaka
61.1Snonakainclude "arch/prep/conf/std.prep"
71.1Snonaka
81.1Snonakamakeoptions	COPTS="-Os -mmultiple"	# -Os -mmultiple to reduce size.
91.1Snonaka
101.1Snonaka# Enable the hooks used for initializing the ram-disk.
111.1Snonakaoptions 	MEMORY_DISK_HOOKS
121.1Snonakaoptions 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
131.1Snonakaoptions 	MINIROOTSIZE=4096	# 2 Megabytes
141.1Snonaka
151.1Snonakamaxusers	8
161.1Snonaka
171.1Snonaka# Compatibility options
181.1Snonaka#options 	COMPAT_13	# NetBSD 1.3,
191.3Snonakaoptions 	COMPAT_14	# NetBSD 1.4,
201.3Snonakaoptions 	COMPAT_43	# and 4.3BSD
211.1Snonaka
221.1Snonaka# File systems
231.1Snonakafile-system 	FFS		# UFS
241.1Snonakafile-system	EXT2FS		# second extended file system (linux)
251.1Snonakafile-system 	MFS		# memory file system
261.1Snonakafile-system 	NFS		# Network File System client
271.1Snonakafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
281.1Snonakafile-system 	MSDOSFS		# MS-DOS file system
291.1Snonaka
301.1Snonaka# File system options
311.1Snonakaoptions 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
321.3Snonaka#options 	FFS_EI		# FFS Endian Independant support
331.1Snonaka#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
341.1Snonaka 				# immutable) behave as system flags.
351.1Snonaka
361.1Snonaka# Networking options
371.1Snonakaoptions 	INET		# IP + ICMP + TCP + UDP
381.1Snonakaoptions 	NFS_BOOT_BOOTPARAM
391.1Snonakaoptions 	NFS_BOOT_DHCP
401.1Snonaka
411.1Snonaka# Kernel root file system and dump configuration.
421.1Snonakaconfig	netbsd	root on ? type ?
431.1Snonaka
441.1Snonaka
451.1Snonaka#
461.1Snonaka# Device configuration
471.1Snonaka#
481.1Snonaka
491.1Snonakamainbus0 at root
501.1Snonakacpu0	at mainbus0
511.1Snonaka
521.1Snonaka
531.1Snonaka# Basic Bus Support
541.1Snonaka
551.1Snonaka# PCI bus support
561.1Snonakapci0	at mainbus0 bus ?
571.1Snonakapci*	at pchb? bus ?
581.1Snonaka
591.3Snonakaoptions 	PCI_NETBSD_CONFIGURE
601.3Snonaka
611.1Snonaka# PCI bridges
621.1Snonakapchb*	at pci? dev ? function ?	# PCI-Host bridges
631.1Snonakapcib*	at pci? dev ? function ?	# PCI-ISA bridges
641.1Snonaka
651.1Snonaka# ISA bus support
661.1Snonakaisa*	at pcib?			# ISA on PCI-ISA bridge
671.1Snonaka
681.1Snonaka# PCMCIA bus support
691.1Snonakapcmcia* at pcic? controller ? socket ?
701.1Snonaka
711.1Snonaka# ISA PCMCIA controllers
721.1Snonakapcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
731.1Snonaka
741.1Snonaka#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
751.1Snonaka#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
761.1Snonaka#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
771.1Snonaka
781.1Snonaka# ISA Plug-and-Play bus support
791.1Snonakaisapnp0 at isa?
801.1Snonaka
811.1Snonaka# Console Devices
821.1Snonaka
831.1Snonaka# ISA console.
841.1Snonakapc0	at isa? port 0x60 irq 1		# generic PC console device
851.1Snonaka
861.1Snonaka# Keyboard layout configuration for pccons
871.1Snonaka#options	FRENCH_KBD
881.1Snonaka#options	FINNISH_KBD
891.1Snonaka#options	GERMAN_KBD
901.1Snonaka#options	NORWEGIAN_KBD
911.1Snonaka
921.1Snonakamcclock0 at isa? port 0x70		# mc146818 and compatible
931.1Snonaka
941.1Snonaka
951.1Snonaka# Serial Devices
961.1Snonaka
971.1Snonaka# ISA serial interfaces
981.1Snonakacom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
991.1Snonakacom1	at isa? port 0x2f8 irq 3
1001.1Snonaka
1011.1Snonaka# Parallel Printer Interfaces
1021.1Snonaka
1031.1Snonaka# ISA parallel printer interfaces
1041.1Snonakalpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
1051.1Snonaka
1061.1Snonaka
1071.1Snonaka# SCSI Controllers and Devices
1081.1Snonaka
1091.1Snonaka# PCI SCSI controllers
1101.6Sbriggsadw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
1111.5Snonakaahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1121.4Stsutsuiiha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
1131.1Snonakapcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1141.3Snonakasiop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
1151.1Snonaka
1161.1Snonaka# PCMCIA SCSI controllers
1171.1Snonakaaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1181.1Snonaka
1191.1Snonaka# SCSI bus support
1201.6Sbriggsscsibus* at adw?
1211.5Snonakascsibus* at ahc?
1221.1Snonakascsibus* at aic?
1231.4Stsutsuiscsibus* at iha?
1241.1Snonakascsibus* at pcscp?
1251.3Snonakascsibus* at siop?
1261.1Snonaka
1271.1Snonaka# SCSI devices
1281.1Snonakasd*	at scsibus? target ? lun ?	# SCSI disk drives
1291.1Snonakast*	at scsibus? target ? lun ?	# SCSI tape drives
1301.1Snonakacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1311.1Snonaka
1321.1Snonaka
1331.1Snonaka# IDE and related devices
1341.1Snonaka
1351.1Snonaka# PCMCIA IDE controllers
1361.1Snonakawdc*	at pcmcia? function ?
1371.1Snonaka
1381.1Snonaka# IDE drives
1391.1Snonaka# Flags are used only with controllers that support DMA operations
1401.1Snonaka# and mode settings (e.g. some pciide controllers)
1411.1Snonaka# The lowest order four bits (rightmost digit) of the flags define the PIO
1421.1Snonaka# mode to use, the next set of four bits the DMA mode and the third set the
1431.1Snonaka# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1441.1Snonaka# to use, and the last bit must be 1 for this setting to be used.
1451.1Snonaka# For DMA and UDMA, 0xf (1111) means 'disable'.
1461.1Snonaka# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1471.1Snonaka# (0xc=1100, 0xa=1010, 0xf=1111)
1481.1Snonaka# 0x0000 means "use whatever the drive claims to support".
1491.1Snonakawd*	at wdc? channel ? drive ? flags 0x0000
1501.1Snonaka
1511.1Snonaka# ATAPI bus support
1521.1Snonakaatapibus* at wdc? channel ?
1531.1Snonaka
1541.1Snonaka# ATAPI devices
1551.1Snonaka# flags have the same meaning as for IDE drives.
1561.1Snonakacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1571.1Snonakasd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1581.1Snonaka
1591.1Snonaka# Miscellaneous mass storage devices
1601.1Snonaka
1611.1Snonaka# ISA floppy
1621.1Snonakafdc0	at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
1631.1Snonakafd*	at fdc? drive ?
1641.1Snonaka
1651.1Snonaka# Network Interfaces
1661.1Snonaka
1671.1Snonaka# PCI network interfaces
1681.1Snonakade*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
1691.1Snonakaep*	at pci? dev ? function ?	# 3Com 3c59x
1701.5Snonakafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
1711.1Snonakane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
1721.7Stsutsuipcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
1731.5Snonakartk*	at pci? dev ? function ?	# Realtek 8129/8139
1741.7Stsutsuisip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
1751.7Stsutsuitlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
1761.7Stsutsui#options 	TLP_MATCH_21040
1771.7Stsutsui#options 	TLP_MATCH_21041
1781.7Stsutsui#options 	TLP_MATCH_21140
1791.7Stsutsui#options 	TLP_MATCH_21142
1801.1Snonakavr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
1811.1Snonaka
1821.5Snonaka# ISA network interfaces
1831.5Snonakaep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
1841.5Snonaka
1851.1Snonaka# ISA Plug-and-Play network intefaces
1861.1Snonakaep*	at isapnp?			# 3Com 3c509 Ethernet
1871.5Snonakane*	at isapnp?			# NE2000-compatible Ethernet
1881.1Snonaka
1891.1Snonaka# PCMCIA network interfaces
1901.1Snonakaep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1911.1Snonakane*	at pcmcia? function ?		# NE2000-compatible Ethernet
1921.1Snonaka
1931.1Snonaka# MII/PHY support
1941.5Snonakainphy*	at mii? phy ?			# Intel 82555 PHYs
1951.5Snonakansphy*	at mii? phy ?			# NS83840 PHYs
1961.7Stsutsuiqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
1971.7Stsutsuisqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
1981.1Snonakaukphy*	at mii? phy ?			# generic unknown PHYs
1991.1Snonaka
2001.1Snonaka
2011.1Snonaka# Pseudo-Devices
2021.1Snonaka
2031.1Snonaka# disk/mass storage pseudo-devices
2041.1Snonakapseudo-device	md		1	# memory disk device (ramdisk)
2051.1Snonaka
2061.1Snonaka# network pseudo-devices
2071.1Snonakapseudo-device	loop			# network loopback
2081.1Snonaka
2091.1Snonaka# miscellaneous pseudo-devices
2101.1Snonakapseudo-device	pty			# pseudo-terminals
2111.1Snonakapseudo-device	rnd			# /dev/random and in-kernel generator
2121.1Snonaka#options	RND_COM			# use "com" randomness as well
213