GUMSTIX revision 1.19 1 # $NetBSD: GUMSTIX,v 1.19 2007/09/16 13:44:38 kiyohara Exp $
2 #
3 # GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
4 #
5
6 include "arch/evbarm/conf/std.gumstix"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # CPU options
15
16 # For XScale systems
17 options CPU_XSCALE_PXA250 # Support the XScale core
18 makeoptions CPUFLAGS="-mcpu=xscale"
19
20 # Architecture options
21 #options XSCALE_CACHE_WRITE_THROUGH
22 options XSCALE_CACHE_READ_WRITE_ALLOCATE
23
24 # Standard system options
25
26 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
27 #options NTP # NTP phase/frequency locked loop
28
29 # File systems
30
31 file-system FFS # UFS
32 file-system EXT2FS # second extended file system (linux)
33 file-system LFS # log-structured file system
34 file-system MFS # memory file system
35 file-system NFS # Network file system client
36 #file-system NTFS # Windows/NT file system (experimental)
37 #file-system CD9660 # ISO 9660 + Rock Ridge file system
38 file-system MSDOSFS # MS-DOS file system
39 file-system FDESC # /dev/fd
40 file-system KERNFS # /kern
41 file-system NULLFS # loopback file system
42 file-system OVERLAY # overlay file system
43 file-system PORTAL # portal filesystem (still experimental)
44 file-system PROCFS # /proc
45 file-system UMAPFS # NULLFS + uid and gid remapping
46 file-system UNION # union file system
47 file-system CODA # Coda File System; also needs vcoda (below)
48 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
49 file-system PTYFS # /dev/pts/N support
50 file-system TMPFS # Efficient memory file-system
51 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
52 #file-system HFS # experimental - Apple HFS+ (read-only)
53
54 # File system options
55 #options QUOTA # UFS quotas
56 #options FFS_EI # FFS Endian Independant support
57 options SOFTDEP
58 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
59 # It is not recommended for general use.
60 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
61 #options NFSSERVER
62 #options FFS_NO_SNAPSHOT # No FFS snapshot support
63 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
64 # immutable) behave as system flags.
65
66 # Networking options
67
68 #options GATEWAY # packet forwarding
69 options INET # IP + ICMP + TCP + UDP
70 options INET6 # IPV6
71 options IPSEC # IP security
72 options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
73 options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
74 #options IPSEC_DEBUG # debug for IP security
75 #options MROUTING # IP multicast routing
76 #options ISO,TPIP # OSI
77 #options EON # OSI tunneling over IP
78 #options NETATALK # AppleTalk networking
79 #options PFIL_HOOKS # pfil(9) packet filter hooks
80 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
81 #options PPP_DEFLATE # Deflate compression support for PPP
82 #options PPP_FILTER # Active filter support for PPP (requires bpf)
83 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
84
85 options NFS_BOOT_BOOTP
86 options NFS_BOOT_DHCP
87 #options NFS_BOOT_BOOTPARAM
88
89 # Compatibility options
90
91 #options COMPAT_09 # NetBSD 0.9 compatibility.
92 #options COMPAT_10 # NetBSD 1.0 compatibility.
93 #options COMPAT_11 # NetBSD 1.1 compatibility.
94 #options COMPAT_12 # NetBSD 1.2 compatibility.
95 #options COMPAT_13 # NetBSD 1.3 compatibility.
96 #options COMPAT_14 # NetBSD 1.4 compatibility.
97 #options COMPAT_15 # NetBSD 1.5 compatibility.
98 options COMPAT_16 # NetBSD 1.6 compatibility.
99 options COMPAT_20 # NetBSD 2.0 compatibility.
100 options COMPAT_30 # NetBSD 3.0 compatibility.
101 options COMPAT_40 # NetBSD 4.0 compatibility.
102 #options COMPAT_43 # 4.3BSD compatibility.
103 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
104
105 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
106 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
107
108 # Shared memory options
109
110 #options SYSVMSG # System V-like message queues
111 #options SYSVSEM # System V-like semaphores
112 #options SEMMNI=10 # number of semaphore identifiers
113 #options SEMMNS=60 # number of semaphores in system
114 #options SEMUME=10 # max number of undo entries per process
115 #options SEMMNU=30 # number of undo structures in system
116 #options SYSVSHM # System V-like memory sharing
117 #options SHMMAXPGS=1024 # 1024 pages is the default
118 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
119
120 # Device options
121
122 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
123 #options MEMORY_DISK_IS_ROOT # use memory disk as root
124 #options MEMORY_DISK_DYNAMIC
125 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
126 #options MEMORY_RBFLAGS=RB_AUTOBOOT
127
128 # Miscellaneous kernel options
129
130 options KTRACE # system call tracing, a la ktrace(1)
131 #options SYSTRACE # system call vetting via systrace(1)
132 options IRQSTATS # manage IRQ statistics
133 #options LKM # loadable kernel modules
134 #options KMEMSTATS # kernel memory statistics
135 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
136 #options USBVERBOSE # verbose USB device autoconfig messages
137 options MIIVERBOSE # Verbose MII autoconfuration messages
138 #options DDB_KEYCODE=0x40
139 #options USERCONF # userconf(4) support
140 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
141 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
142
143 # Development and Debugging options
144
145 #options PERFCTRS # performance counters
146 options DIAGNOSTIC # internally consistency checks
147 options DEBUG
148 #options PMAP_DEBUG # Enable pmap_debug_level code
149 #options VERBOSE_INIT_ARM # verbose bootstraping messages
150 options DDB # in-kernel debugger
151 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
152 #options KGDB
153 #options DEBUG_KGDB
154 makeoptions DEBUG="-g -O2" # compile full symbol table
155 options SYMTAB_SPACE=350000
156 #options AUDIO_DEBUG=2
157
158 config netbsd root on ? type ?
159 config netbsd-sm0 root on sm0 type nfs
160
161 # The main bus device
162 mainbus0 at root
163
164 # The boot cpu
165 cpu0 at mainbus?
166
167 # integrated peripherals
168 pxaip0 at mainbus?
169
170 pxaintc0 at pxaip? # interrupt controller
171 options PXAGPIO_HAS_GPION_INTRS
172
173 pxagpio0 at pxaip? # GPIO
174 pxartc0 at pxaip? # RTC
175
176 # cotulla integrated 16550 UARTs
177 options COM_PXA2X0
178 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
179 com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st)
180 com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (older -bt)
181 com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, -bt)
182 options FFUARTCONSOLE
183 #options STUARTCONSOLE
184 #options BTUARTCONSOLE
185 #options HWUARTCONSOLE
186 #options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart
187 #options KGDB_DEVRATE=115200
188
189 # DMAC support
190 pxadmac0 at pxaip? addr 0x40000000 intr 25
191 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
192 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
193
194 # AC97 Audio support
195 pxaacu0 at pxaip? addr 0x40500000 intr 14
196
197 # Audio support
198 audio* at audiobus?
199
200 # LCD
201 #lcd0 at pxaip?
202 #wsdisplay* at lcd? console ?
203
204 # USB Controller and Devices
205 pxaudc0 at pxaip? # USB Device Controller
206
207 # integrated MMC/SD contoller
208 #pxamci0 at pxaip? addr 0x41100000 size 0x48
209 #sdmmc* at pxamci?
210 #options PXAMCI_DEBUG
211 #options SDMMC_DEBUG
212 #options SDMMC_DUMP_CSD
213
214 # SCSI bus support
215 #scsibus* at scsi?
216
217 # SCSI devices
218 #sd* at scsibus? target ? lun ? # SCSI disk drives
219 #uk* at scsibus? target ? lun ? # SCSI unknown
220
221 # gumstix device support
222 gxio0 at pxaip?
223 options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART
224 options GXIO_DEFAULT_EXPANSION="\"netCF\""
225
226 # gumstix expantion boards
227
228 # SMC 91C111
229 sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO}
230 sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC)
231
232 # Inter-Integrated Circuit controller
233 gxiic0 at pxaip?
234 iic* at gxiic?
235 #dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout
236
237 # integrated PCMCIA/CF controller
238 pxapcic0 at pxaip? # cfstix, netCF
239
240 # PCMCIA bus support
241 pcmcia* at pxapcic?
242
243 # PCMCIA serial interfaces
244 com* at pcmcia? function ? # Modems and serial cards
245
246 # PCMCIA IDE controllers
247 wdc* at pcmcia? function ?
248 atabus* at wdc? channel ?
249 wd* at atabus? drive ? flags 0x0000
250
251 # PCMCIA network interfaces
252 ne* at pcmcia? function ? # NE2000-compatible Ethernet
253 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
254 #xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
255 #xi* at xirc?
256
257 # MII/PHY support
258 #acphy* at mii? phy ? # AMD/Altima AC101 PHYs
259 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
260
261 # USB Devices
262
263 # USB bus support
264
265 # USB Hubs
266 #uhub* at usb?
267 #uhub* at uhub? port ?
268
269 # USB HID device
270 #uhidev* at uhub? port ? configuration ? interface ?
271
272 # USB Mice
273 #ums* at uhidev? reportid ?
274 #wsmouse* at ums? mux 0
275
276 # USB eGalax touch-panel
277 #uep* at uhub? port ?
278 #wsmouse* at uep? mux 0
279
280 # USB Keyboards
281 #ukbd* at uhidev? reportid ?
282 #wskbd* at ukbd? console ? mux 1
283
284 # USB serial adapter
285 #ucycom* at uhidev? reportid ?
286
287 # USB Generic HID devices
288 #uhid* at uhidev? reportid ?
289
290 # USB Printer
291 #ulpt* at uhub? port ? configuration ? interface ?
292
293 # USB Modem
294 #umodem* at uhub? port ? configuration ?
295 #ucom* at umodem?
296
297 # USB Mass Storage
298 #umass* at uhub? port ? configuration ? interface ?
299 #wd* at umass?
300
301 # USB audio
302 #uaudio* at uhub? port ? configuration ?
303
304 # USB MIDI
305 #umidi* at uhub? port ? configuration ?
306
307 # USB IrDA
308 # USB-IrDA bridge spec
309 #uirda* at uhub? port ? configuration ? interface ?
310 #irframe* at uirda?
311
312 #stuirda* at uhub? port ? configuration ? interface ?
313 #irframe* at stuirda?
314
315 # SigmaTel STIr4200 USB/IrDA Bridge
316 #ustir* at uhub? port ?
317 #irframe* at ustir?
318
319 # USB Ethernet adapters
320 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
321 #axe* at uhub? port ? # ASIX AX88172 based adapters
322 #cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
323 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
324 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
325 #udav* at uhub? port ? # Davicom DM9601 based adapters
326 #url* at uhub? port ? # Realtek RTL8150L based adapters
327
328 # USB 802.11 adapters
329 #atu* at uhub? port ? # Atmel AT76C50XX based adapters
330 #ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
331 #rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g
332 #zyd* at uhub? port ? # Zydas ZD1211
333
334 # Prolific PL2301/PL2302 host-to-host adapter
335 #upl* at uhub? port ?
336
337 # Serial adapters
338 #ubsa* at uhub? port ? # Belkin serial adapter
339 #ucom* at ubsa? portno ?
340
341 #uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter
342 #ucom* at uchcom? portno ?
343
344 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
345 #ucom* at uftdi? portno ?
346
347 #uipaq* at uhub? port ? # iPAQ PDAs
348 #ucom* at uipaq? portno ?
349
350 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
351 #ucom* at umct? portno ?
352
353 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
354 #ucom* at uplcom? portno ?
355
356 #uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter
357 #ucom* at uslsa? portno ?
358
359 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
360 #ucom* at uvscom? portno ?
361
362 # Diamond Multimedia Rio 500
363 #urio* at uhub? port ?
364
365 # USB Handspring Visor
366 #uvisor* at uhub? port ?
367 #ucom* at uvisor?
368
369 # Kyocera AIR-EDGE PHONE
370 #ukyopon* at uhub? port ?
371 #ucom* at ukyopon? portno ?
372
373 # USB scanners
374 #uscanner* at uhub? port ?
375
376 # USB scanners that use SCSI emulation, e.g., HP5300
377 #usscanner* at uhub? port ?
378
379 # Topfield TF5000PVR range of DVB recorders
380 #utoppy* at uhub? port ?
381
382 # Y@P firmware loader
383 #uyap* at uhub? port ?
384
385 # D-Link DSB-R100 USB radio
386 #udsbr* at uhub? port ?
387 #radio* at udsbr?
388
389 # USB Generic driver
390 #ugen* at uhub? port ?
391 # On ugen bulk endpoints, perform read-ahead and write-behind.
392 #options UGEN_BULK_RA_WB
393
394 # USB generic serial port (e.g., data over cellular)
395 #ugensa* at uhub? port ?
396 #ucom* at ugensa?
397
398 # Bluetooth Controller and Device support
399
400 # Bluetooth PCMCIA Controllers
401 #bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
402 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
403
404 # Bluetooth USB Controllers
405 #ubt* at uhub? port ?
406
407 # Bluetooth Device Hub
408 #bthub* at bt3c?
409 #bthub* at btbc?
410 bthub* at btuart?
411 #bthub* at ubt?
412
413 # Bluetooth HID support
414 #bthidev* at bthub?
415
416 # Bluetooth Mouse
417 #btms* at bthidev? reportid ?
418 #wsmouse* at btms? mux 0
419
420 # Bluetooth Keyboard
421 #btkbd* at bthidev? reportid ?
422 #wskbd* at btkbd? console ? mux 1
423
424 # Bluetooth Audio support
425 #btsco* at bthub?
426
427 # Pseudo-Devices
428
429 pseudo-device crypto # /dev/crypto device
430 pseudo-device swcrypto # software crypto implementation
431
432 # disk/mass storage pseudo-devices
433 #pseudo-device bio # RAID control device driver
434 #pseudo-device ccd 4 # concatenated/striped disk devices
435 pseudo-device cgd 4 # cryptographic disk devices
436 #pseudo-device raid 8 # RAIDframe disk driver
437 #options RAID_AUTOCONFIG # auto-configuration of RAID components
438 # Options to enable various other RAIDframe RAID types.
439 #options RF_INCLUDE_EVENODD=1
440 #options RF_INCLUDE_RAID5_RS=1
441 #options RF_INCLUDE_PARITYLOGGING=1
442 #options RF_INCLUDE_CHAINDECLUSTER=1
443 #options RF_INCLUDE_INTERDECLUSTER=1
444 #options RF_INCLUDE_PARITY_DECLUSTERING=1
445 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
446 #pseudo-device fss 4 # file system snapshot device
447
448 pseudo-device md 1 # memory disk device (ramdisk)
449 pseudo-device vnd # disk-like interface to files
450 options VND_COMPRESSION # compressed vnd(4)
451
452 # network pseudo-devices
453 pseudo-device bpfilter # Berkeley packet filter
454 #pseudo-device carp # Common Address Redundancy Protocol
455 pseudo-device ipfilter # IP filter (firewall) and NAT
456 pseudo-device loop # network loopback
457 pseudo-device ppp # Point-to-Point Protocol
458 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
459 #pseudo-device sl # Serial Line IP
460 #pseudo-device strip # Starmode Radio IP (Metricom)
461 #pseudo-device irframetty # IrDA frame line discipline
462 #pseudo-device tap # virtual Ethernet
463 #pseudo-device tun # network tunneling over tty
464 #pseudo-device gre # generic L3 over IP tunnel
465 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
466 #pseudo-device faith # IPv[46] tcp relay translation i/f
467 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
468 #pseudo-device vlan # IEEE 802.1q encapsulation
469 #pseudo-device bridge # simple inter-network bridging
470 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
471 #pseudo-device agr # IEEE 802.3ad link aggregation
472 #pseudo-device pf # PF packet filter
473 #pseudo-device pflog # PF log if
474
475 # miscellaneous pseudo-devices
476 pseudo-device pty # pseudo-terminals
477 #pseudo-device sequencer 1 # MIDI sequencer
478 pseudo-device rnd # /dev/random and in-kernel generator
479 options RND_COM
480 pseudo-device clockctl # user control of clock subsystem
481 pseudo-device ksyms # /dev/ksyms
482 pseudo-device btuart # Bluetooth HCI UART (H4)
483 # connect with Ericsson Bluetooth Module
484
485 # a pseudo device needed for Coda # also needs CODA (above)
486 pseudo-device vcoda 4 # coda minicache <-> venus comm.
487
488 # a pseudo device needed for SMBFS
489 pseudo-device nsmb # experimental - SMB requester
490
491 # wscons pseudo-devices
492 #pseudo-device wsmux # mouse & keyboard multiplexor
493 #pseudo-device wsfont
494
495 # data mover pseudo-devices
496 #pseudo-device swdmover # softare dmover(9) back-end
497 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
498
499 # Veriexec
500 #pseudo-device veriexec
501 #
502 # Uncomment the fingerprint methods below that are desired. Note that
503 # removing fingerprint methods will have almost no impact on the kernel
504 # code size.
505 #
506 #options VERIFIED_EXEC_FP_RMD160
507 #options VERIFIED_EXEC_FP_SHA256
508 #options VERIFIED_EXEC_FP_SHA384
509 #options VERIFIED_EXEC_FP_SHA512
510 #options VERIFIED_EXEC_FP_SHA1
511 #options VERIFIED_EXEC_FP_MD5
512