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