INSTALL_SMALL revision 1.14
11.14Sabs#	$NetBSD: INSTALL_SMALL,v 1.14 2012/08/17 20:11:41 abs Exp $
21.1Sgarbled#
31.1Sgarbled#	INSTALL -- Installation kernel
41.1Sgarbled#
51.1Sgarbled
61.1Sgarbledinclude "arch/prep/conf/std.prep"
71.1Sgarbled
81.1Sgarbled#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sgarbled
101.1Sgarbledmakeoptions	COPTS="-Os -mmultiple"	# -Os -mmultiple to reduce size.
111.1Sgarbled
121.1Sgarbled# Enable the hooks used for initializing the ram-disk.
131.1Sgarbledoptions 	MEMORY_DISK_HOOKS
141.1Sgarbledoptions 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
151.1Sgarbledoptions 	MEMORY_DISK_ROOT_SIZE=4096	# 2mb
161.5Stsutsuioptions 	MEMORY_DISK_SERVER=0	# don't need for install
171.8Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
181.1Sgarbled
191.1Sgarbledmaxusers	8
201.1Sgarbled
211.1Sgarbled# Platform support
221.4Sgarbledoptions 	PIC_OPENPIC	# OpenPIC support (7043-140)
231.5Stsutsuioptions 	PIC_PREPIVR
241.5Stsutsuioptions 	PIC_I8259
251.1Sgarbled
261.1Sgarbled# Compatibility options
271.1Sgarbled#options 	COMPAT_13	# NetBSD 1.3,
281.1Sgarbled#options 	COMPAT_14	# NetBSD 1.4,
291.1Sgarbled#options 	COMPAT_15	# NetBSD 1.5,
301.1Sgarbled#options 	COMPAT_16	# NetBSD 1.6,
311.1Sgarbled#options 	COMPAT_43	# and 4.3BSD
321.5Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
331.6Sgarbledno options	EXEC_AOUT	# no a.out support
341.1Sgarbled
351.1Sgarbled# File systems
361.1Sgarbledfile-system 	FFS		# UFS
371.1Sgarbled#file-system	EXT2FS		# second extended file system (linux)
381.1Sgarbledfile-system 	MFS		# memory file system
391.1Sgarbledfile-system 	NFS		# Network File System client
401.1Sgarbledfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
411.1Sgarbledfile-system 	MSDOSFS		# MS-DOS file system
421.1Sgarbled#file-system	PTYFS		# /dev/pts/N support
431.1Sgarbled
441.1Sgarbled# File system options
451.11Swiz#options 	FFS_EI		# FFS Endian Independent support
461.1Sgarbledoptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
471.1Sgarbled#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
481.1Sgarbled 				# immutable) behave as system flags.
491.13Sdhollandoptions 	WAPBL		# File system journaling support
501.1Sgarbled
511.1Sgarbled#options 	USERCONF	# userconf(4) support
521.1Sgarbledoptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
531.1Sgarbled#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
541.5Stsutsuioptions 	NFS_V2_ONLY	# Exclude NFS3 code to save space
551.1Sgarbled
561.1Sgarbled# Networking options
571.1Sgarbledoptions 	INET		# IP + ICMP + TCP + UDP
581.1Sgarbled#options 	NFS_BOOT_BOOTPARAM
591.1Sgarbled#options 	NFS_BOOT_DHCP
601.1Sgarbled
611.1Sgarbled#
621.1Sgarbled# wscons options
631.1Sgarbled#
641.1Sgarbled# builtin terminal emulations
651.1Sgarbledoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
661.14Sabsoptions 	WSDISPLAY_DEFAULTSCREENS=1
671.14Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
681.1Sgarbled# different kernel output - see dev/wscons/wsdisplayvar.h
691.1Sgarbledoptions 	WS_KERNEL_FG=WSCOL_GREEN
701.1Sgarbled#options 	WS_KERNEL_BG=WSCOL_BLACK
711.1Sgarbled# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
721.1Sgarbled#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
731.1Sgarbled# allocate a number of virtual screens at autoconfiguration time
741.1Sgarbled#options 	WSDISPLAY_DEFAULTSCREENS=4
751.1Sgarbled# use a large software cursor that doesn't blink
761.1Sgarbledoptions 	PCDISPLAY_SOFTCURSOR
771.1Sgarbled
781.1Sgarbled# Kernel root file system and dump configuration.
791.1Sgarbledconfig	netbsd	root on ? type ?
801.1Sgarbled
811.1Sgarbled#
821.1Sgarbled# Device configuration
831.1Sgarbled#
841.1Sgarbled
851.1Sgarbledmainbus0 at root
861.1Sgarbledcpu0	at mainbus0
871.1Sgarbled
881.1Sgarbled# Basic Bus Support
891.1Sgarbled
901.1Sgarbled# PCI bus support
911.1Sgarbledpci0	at mainbus0 bus ?
921.1Sgarbledpci*	at pchb? bus ?
931.1Sgarbledpci*	at ppb? bus ?
941.1Sgarbled
951.1Sgarbled# PCI bridges
961.1Sgarbledpchb*	at pci? dev ? function ?	# PCI-Host bridges
971.1Sgarbledpcib*	at pci? dev ? function ?	# PCI-ISA bridges
981.1Sgarbledppb*	at pci? dev ? function ?	# PCI-PCI bridges
991.1Sgarbledpceb*	at pci? dev ? function ?	# PCI-EISA bridges
1001.1Sgarbled
1011.1Sgarbled# EISA bus support
1021.1Sgarbledeisa*   at pceb?
1031.1Sgarbled
1041.1Sgarbled# ISA bus support
1051.1Sgarbledisa*	at pcib?			# ISA on PCI-ISA bridge
1061.1Sgarbledisa*	at pceb?
1071.1Sgarbled
1081.1Sgarbled# PCMCIA bus support
1091.1Sgarbled#pcmcia* at pcic? controller ? socket ?
1101.1Sgarbled
1111.1Sgarbled# ISA PCMCIA controllers
1121.1Sgarbled#pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
1131.1Sgarbled
1141.1Sgarbled#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
1151.1Sgarbled#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
1161.1Sgarbled#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
1171.1Sgarbled
1181.1Sgarbled# ISA Plug-and-Play bus support
1191.1Sgarbled#isapnp0 at isa?
1201.1Sgarbled
1211.1Sgarbled# PNP bus device for attaching objects descibed in the residual
1221.1Sgarbledpnpbus0	at mainbus0
1231.1Sgarbled
1241.1Sgarbled# Console Devices
1251.1Sgarbled
1261.1Sgarbled# wscons
1271.1Sgarbledpckbc0		at isa?			# pc keyboard controller
1281.1Sgarbledpckbd*		at pckbc?		# PC keyboard
1291.1Sgarbled#pms*		at pckbc?		# PS/2 mouse for wsmouse
1301.1Sgarbledvga*		at pci?
1311.1Sgarbledwsdisplay*	at vga? console ?
1321.1Sgarbledwskbd*		at pckbd? console ?
1331.1Sgarbled#wsmouse*	at pms? mux 0
1341.1Sgarbled
1351.1Sgarbledmcclock* at pnpbus?			# mc146818 and compatible
1361.1Sgarbledmkclock* at pnpbus?			# mk48t18 and compatible
1371.1Sgarblednvram* at pnpbus?
1381.1Sgarbled
1391.1Sgarbled# Serial Devices
1401.1Sgarbled
1411.1Sgarbled# ISA serial interfaces
1421.1Sgarbledcom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1431.1Sgarbledcom1	at isa? port 0x2f8 irq 3
1441.1Sgarbled
1451.1Sgarbled# Parallel Printer Interfaces
1461.1Sgarbled
1471.1Sgarbled# ISA parallel printer interfaces
1481.1Sgarbled#lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
1491.1Sgarbled
1501.1Sgarbled
1511.1Sgarbled# SCSI Controllers and Devices
1521.1Sgarbled
1531.1Sgarbled# PCI SCSI controllers
1541.1Sgarbled#adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
1551.1Sgarbled#ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1561.1Sgarbled#esiop*	at pci? dev ? function ?	# Symbios 53c825/875 and newer chips
1571.1Sgarbled#iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
1581.1Sgarbled#pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1591.1Sgarbledsiop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
1601.1Sgarbled
1611.1Sgarbled# PCMCIA SCSI controllers
1621.1Sgarbled#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1631.1Sgarbled
1641.1Sgarbled# SCSI bus support
1651.1Sgarbled#scsibus* at adw?
1661.1Sgarbled#scsibus* at ahc?
1671.1Sgarbled#scsibus* at aic?
1681.1Sgarbled#scsibus* at esiop?
1691.1Sgarbled#scsibus* at iha?
1701.1Sgarbled#scsibus* at pcscp?
1711.1Sgarbledscsibus* at siop?
1721.1Sgarbled
1731.1Sgarbled# SCSI devices
1741.1Sgarbledsd*	at scsibus? target ? lun ?	# SCSI disk drives
1751.6Sgarbled#st*	at scsibus? target ? lun ?	# SCSI tape drives
1761.1Sgarbledcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1771.1Sgarbled
1781.1Sgarbled
1791.1Sgarbled# IDE and related devices
1801.1Sgarbled
1811.1Sgarbled# IDE controller found on most Power Personal machines
1821.1Sgarbledwdc*	at pnpbus?
1831.1Sgarbled
1841.1Sgarbled# PCMCIA IDE controllers
1851.1Sgarbled#wdc*	at pcmcia? function ?
1861.1Sgarbled
1871.1Sgarbled# ATA (IDE) bus support
1881.1Sgarbledatabus* at ata?
1891.1Sgarbled
1901.1Sgarbled# IDE drives
1911.1Sgarbled# Flags are used only with controllers that support DMA operations
1921.1Sgarbled# and mode settings (e.g. some pciide controllers)
1931.1Sgarbled# The lowest order four bits (rightmost digit) of the flags define the PIO
1941.1Sgarbled# mode to use, the next set of four bits the DMA mode and the third set the
1951.1Sgarbled# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1961.1Sgarbled# to use, and the last bit must be 1 for this setting to be used.
1971.1Sgarbled# For DMA and UDMA, 0xf (1111) means 'disable'.
1981.1Sgarbled# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1991.1Sgarbled# (0xc=1100, 0xa=1010, 0xf=1111)
2001.1Sgarbled# 0x0000 means "use whatever the drive claims to support".
2011.1Sgarbledwd*	at atabus? drive ? flags 0x0000
2021.1Sgarbled
2031.1Sgarbled# ATAPI bus support
2041.1Sgarbledatapibus* at atapi?
2051.1Sgarbled
2061.1Sgarbled# ATAPI devices
2071.1Sgarbled# flags have the same meaning as for IDE drives.
2081.1Sgarbledcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2091.1Sgarbledsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2101.1Sgarbled
2111.1Sgarbled# Miscellaneous mass storage devices
2121.1Sgarbled
2131.1Sgarbled# ISA floppy
2141.1Sgarbled#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
2151.1Sgarbled#fd*	at fdc? drive ?
2161.1Sgarbled
2171.1Sgarbled# Network Interfaces
2181.1Sgarbled
2191.1Sgarbled# PCI network interfaces
2201.1Sgarbled#ep*	at pci? dev ? function ?	# 3Com 3c59x
2211.1Sgarbled#ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
2221.1Sgarbled#fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
2231.1Sgarbled#ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
2241.1Sgarbledpcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
2251.1Sgarbled#rtk*	at pci? dev ? function ?	# Realtek 8129/8139
2261.1Sgarbled#sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
2271.1Sgarbledtlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
2281.1Sgarbled#vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
2291.1Sgarbled
2301.1Sgarbled# ISA network interfaces
2311.1Sgarbled#ep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
2321.1Sgarbledwe1	at isa? port 0x300 iomem 0xe4000 irq 11	# WD/SMC Ethernet
2331.1Sgarbled
2341.1Sgarbled# ISA Plug-and-Play network intefaces
2351.1Sgarbled#ep*	at isapnp?			# 3Com 3c509 Ethernet
2361.1Sgarbled#ne*	at isapnp?			# NE2000-compatible Ethernet
2371.1Sgarbled
2381.1Sgarbled# PCMCIA network interfaces
2391.1Sgarbled#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
2401.1Sgarbled#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
2411.1Sgarbled
2421.1Sgarbled# MII/PHY support
2431.1Sgarbled#exphy*	at mii? phy ?			# 3Com internal PHYs
2441.1Sgarbled#inphy*	at mii? phy ?			# Intel 82555 PHYs
2451.1Sgarblednsphy*	at mii? phy ?			# NS83840 PHYs
2461.1Sgarbled#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
2471.1Sgarbled#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
2481.1Sgarbledukphy*	at mii? phy ?			# generic unknown PHYs
2491.1Sgarbled
2501.1Sgarbled# Pull in optional local configuration
2511.1Sgarbledinclude "arch/prep/conf/INSTALL.local"
2521.1Sgarbled
2531.1Sgarbled# Pseudo-Devices
2541.1Sgarbled
2551.1Sgarbled# disk/mass storage pseudo-devices
2561.10Shannkenpseudo-device	md			# memory disk device (ramdisk)
2571.9Spooka#pseudo-device	fss			# file system snapshot device
2581.1Sgarbled
2591.1Sgarbled# network pseudo-devices
2601.1Sgarbledpseudo-device	loop			# network loopback
2611.1Sgarbled
2621.1Sgarbled# miscellaneous pseudo-devices
2631.1Sgarbledpseudo-device	pty			# pseudo-terminals
2641.6Sgarbledoptions		NO_DEV_PTM
2651.1Sgarbled#options 	RND_COM			# use "com" randomness as well
266