forked from kirei/flashboot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SOEKRIS4801
260 lines (213 loc) · 8.17 KB
/
SOEKRIS4801
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# $OpenBSD: GENERIC,v 1.406 2004/07/20 20:30:09 dhartmei Exp $
# $OpenBSD: GENERIC,v 1.509 2006/07/02 02:05:11 deraadt Exp $
machine i386 # architecture, used by config; REQUIRED
option DDB # in-kernel debugger
#option DDB_SAFE_CONSOLE # allow break into ddb during boot
#makeoptions DEBUG="-g" # compile full symbol table
#makeoptions PROF="-pg" # build profiled kernel
#option GPROF # kernel profiling, kgmon(8)
option DIAGNOSTIC # internal consistency checks
option KTRACE # system call tracing, a la ktrace(1)
#option ACCOUNTING # acct(2) process accounting
option KMEMSTATS # collect malloc(9) statistics
option PTRACE # ptrace(2) system call
#option KVA_GUARDPAGES # slow virtual address recycling (+ guarding)
#option POOL_DEBUG # pool corruption detection
#option VFSLCKDEBUG # VFS locking checks
option CRYPTO # Cryptographic framework
option SYSVMSG # System V-like message queues
option SYSVSEM # System V-like semaphores
option SYSVSHM # System V-like memory sharing
#option UVM_SWAP_ENCRYPT# support encryption of pages going to swap
#option COMPAT_43 # Kernel compatibility with 4.3BSD
#option COMPAT_O48 # Kernel compatibility with OpenBSD 4.8
#option LKM # loadable kernel modules
option FFS # UFS
#option FFS2 # UFS2
#option FFS_SOFTUPDATES # Soft updates
#option UFS_DIRHASH # hash large directories
#option QUOTA # UFS quotas
#option EXT2FS # Second Extended Filesystem
option MFS # memory file system
#option NNPFS # NNPFS filesystem
#option NFSCLIENT # Network File System client
#option NFSSERVER # Network File System server
#option UDF # UDF (DVD) file system
#option MSDOSFS # MS-DOS file system
option FIFO # FIFOs; RECOMMENDED
option SOCKET_SPLICE # Socket Splicing for TCP
option TCP_SACK # Selective Acknowledgements for TCP
option TCP_ECN # Explicit Congestion Notification for TCP
option TCP_SIGNATURE # TCP MD5 Signatures, for BGP routing sessions
#option TCP_FACK # Forward Acknowledgements for TCP
option FDESC # /dev/fd
option GATEWAY # packet forwarding
option INET # IP + ICMP + TCP + UDP
option ALTQ # ALTQ base
option INET6 # IPv6 (needs INET)
option IPSEC # IPsec
#option KEY # PF_KEY (implied by IPSEC)
option PPP_BSDCOMP # PPP BSD compression
option PPP_DEFLATE
option PIPEX # Pppac IP EXtension, for npppd
option MROUTING # Multicast router
#option PIM # Protocol Independent Multicast
option MPLS # Multi-Protocol Label Switching
pseudo-device pf # packet filter
pseudo-device pflog # pf log if
pseudo-device pfsync # pf sync if
pseudo-device pflow # pflow export if
pseudo-device enc # option IPSEC needs the encapsulation interface
pseudo-device pty 16 # pseudo-terminals
#pseudo-device nmea 1 # NMEA 0183 line discipline
#pseudo-device msts 1 # MSTS line discipline
#pseudo-device endrun 1 # EndRun line discipline
#pseudo-device vnd 4 # vnode disk devices
#pseudo-device ccd 4 # concatenated disk devices
#pseudo-device ksyms 1 # kernel symbols device
pseudo-device systrace 1 # system call tracing device
pseudo-device wsmux 2
pseudo-device crypto 1
pseudo-device hotplug 1 # devices hot plugging
# clonable devices
pseudo-device bpfilter # packet filter
pseudo-device bridge # network bridging support
pseudo-device carp # CARP protocol support
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device gre # GRE encapsulation interface
pseudo-device loop # network loopback
#pseudo-device mpe # MPLS PE interface
#pseudo-device ppp # PPP
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
#pseudo-device pppx # PPP multiplexer
#pseudo-device sl # CSLIP
#pseudo-device sppp 1 # Sync PPP/HDLC
pseudo-device trunk # Trunking support
pseudo-device tun # network tunneling over tty
pseudo-device vether # Virtual ethernet
pseudo-device vlan # IEEE 802.1Q VLAN
pseudo-device vxlan # virtual extensible local area network tunnel interface
# for IPv6
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
pseudo-device bio 1 # ioctl multiplexing device
option BOOT_CONFIG # add support for boot -c
########################################################################
option I486_CPU
option I586_CPU
option USER_PCICONF # user-space PCI configuration
option DUMMY_NOPS # speed hack; recommended
maxusers 32 # estimated number of users
option RAMDISK_HOOKS
#option MINIROOTSIZE=16384 # disktab.8mb
#option MINIROOTSIZE=19456 # disktab.9.5mb
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb
config bsd root on rd0a swap on rd0b and wd0b and wd1b
pseudo-device rd 1
# No swap, so crank this down
option BUFCACHEPERCENT=5
mainbus0 at root
cpu0 at mainbus?
bios0 at mainbus0
ioapic* at mainbus?
apm0 at bios0 flags 0x0000 # flags 0x0101 to force protocol version 1.1
#acpi0 at bios?
#mpbios0 at bios0
pcibios0 at bios0 flags 0x0000 # use 0x30 for a total verbose
#ipmi0 at mainbus? disable # IPMI
#vmt0 at mainbus? # VMware Tools
#esm0 at mainbus? # Dell Embedded Server Management
amdmsr0 at mainbus? # MSR access for AMD Geode LX CPUs with GP
#isa0 at mainbus0
#isa0 at pcib?
#pci* at mainbus0
isa0 at mainbus0
isa0 at pcib?
#isa0 at amdpcib?
#isa0 at ichpcib?
#isa0 at piixpcib?
#isa0 at gscpcib?
#isa0 at glxpcib?
#eisa0 at mainbus0
pci* at mainbus0
#pchb* at pci? # PCI-Host bridges
#ppb* at pci? # PCI-PCI bridges
#pci* at ppb?
#pci* at pchb?
#pcib* at pci? # PCI-ISA bridge
#amdpcib* at pci? # AMD 8111 LPC bridge
#ichpcib* at pci? # Intel ICHx/ICHx-M LPC bridges
#piixpcib* at pci? # Intel PIIX4 PCI-ISA bridge
#gscpcib* at pci? # NS Geode SC1100 PCI-ISA bridge
#gpio* at gscpcib?
#glxpcib* at pci? # AMD CS5536 PCI-ISA bridge
#gpio* at glxpcib?
#kate* at pci? # AMD K8 temperature sensor
#km* at pci? # AMD K10 temperature sensor
#amas* at pci? disable # AMD memory configuration
ohci* at pci? # Open Host Controller
usb* at ohci?
option PCIVERBOSE
#option EISAVERBOSE
uhub* at usb? # USB Hubs
uhub* at uhub? port ? configuration ? # USB Hubs
umodem* at uhub? port ? configuration ? # USB Modems/Serial
ucom* at umodem?
uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter
ucom* at uplcom?
#uaudio* at uhub? port ? configuration ? # USB Audio
#audio* at uaudio?
umass* at uhub? port ? configuration ? # USB Mass Storage devices
scsibus* at umass?
# ATAPI<->SCSI
atapiscsi* at wdc?
atapiscsi* at pciide?
ugen* at uhub? port ? configuration ? # USB Generic driver
pchb* at pci? # PCI-Host bridges
#pci* at pchb? bus ?
pci* at ppb?
pci* at pchb?
pcib* at pci? # PCI-ISA bridge
ppb* at pci? # PCI-PCI bridges
pci* at ppb? bus ?
# power management and other environmental stuff
geodesc* at pci? # NSC Geode System Controller
nsclpcsio* at isa? port 0x2e # NS PC87366 LPC Super I/O
nsclpcsio* at isa? port 0x4e
gpio* at nsclpcsio?
gscsio* at isa? port 0x2e # NS Geode SC1100 Super I/O
gscsio* at isa? port 0x15c
#gscpm* at pci? # NS Geode SC1100 SMI/ACPI module
iic* at gscsio? # ACCESS.bus 1 & 2
lmtemp* at iic? # NS LM75/LM77 temperature sensor
npx0 at isa? port 0xf0 irq 13 # math coprocessor
option WSDISPLAY_COMPAT_USL # VT handling
option WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=6
option WSDISPLAY_COMPAT_PCVT # emulate some ioctls
pckbc0 at isa? flags 0x00 # PC keyboard controller
pckbd* at pckbc? # PC keyboard
#pms* at pckbc? # PS/2 mouse for wsmouse
vga* at pci?
wsdisplay* at vga? console ?
wskbd* at pckbd? mux 1
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
pciide* at pci ?
wdc0 at isa? port 0x1f0 irq 14 flags 0x00
wd* at wdc? channel ? drive ? flags 0x0000
wd* at pciide? channel ? drive ? flags 0x0000
sis* at pci? # SiS 900/7016 ethernet
nsphyter* at mii? # NS and compatible PHYs
# Wireless network cards
ath* at pci? # Atheros AR5k (802.11a/b/g)
wi* at pci? # WaveLAN IEEE 802.11DS
ral* at pci? # Ralink RT2500
ipw* at pci? # Intel PRO/Wireless 2100
iwi* at pci? # Intel PRO/Wireless 2200BG/2915ABG
san* at pci? # Sangoma PCI AFT card
# crypto support
hifn* at pci? # Hi/fn 7751 crypto card