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