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