INSTALL revision 1.53 1 1.53 christos # $NetBSD: INSTALL,v 1.53 2013/04/27 18:19:51 christos Exp $
2 1.1 thorpej #
3 1.1 thorpej # Shark installation kernel
4 1.1 thorpej #
5 1.1 thorpej
6 1.1 thorpej include "arch/shark/conf/std.shark"
7 1.6 atatat
8 1.6 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 1.1 thorpej
10 1.1 thorpej # estimated number of users
11 1.1 thorpej
12 1.1 thorpej maxusers 32
13 1.1 thorpej
14 1.1 thorpej # Standard system options
15 1.1 thorpej
16 1.1 thorpej options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 1.1 thorpej options HZ=64
18 1.1 thorpej #options NTP # NTP phase/frequency locked loop
19 1.1 thorpej #options BOOT_QUIETLY # twiddle instead of normal boot msg output
20 1.1 thorpej
21 1.1 thorpej # CPU options
22 1.1 thorpej
23 1.1 thorpej options CPU_SA110 # Support the SA110 core
24 1.2 thorpej makeoptions COPTS="-Os"
25 1.1 thorpej
26 1.1 thorpej # Architecture options
27 1.1 thorpej
28 1.1 thorpej options SHARK # We are a Shark
29 1.1 thorpej options NSIO # We are using the National Semi SuperIO
30 1.1 thorpej
31 1.1 thorpej # compatibility with old version of OFW, which may have incorrect
32 1.1 thorpej # properties and/or may set up devices incorrectly.
33 1.1 thorpej options COMPAT_OLD_OFW
34 1.1 thorpej
35 1.1 thorpej # File systems
36 1.1 thorpej
37 1.1 thorpej file-system FFS # UFS
38 1.1 thorpej #file-system LFS # log-structured file system
39 1.1 thorpej file-system MFS # memory file system
40 1.1 thorpej file-system NFS
41 1.1 thorpej #file-system ADOSFS # AmigaDOS-compatible file system
42 1.1 thorpej #file-system EXT2FS # second extended file system (linux)
43 1.1 thorpej #file-system CD9660 # ISO 9660 + Rock Ridge file system
44 1.1 thorpej file-system MSDOSFS # MS-DOS file system
45 1.1 thorpej #file-system FDESC # /dev/fd
46 1.1 thorpej #file-system FILECORE # Acorn filecore file system
47 1.1 thorpej file-system KERNFS # /kern
48 1.1 thorpej #file-system NULLFS # loopback file system
49 1.1 thorpej #file-system PROCFS # /proc
50 1.1 thorpej #file-system UMAPFS # NULLFS + uid and gid remapping
51 1.1 thorpej #file-system UNION # union file system
52 1.22 christos #file-system PTYFS # /dev/pts/N support
53 1.1 thorpej
54 1.1 thorpej # File system options
55 1.46 bouyer #options QUOTA # legacy UFS quotas
56 1.46 bouyer #options QUOTA2 # new, in-filesystem UFS quotas
57 1.47 wiz #options FFS_EI # FFS Endian Independent support
58 1.1 thorpej #options NFSSERVER
59 1.23 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
60 1.49 dholland options WAPBL # File system journaling support
61 1.1 thorpej
62 1.1 thorpej # Networking options
63 1.1 thorpej
64 1.1 thorpej #options GATEWAY # packet forwarding
65 1.1 thorpej options INET # IP + ICMP + TCP + UDP
66 1.1 thorpej #options MROUTING # IP multicast routing
67 1.15 manu #options PIM # Protocol Independent Multicast
68 1.1 thorpej #options NETATALK # AppleTalk networking
69 1.1 thorpej #options PFIL_HOOKS # pfil(9) packet filter hooks (Required
70 1.1 thorpej # if you enable the pseudo-device ipl).
71 1.1 thorpej
72 1.1 thorpej #options PPP_BSDCOMP # BSD-Compress compression support for PPP
73 1.1 thorpej #options PPP_DEFLATE # Deflate compression support for PPP
74 1.1 thorpej #options PPP_FILTER # Active filter support for PPP (requires bpf)
75 1.1 thorpej options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code
76 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
77 1.1 thorpej
78 1.1 thorpej # Compatibility options
79 1.1 thorpej
80 1.2 thorpej #options COMPAT_43 # 4.3BSD compatibility.
81 1.37 tsutsui #options COMPAT_40 # NetBSD 4.0 compatibility.
82 1.21 christos #options COMPAT_30 # NetBSD 3.0 compatibility.
83 1.20 simonb #options COMPAT_20 # NetBSD 2.0 compatibility.
84 1.20 simonb #options COMPAT_16 # NetBSD 1.6 compatibility.
85 1.29 manu #options COMPAT_15 # NetBSD 1.5 compatibility.
86 1.2 thorpej #options COMPAT_14 # NetBSD 1.4 compatibility.
87 1.2 thorpej #options COMPAT_13 # NetBSD 1.3 compatibility.
88 1.2 thorpej #options COMPAT_12 # NetBSD 1.2 compatibility.
89 1.1 thorpej #options COMPAT_11 # NetBSD 1.1 compatibility.
90 1.1 thorpej #options COMPAT_10 # NetBSD 1.0 compatibility.
91 1.1 thorpej #options COMPAT_09 # NetBSD 0.9 compatibility.
92 1.1 thorpej #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
93 1.16 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
94 1.1 thorpej
95 1.1 thorpej # Shared memory options
96 1.1 thorpej
97 1.2 thorpej #options SYSVMSG # System V-like message queues
98 1.2 thorpej #options SYSVSEM # System V-like semaphores
99 1.2 thorpej #options SYSVSHM # System V-like memory sharing
100 1.1 thorpej
101 1.1 thorpej # Device options
102 1.1 thorpej
103 1.1 thorpej options MEMORY_DISK_HOOKS # boottime setup of ramdisk
104 1.1 thorpej options MEMORY_DISK_IS_ROOT # use memory disk as root
105 1.4 lukem options MEMORY_DISK_ROOT_SIZE=7000 # Size in blocks (3.5MB)
106 1.40 jym options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
107 1.1 thorpej
108 1.1 thorpej options INSECURE # disable kernel securelevel
109 1.1 thorpej
110 1.1 thorpej # Use the following to force the serial to always be the console
111 1.1 thorpej # device. 19200 is what the serial gets set up as by the firmware
112 1.1 thorpej # when it hasn't fallen back from PC. If it has fallen back then
113 1.1 thorpej # the speed will be set at 9600.
114 1.1 thorpej #options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
115 1.1 thorpej
116 1.1 thorpej # Miscellaneous kernel options
117 1.2 thorpej #options KTRACE # system call tracing, a la ktrace(1)
118 1.2 thorpej #options IRQSTATS # manage IRQ statistics, XXX temp required
119 1.2 thorpej #options KMEMSTATS # kernel memory statistics, XXX temp required
120 1.8 lukem options USERCONF # userconf(4) support
121 1.7 abs options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
122 1.14 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
123 1.1 thorpej
124 1.1 thorpej # Development and Debugging options
125 1.1 thorpej
126 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug
127 1.1 thorpej #options PORTMASTER # Enable PortMaster only options
128 1.2 thorpej #options DIAGNOSTIC # internal consistency checks
129 1.1 thorpej #options PMAP_DEBUG # Enable pmap_debug_level code
130 1.1 thorpej options DDB # in-kernel debugger
131 1.1 thorpej #options DDB_ONPANIC=0 # don't run DDB at panictime
132 1.1 thorpej #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
133 1.9 wiz #options KERNEL_DEBUG # compile in kernel debugging capability
134 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table
135 1.1 thorpej
136 1.32 jmmv #
137 1.32 jmmv # wscons options
138 1.32 jmmv #
139 1.32 jmmv # builtin terminal emulations
140 1.32 jmmv #options WSEMUL_SUN # sun terminal emulation
141 1.32 jmmv options WSEMUL_VT100 # VT100 / VT220 emulation
142 1.32 jmmv # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
143 1.32 jmmv #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
144 1.32 jmmv #options WS_DEFAULT_FG=WSCOL_WHITE
145 1.32 jmmv #options WS_DEFAULT_BG=WSCOL_BLACK
146 1.32 jmmv #options WS_DEFAULT_COLATTR="(0)"
147 1.32 jmmv #options WS_DEFAULT_MONOATTR="(0)"
148 1.32 jmmv #options WS_KERNEL_FG=WSCOL_GREEN
149 1.32 jmmv #options WS_KERNEL_BG=WSCOL_BLACK
150 1.32 jmmv #options WS_KERNEL_COLATTR=""
151 1.32 jmmv #options WS_KERNEL_MONOATTR=""
152 1.32 jmmv # customization of console border color
153 1.32 jmmv #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
154 1.32 jmmv #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
155 1.32 jmmv # compatibility to other console drivers
156 1.32 jmmv #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
157 1.32 jmmv #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
158 1.50 abs #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
159 1.32 jmmv #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
160 1.32 jmmv # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
161 1.32 jmmv #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
162 1.32 jmmv #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
163 1.32 jmmv # allocate a number of virtual screens at autoconfiguration time
164 1.32 jmmv #options WSDISPLAY_DEFAULTSCREENS=4
165 1.32 jmmv # use a large software cursor that doesn't blink
166 1.32 jmmv #options PCDISPLAY_SOFTCURSOR
167 1.32 jmmv # modify the screen type of the console; defaults to "80x25"
168 1.32 jmmv #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
169 1.32 jmmv # console scrolling support.
170 1.32 jmmv #options WSDISPLAY_SCROLLSUPPORT
171 1.32 jmmv # enable VGA raster mode capable of displaying multilingual text on console
172 1.32 jmmv #options VGA_RASTERCONSOLE
173 1.32 jmmv
174 1.1 thorpej config netbsd root on ? type ffs # root on miniroot
175 1.1 thorpej
176 1.1 thorpej # The main bus device
177 1.1 thorpej mainbus0 at root
178 1.1 thorpej
179 1.13 wiz # The boot CPU
180 1.1 thorpej cpu0 at mainbus?
181 1.1 thorpej
182 1.1 thorpej # Open Firmware devices
183 1.1 thorpej ofbus* at root
184 1.1 thorpej ofbus* at ofbus?
185 1.1 thorpej #ofdisk* at ofbus?
186 1.1 thorpej #ofnet* at ofbus? # don't use with cs0
187 1.1 thorpej #ofcons* at ofbus? # don't use with pc0
188 1.1 thorpej ofrtc* at ofisa?
189 1.1 thorpej ofrom* at ofbus?
190 1.1 thorpej
191 1.1 thorpej ofisa* at ofbus?
192 1.1 thorpej ofbus* at ofisa?
193 1.1 thorpej
194 1.1 thorpej # IDE/ATA disk
195 1.1 thorpej wdc* at ofisa?
196 1.12 bouyer atabus* at wdc? channel ?
197 1.12 bouyer wd* at atabus? drive ?
198 1.1 thorpej
199 1.12 bouyer atapibus* at atabus?
200 1.1 thorpej cd* at atapibus? drive?
201 1.1 thorpej sd* at atapibus? drive?
202 1.1 thorpej
203 1.1 thorpej # PCCONS@OFW
204 1.32 jmmv #ofisapc* at ofbus?
205 1.32 jmmv #pc* at ofisapc?
206 1.1 thorpej
207 1.1 thorpej # PS/2 Mouse
208 1.31 jmmv #opms0 at spckbd? irq 12
209 1.1 thorpej
210 1.32 jmmv # wscons
211 1.32 jmmv pckbc* at ofisa?
212 1.32 jmmv pckbd* at pckbc?
213 1.32 jmmv #pms* at pckbc?
214 1.32 jmmv vga* at ofbus?
215 1.32 jmmv #igsfb* at ofbus?
216 1.32 jmmv wsdisplay* at wsemuldisplaydev?
217 1.32 jmmv wskbd* at pckbd? console ?
218 1.32 jmmv #wsmouse* at pms? mux 0
219 1.32 jmmv
220 1.1 thorpej # CS8900 Ethernet@OFW
221 1.1 thorpej cs* at ofisa?
222 1.1 thorpej
223 1.1 thorpej # Serial @OFW
224 1.1 thorpej com* at ofisa?
225 1.1 thorpej
226 1.1 thorpej # Parallel @OFW
227 1.1 thorpej lpt* at ofisa?
228 1.1 thorpej
229 1.1 thorpej # Smart Card
230 1.1 thorpej ofisascr* at ofisa?
231 1.1 thorpej scr* at ofisascr?
232 1.1 thorpej
233 1.1 thorpej # ESS Sound@OFW
234 1.2 thorpej #ess* at ofisa?
235 1.2 thorpej #audio* at ess?
236 1.2 thorpej #opl* at ess?
237 1.2 thorpej #midi* at opl?
238 1.1 thorpej
239 1.1 thorpej # Joystick @OFW
240 1.2 thorpej #joy* at ofisa?
241 1.1 thorpej
242 1.53 christos pseudo-device loop # network loopback
243 1.26 rpaulo pseudo-device bpfilter # packet filter
244 1.27 cube #pseudo-device sl # CSLIP
245 1.27 cube #pseudo-device ppp # PPP
246 1.27 cube #pseudo-device tun # network tunneling over tty
247 1.53 christos #pseudo-device ipfilter # ip filter
248 1.1 thorpej
249 1.1 thorpej pseudo-device pty # pseudo-terminals
250 1.27 cube #pseudo-device vnd # disk-like interface to files
251 1.53 christos #pseudo-device ccd # concatenated disk devices
252 1.44 pooka #pseudo-device fss # file system snapshot device
253 1.1 thorpej
254 1.45 hannken pseudo-device md # Ramdisk driver
255 1.1 thorpej #pseudo-device profiler 1 # fiq based profiling device
256 1.2 thorpej #pseudo-device sequencer 1 # MIDI sequencer
257 1.32 jmmv pseudo-device wsmux # mouse & keyboard multiplexor
258 1.32 jmmv #pseudo-device wsfont
259