GUMSTIX revision 1.46 1 # $NetBSD: GUMSTIX,v 1.46 2010/03/15 13:18:59 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 basix/connex motherboards
18 options CPU_XSCALE_PXA270 # Support the verdex motherboards
19 makeoptions CPUFLAGS="-mcpu=xscale"
20
21 # Architecture options
22 #options XSCALE_CACHE_WRITE_THROUGH
23 options XSCALE_CACHE_READ_WRITE_ALLOCATE
24
25 # Gumstix options
26 # if not specfied 'busheader=' in args from u-boot, use GXIO_DEFAULT_EXPANSION.
27 options GUMSTIX_NETBSD_ARGS_BUSHEADER
28 options GUMSTIX_NETBSD_ARGS_CONSOLE # dynamically configure console
29 # 'console=lcd' or ffuart,stuart
30
31 # Standard system options
32
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 #options NTP # NTP phase/frequency locked loop
35
36 # File systems
37
38 file-system FFS # UFS
39 file-system EXT2FS # second extended file system (linux)
40 file-system LFS # log-structured file system
41 file-system MFS # memory file system
42 file-system NFS # Network File System client
43 #file-system NTFS # Windows/NT file system (experimental)
44 #file-system CD9660 # ISO 9660 + Rock Ridge file system
45 file-system MSDOSFS # MS-DOS file system
46 file-system FDESC # /dev/fd
47 file-system KERNFS # /kern
48 file-system NULLFS # loopback file system
49 file-system OVERLAY # overlay file system
50 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
51 file-system PROCFS # /proc
52 file-system UMAPFS # NULLFS + uid and gid remapping
53 file-system UNION # union file system
54 file-system CODA # Coda File System; also needs vcoda (below)
55 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
56 file-system PTYFS # /dev/ptm support
57 file-system TMPFS # Efficient memory file-system
58 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
59 #file-system HFS # experimental - Apple HFS+ (read-only)
60
61 # File system options
62 #options QUOTA # UFS quotas
63 #options FFS_EI # FFS Endian Independent support
64 options WAPBL # File system journaling support - Experimental
65 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
66 # It is not recommended for general use.
67 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
68 #options NFSSERVER # Network File System server
69 #options FFS_NO_SNAPSHOT # No FFS snapshot support
70 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
71 # immutable) behave as system flags.
72
73 # Networking options
74
75 #options GATEWAY # packet forwarding
76 options INET # IP + ICMP + TCP + UDP
77 options INET6 # IPv6
78 options IPSEC # IP security
79 options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
80 options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
81 #options IPSEC_DEBUG # debug for IP security
82 #options MROUTING # IP multicast routing
83 #options PIM # Protocol Independent Multicast
84 #options ISO,TPIP # OSI
85 #options EON # OSI tunneling over IP
86 #options NETATALK # AppleTalk networking
87 #options PFIL_HOOKS # pfil(9) packet filter hooks
88 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
89 #options PPP_DEFLATE # Deflate compression support for PPP
90 #options PPP_FILTER # Active filter support for PPP (requires bpf)
91 #options IPFILTER_LOG # ipmon(8) log support
92 #options IPFILTER_LOOKUP # ippool(8) support
93 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
94 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
95
96 options NFS_BOOT_BOOTP
97 options NFS_BOOT_DHCP
98 #options NFS_BOOT_BOOTPARAM
99
100 # Compatibility options
101
102 #options COMPAT_09 # NetBSD 0.9 compatibility.
103 #options COMPAT_10 # NetBSD 1.0 compatibility.
104 #options COMPAT_11 # NetBSD 1.1 compatibility.
105 #options COMPAT_12 # NetBSD 1.2 compatibility.
106 #options COMPAT_13 # NetBSD 1.3 compatibility.
107 #options COMPAT_14 # NetBSD 1.4 compatibility.
108 #options COMPAT_15 # NetBSD 1.5 compatibility.
109 options COMPAT_16 # NetBSD 1.6 compatibility.
110 options COMPAT_20 # NetBSD 2.0 compatibility.
111 options COMPAT_30 # NetBSD 3.0 compatibility.
112 options COMPAT_40 # NetBSD 4.0 compatibility.
113 options COMPAT_50 # NetBSD 5.0 compatibility.
114 #options COMPAT_43 # 4.3BSD compatibility.
115 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
116
117 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
118 options COMPAT_LINUX # binary compatibility with Linux
119 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
120
121 # Shared memory options
122
123 #options SYSVMSG # System V-like message queues
124 #options SYSVSEM # System V-like semaphores
125 #options SEMMNI=10 # number of semaphore identifiers
126 #options SEMMNS=60 # number of semaphores in system
127 #options SEMUME=10 # max number of undo entries per process
128 #options SEMMNU=30 # number of undo structures in system
129 #options SYSVSHM # System V-like memory sharing
130 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
131
132 # Device options
133
134 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
135 #options MEMORY_DISK_IS_ROOT # use memory disk as root
136 #options MEMORY_DISK_DYNAMIC
137 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
138
139 # Miscellaneous kernel options
140
141 options KTRACE # system call tracing, a la ktrace(1)
142 options IRQSTATS # manage IRQ statistics
143 #options KMEMSTATS # kernel memory statistics
144 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
145 #options USBVERBOSE # verbose USB device autoconfig messages
146 options MIIVERBOSE # Verbose MII autoconfuration messages
147 #options DDB_KEYCODE=0x40
148 #options USERCONF # userconf(4) support
149 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
150 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
151
152 # Development and Debugging options
153
154 #options PERFCTRS # performance counters
155 options DIAGNOSTIC # internally consistency checks
156 options DEBUG
157 #options LOCKDEBUG
158 #options PMAP_DEBUG # Enable pmap_debug_level code
159 #options VERBOSE_INIT_ARM # verbose bootstraping messages
160 options DDB # in-kernel debugger
161 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
162 #options KGDB
163 #options DEBUG_KGDB
164 makeoptions DEBUG="-g -O2" # compile full symbol table
165 options SYMTAB_SPACE=500000
166 #options AUDIO_DEBUG=2
167
168 config netbsd root on ? type ?
169 config netbsd-sm0 root on sm0 type nfs
170 config netbsd-smsh0 root on smsh0 type nfs
171
172 # The main bus device
173 mainbus0 at root
174
175 # The boot cpu
176 cpu0 at mainbus?
177
178 # integrated peripherals
179 pxaip0 at mainbus?
180
181 pxaintc0 at pxaip? # interrupt controller
182 options PXAGPIO_HAS_GPION_INTRS
183
184 pxagpio0 at pxaip? # GPIO
185 pxartc0 at pxaip? addr 0x40900000 # RTC
186
187 # cotulla integrated 16550 UARTs
188 options COM_PXA2X0
189 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
190 com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st)
191 com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx)
192 com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt)
193 options FFUARTCONSOLE
194 #options STUARTCONSOLE
195 #options BTUARTCONSOLE
196 #options HWUARTCONSOLE
197 #options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart
198 #options KGDB_DEVRATE=115200
199
200 # DMAC support
201 pxadmac0 at pxaip? addr 0x40000000 intr 25
202 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
203 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
204
205 # AC97 Audio support
206 pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix
207
208 # Audio support
209 audio* at audiobus?
210
211 # LCD
212 lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx
213 wsdisplay* at lcd? console ?
214
215 # USB Host/Device Controller
216 ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx
217 # ALSO NEEDS pxaudc
218 pxaudc0 at pxaip? addr 0x40600000
219
220 # integrated MMC/SD contoller
221 pxamci0 at pxaip? addr 0x41100000 size 0x48
222 sdmmc* at pxamci?
223 #options PXAMCI_DEBUG
224 #options SDMMC_DEBUG
225 #options SDMMC_DUMP_CSD
226
227 ld* at sdmmc?
228
229 # gumstix device support
230 gxio0 at pxaip?
231 options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART
232 #options GXIO_DEFAULT_EXPANSION="\"netCF\""
233
234 # gumstix expantion boards
235
236 # SMC 91C111
237 sm0 at gxio? addr 0x04000300 gpirq ?
238 #sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO
239 #sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx
240 sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC)
241
242 # SMSC LAN9117
243 smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx
244
245 # Inter-Integrated Circuit controller
246 gxiic0 at pxaip? addr 0x40300000
247 iic* at gxiic?
248 #dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout
249
250 # integrated PCMCIA/CF controller
251 pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF
252
253 # PCMCIA bus support
254 pcmcia* at pxapcic?
255
256 # Marvell 88W8385
257 #malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx
258
259
260 # PCMCIA serial interfaces
261 com* at pcmcia? function ? # Modems and serial cards
262
263 # PCMCIA IDE controllers
264 wdc* at pcmcia? function ?
265 atabus* at wdc? channel ?
266 wd* at atabus? drive ? flags 0x0000
267
268 # PCMCIA network interfaces
269 ne* at pcmcia? function ? # NE2000-compatible Ethernet
270 wi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11)
271 #xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
272 #xi* at xirc?
273
274 # MII/PHY support
275 #acphy* at mii? phy ? # AMD/Altima AC101 PHYs
276 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
277 ukphy* at mii? phy ? # smsh(4) internal PHY
278
279 # PCMCIA USB controllers
280 #slhci* at pcmcia? function ? # ScanLogic SL811HS
281
282 # USB bus support
283 usb* at ohci?
284 #usb* at slhci?
285
286 # USB Hubs
287 uhub* at usb?
288 uhub* at uhub? port ?
289
290 # USB HID device
291 uhidev* at uhub? port ? configuration ? interface ?
292
293 # USB Mice
294 ums* at uhidev? reportid ?
295 wsmouse* at ums? mux 0
296
297 # USB Keyboards
298 ukbd* at uhidev? reportid ?
299 wskbd* at ukbd? console ? mux 1
300
301 # USB LCDs and USB-VGA adaptors
302 udl* at uhub? port ? # DisplayLink DL-1x0/1x5
303 wsdisplay* at udl?
304
305 # USB Mass Storage
306 umass* at uhub? port ? configuration ? interface ?
307 #wd* at umass?
308
309 # SCSI bus support
310 scsibus* at scsi?
311
312 # SCSI devices
313 sd* at scsibus? target ? lun ? # SCSI disk drives
314
315 # Bluetooth Controller and Device support
316
317 # Bluetooth PCMCIA Controllers
318 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
319
320 # Bluetooth USB Controllers
321 #ubt* at uhub? port ?
322
323 # Bluetooth Device Hub
324 bthub* at bcsp?
325 #bthub* at btbc?
326 bthub* at btuart?
327 #bthub* at ubt?
328
329 # Bluetooth HID support
330 bthidev* at bthub?
331
332 # Bluetooth Mouse
333 btms* at bthidev? reportid ?
334 wsmouse* at btms? mux 0
335
336 # Bluetooth Keyboard
337 btkbd* at bthidev? reportid ?
338 wskbd* at btkbd? console ? mux 1
339
340 # Bluetooth Audio support
341 btsco* at bthub?
342
343 # Pseudo-Devices
344
345 pseudo-device crypto # /dev/crypto device
346 pseudo-device swcrypto # software crypto implementation
347
348 # disk/mass storage pseudo-devices
349 #pseudo-device bio # RAID control device driver
350 #pseudo-device ccd 4 # concatenated/striped disk devices
351 pseudo-device cgd 4 # cryptographic disk devices
352 #pseudo-device raid 8 # RAIDframe disk driver
353 #options RAID_AUTOCONFIG # auto-configuration of RAID components
354 # Options to enable various other RAIDframe RAID types.
355 #options RF_INCLUDE_EVENODD=1
356 #options RF_INCLUDE_RAID5_RS=1
357 #options RF_INCLUDE_PARITYLOGGING=1
358 #options RF_INCLUDE_CHAINDECLUSTER=1
359 #options RF_INCLUDE_INTERDECLUSTER=1
360 #options RF_INCLUDE_PARITY_DECLUSTERING=1
361 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
362 #pseudo-device fss 4 # file system snapshot device
363
364 #pseudo-device md 1 # memory disk device (ramdisk)
365 pseudo-device vnd # disk-like interface to files
366 options VND_COMPRESSION # compressed vnd(4)
367 pseudo-device putter # for puffs and pud
368
369 # network pseudo-devices
370 pseudo-device bpfilter # Berkeley packet filter
371 #pseudo-device carp # Common Address Redundancy Protocol
372 pseudo-device ipfilter # IP filter (firewall) and NAT
373 pseudo-device loop # network loopback
374 pseudo-device ppp # Point-to-Point Protocol
375 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
376 #pseudo-device sl # Serial Line IP
377 #pseudo-device strip # Starmode Radio IP (Metricom)
378 #pseudo-device irframetty # IrDA frame line discipline
379 #pseudo-device tap # virtual Ethernet
380 #pseudo-device tun # network tunneling over tty
381 #pseudo-device gre # generic L3 over IP tunnel
382 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
383 #pseudo-device faith # IPv[46] TCP relay translation i/f
384 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
385 #pseudo-device vlan # IEEE 802.1q encapsulation
386 #pseudo-device bridge # simple inter-network bridging
387 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
388 #pseudo-device agr # IEEE 802.3ad link aggregation
389 #pseudo-device pf # PF packet filter
390 #pseudo-device pflog # PF log if
391
392 # miscellaneous pseudo-devices
393 pseudo-device pty # pseudo-terminals
394 #pseudo-device sequencer 1 # MIDI sequencer
395 pseudo-device rnd # /dev/random and in-kernel generator
396 options RND_COM
397 pseudo-device clockctl # user control of clock subsystem
398 pseudo-device ksyms # /dev/ksyms
399 pseudo-device bcsp # BlueCore Serial Protocol
400 pseudo-device btuart # Bluetooth HCI UART (H4)
401 # connect with Ericsson Bluetooth Module
402 # or Infineon SingleStone (PBA31307)
403 # or Infineon UniStone (PBA31308)
404
405 # a pseudo device needed for Coda # also needs CODA (above)
406 pseudo-device vcoda 4 # coda minicache <-> venus comm.
407
408 # a pseudo device needed for SMBFS
409 pseudo-device nsmb # experimental - SMB requester
410
411 # wscons pseudo-devices
412 pseudo-device wsmux # mouse & keyboard multiplexor
413 #pseudo-device wsfont
414
415 # data mover pseudo-devices
416 #pseudo-device swdmover # softare dmover(9) back-end
417 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
418
419 # userland interface to drivers, including autoconf and properties retrieval
420 pseudo-device drvctl
421
422 #options FILEASSOC # fileassoc(9) - required for Veriexec
423
424 # Veriexec
425 #pseudo-device veriexec
426 #
427 # Uncomment the fingerprint methods below that are desired. Note that
428 # removing fingerprint methods will have almost no impact on the kernel
429 # code size.
430 #
431 #options VERIFIED_EXEC_FP_RMD160
432 #options VERIFIED_EXEC_FP_SHA256
433 #options VERIFIED_EXEC_FP_SHA384
434 #options VERIFIED_EXEC_FP_SHA512
435 #options VERIFIED_EXEC_FP_SHA1
436 #options VERIFIED_EXEC_FP_MD5
437
438 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
439 #options PAX_ASLR=0 # PaX Address Space Layout Randomization
440