INSTALL revision 1.3
11.1Snonaka#	$NetBSD: INSTALL,v 1.3 2001/06/20 14:37:47 nonaka 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.1Snonakapcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1111.3Snonakasiop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
1121.1Snonaka
1131.1Snonaka# PCMCIA SCSI controllers
1141.1Snonakaaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1151.1Snonaka
1161.1Snonaka# SCSI bus support
1171.1Snonakascsibus* at aic?
1181.1Snonakascsibus* at pcscp?
1191.3Snonakascsibus* at siop?
1201.1Snonaka
1211.1Snonaka# SCSI devices
1221.1Snonakasd*	at scsibus? target ? lun ?	# SCSI disk drives
1231.1Snonakast*	at scsibus? target ? lun ?	# SCSI tape drives
1241.1Snonakacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1251.1Snonaka
1261.1Snonaka
1271.1Snonaka# IDE and related devices
1281.1Snonaka
1291.1Snonaka# PCMCIA IDE controllers
1301.1Snonakawdc*	at pcmcia? function ?
1311.1Snonaka
1321.1Snonaka# IDE drives
1331.1Snonaka# Flags are used only with controllers that support DMA operations
1341.1Snonaka# and mode settings (e.g. some pciide controllers)
1351.1Snonaka# The lowest order four bits (rightmost digit) of the flags define the PIO
1361.1Snonaka# mode to use, the next set of four bits the DMA mode and the third set the
1371.1Snonaka# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1381.1Snonaka# to use, and the last bit must be 1 for this setting to be used.
1391.1Snonaka# For DMA and UDMA, 0xf (1111) means 'disable'.
1401.1Snonaka# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1411.1Snonaka# (0xc=1100, 0xa=1010, 0xf=1111)
1421.1Snonaka# 0x0000 means "use whatever the drive claims to support".
1431.1Snonakawd*	at wdc? channel ? drive ? flags 0x0000
1441.1Snonaka
1451.1Snonaka# ATAPI bus support
1461.1Snonakaatapibus* at wdc? channel ?
1471.1Snonaka
1481.1Snonaka# ATAPI devices
1491.1Snonaka# flags have the same meaning as for IDE drives.
1501.1Snonakacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1511.1Snonakasd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1521.1Snonaka
1531.1Snonaka# Miscellaneous mass storage devices
1541.1Snonaka
1551.1Snonaka# ISA floppy
1561.1Snonakafdc0	at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
1571.1Snonakafd*	at fdc? drive ?
1581.1Snonaka
1591.1Snonaka# Network Interfaces
1601.1Snonaka
1611.1Snonaka# PCI network interfaces
1621.1Snonakade*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
1631.1Snonakaep*	at pci? dev ? function ?	# 3Com 3c59x
1641.1Snonakale*	at pci? dev ? function ?	# PCnet-PCI Ethernet
1651.1Snonakane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
1661.1Snonakavr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
1671.1Snonaka
1681.1Snonaka# ISA Plug-and-Play network intefaces
1691.1Snonakaep*	at isapnp?			# 3Com 3c509 Ethernet
1701.1Snonaka
1711.1Snonaka# PCMCIA network interfaces
1721.1Snonakaep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1731.1Snonakane*	at pcmcia? function ?		# NE2000-compatible Ethernet
1741.1Snonaka
1751.1Snonaka# MII/PHY support
1761.1Snonakaukphy*	at mii? phy ?			# generic unknown PHYs
1771.1Snonaka
1781.1Snonaka
1791.1Snonaka# Pseudo-Devices
1801.1Snonaka
1811.1Snonaka# disk/mass storage pseudo-devices
1821.1Snonakapseudo-device	md		1	# memory disk device (ramdisk)
1831.1Snonaka
1841.1Snonaka# network pseudo-devices
1851.1Snonakapseudo-device	loop			# network loopback
1861.1Snonaka
1871.1Snonaka# miscellaneous pseudo-devices
1881.1Snonakapseudo-device	pty			# pseudo-terminals
1891.1Snonakapseudo-device	rnd			# /dev/random and in-kernel generator
1901.1Snonaka#options	RND_COM			# use "com" randomness as well
191