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