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