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