TWINTAIL revision 1.35 1 # $NetBSD: TWINTAIL,v 1.35 2010/04/16 13:48:30 pooka Exp $
2 #
3 # TWINTAIL -- Genetec corp. G4255EB-X002 Evaluation Board Kernel
4 #
5
6 include "arch/evbarm/conf/std.g42xxeb"
7
8 # estimated number of users
9
10 maxusers 32
11
12 options VERBOSE_ARM32
13 #options INTR_DEBUG
14 #options BOOTHOWTO=RB_SINGLE
15 options PCMCIADEBUG
16 options PCMCIACISDEBUG
17
18 # Standard system options
19
20 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
21 #options NTP # NTP phase/frequency locked loop
22
23 # CPU options
24
25 options CPU_XSCALE_PXA250 # Support the XScale core
26 #options CPU_XSCALE_PXA270 # You can enable this, but useless for this board.
27 #options XSCALE_CACHE_WRITE_THROUGH
28 options XSCALE_CACHE_READ_WRITE_ALLOCATE
29 makeoptions CPUFLAGS="-mcpu=xscale"
30
31 # Architecture options
32
33 # File systems
34
35 file-system FFS # UFS
36 #file-system LFS # log-structured file system
37 file-system MFS # memory file system
38 file-system NFS # Network file system
39 #file-system ADOSFS # AmigaDOS-compatible file system
40 #file-system EXT2FS # second extended file system (linux)
41 file-system CD9660 # ISO 9660 + Rock Ridge file system
42 file-system MSDOSFS # MS-DOS file system
43 file-system FDESC # /dev/fd
44 file-system KERNFS # /kern
45 file-system NULLFS # loopback file system
46 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
47 file-system PROCFS # /proc
48 #file-system UMAPFS # NULLFS + uid and gid remapping
49 file-system UNION # union file system
50 file-system PTYFS # /dev/pts/N support
51
52 # File system options
53 #options QUOTA # UFS quotas
54 #options FFS_EI # FFS Endian Independant support
55 #options NFSSERVER
56 options WAPBL # File system journaling support - Experimental
57 #options FFS_NO_SNAPSHOT # No FFS snapshot support
58
59 # Networking options
60
61 #options GATEWAY # packet forwarding
62 options INET # IP + ICMP + TCP + UDP
63 options INET6 # IPV6
64 #options IPSEC # IP security
65 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
66 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
67 #options IPSEC_DEBUG # debug for IP security
68 #options MROUTING # IP multicast routing
69 #options ISO,TPIP # OSI
70 #options EON # OSI tunneling over IP
71 #options NETATALK # AppleTalk networking
72 #options PFIL_HOOKS # pfil(9) packet filter hooks
73 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
74 #options PPP_DEFLATE # Deflate compression support for PPP
75 #options PPP_FILTER # Active filter support for PPP (requires bpf)
76 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
77
78 options NFS_BOOT_BOOTP
79 options NFS_BOOT_DHCP
80 #options NFS_BOOT_BOOTPARAM
81
82 # Compatibility options
83
84 #options COMPAT_43 # 4.3BSD compatibility.
85 options COMPAT_50 # NetBSD 5.0 compatibility.
86 options COMPAT_40 # NetBSD 4.0 compatibility.
87 options COMPAT_30 # NetBSD 3.0 compatibility.
88 options COMPAT_20 # NetBSD 2.0 compatibility.
89 options COMPAT_16 # NetBSD 1.6 compatibility.
90 #options COMPAT_15 # NetBSD 1.5 compatibility.
91 #options COMPAT_14 # NetBSD 1.4 compatibility.
92 #options COMPAT_13 # NetBSD 1.3 compatibility.
93 #options COMPAT_12 # NetBSD 1.2 compatibility.
94 #options COMPAT_11 # NetBSD 1.1 compatibility.
95 #options COMPAT_10 # NetBSD 1.0 compatibility.
96 #options COMPAT_09 # NetBSD 0.9 compatibility.
97 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
98
99 # Shared memory options
100
101 #options SYSVMSG # System V-like message queues
102 #options SYSVSEM # System V-like semaphores
103 #options SEMMNI=10 # number of semaphore identifiers
104 #options SEMMNS=60 # number of semaphores in system
105 #options SEMUME=10 # max number of undo entries per process
106 #options SEMMNU=30 # number of undo structures in system
107 #options SYSVSHM # System V-like memory sharing
108
109 # Device options
110
111 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
112 #options MEMORY_DISK_SIZE=3072 # Size in blocks
113 #options MEMORY_DISK_DYNAMIC
114 #options MINIROOTSIZE=1000 # Size in blocks
115 #options MEMORY_DISK_IS_ROOT # use memory disk as root
116
117 # Miscellaneous kernel options
118 options KTRACE # system call tracing, a la ktrace(1)
119 #options KMEMSTATS # kernel memory statistics
120 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
121 options USBVERBOSE # verbose USB device autoconfig messages
122 options SCSIVERBOSE # Verbose SCSI errors
123 #options MIIVERBOSE # Verbose MII autoconfuration messages
124 #options DDB_KEYCODE=0x40
125 #options USERCONF # userconf(4) support
126
127 # Development and Debugging options
128
129 options DIAGNOSTIC # internally consistency checks
130 #options DEBUG
131 #options PMAP_DEBUG # Enable pmap_debug_level code
132 #options VERBOSE_INIT_ARM # verbose bootstraping messages
133 #options DDB # in-kernel debugger
134 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
135 #options KGDB
136 #options DEBUG_KGDB
137 makeoptions DEBUG="-g -O2" # compile full symbol table
138 options SYMTAB_SPACE=350000
139 #options AUDIO_DEBUG=2
140
141 config netbsd root on ? type ?
142 config netbsd-ne0 root on ne0 type nfs
143
144 # The main bus device
145 mainbus0 at root
146
147 # The boot cpu
148 cpu0 at mainbus?
149
150 # integrated peripherals
151 pxaip0 at mainbus?
152
153 pxaintc0 at pxaip? # interrupt controller
154 pxagpio0 at pxaip? # GPIO
155
156 # cotulla integrated 16550 UARTs
157 options COM_PXA2X0
158 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
159 com1 at pxaip? addr 0x40200000 intr 21 # BlueTootth UART
160 #com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA)
161 options FFUARTCONSOLE
162 options BTUARTCONSOLE
163 options KGDB_DEVNAME="\"ffuart\"" # ffuart or btuart
164 options KGDB_DEVRATE=115200
165
166 #aupxa0 at pxaip? # AC97 interface
167
168 # Audio support
169 #audio* at audiobus?
170
171
172 # FlashROM disk driver
173 # frd* at pxaip?
174
175 # On-board device support
176 obio0 at pxaip? intr 8
177 ne0 at obio? addr 0x0e000200 intr 5 # on-board Asix AX88796
178
179 # LCD
180 #device-major lcd char 37
181 lcd0 at obio?
182 wsdisplay* at lcd? console ?
183 options FONT_SONY8x16
184 #options FONT_VT220L8x8
185 options WSEMUL_VT100 # VT100 / VT220 emulation
186 options G4250_LCD_TOSHIBA_LTM035
187 #options G4250_LCD_NEC_NL3224BC35
188
189 kmkbd* at obio?
190 wskbd* at kmkbd? # console ?
191
192 # GB-225 option board
193 opio0 at obio? intr 2
194
195 # USB host
196 # slhci0 at opio0
197 # options SLHCI_DEBUG
198
199 # USB bus support
200 #usb* at slhci?
201
202 # USB Hubs
203 # uhub* at usb?
204 # uhub* at uhub? port ?
205
206 # USB HID device
207 # uhidev* at uhub? port ? configuration ? interface ?
208
209 # USB Mice
210 # ums* at uhidev? reportid ?
211 # wsmouse* at ums? mux 0
212
213 # USB Keyboards
214 #ukbd* at uhidev? reportid ?
215 #wskbd* at ukbd? console ? mux 1
216
217 # USB serial adapter
218 #ucycom* at uhidev? reportid ?
219
220 # USB Generic HID devices
221 # uhid* at uhidev? reportid ?
222
223 # USB Printer
224 #ulpt* at uhub? port ? configuration ? interface ?
225
226 # USB Modem
227 #umodem* at uhub? port ? configuration ?
228 #ucom* at umodem?
229
230 # Option N.V. Wireless WAN modems
231 #uhso* at uhub? port ? configuration ?
232
233 # USB Mass Storage
234 #umass* at uhub? port ? configuration ? interface ?
235 #wd* at umass?
236
237 # USB audio
238 #uaudio* at uhub? port ? configuration ?
239
240 # USB MIDI
241 #umidi* at uhub? port ? configuration ?
242
243 # USB IrDA
244 # USB-IrDA bridge spec
245 #uirda* at uhub? port ? configuration ? interface ?
246 #irframe* at uirda?
247
248 # SigmaTel STIr4200 USB/IrDA Bridge
249 #ustir* at uhub? port ?
250 #irframe* at ustir?
251
252 # USB Ethernet adapters
253 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
254 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
255 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
256 #uax* at uhub? port ? # ASIX AX88172 based adapters
257 #url* at uhub? port ? # Realtek RTL8150L based adapters
258
259 # Prolific PL2301/PL2302 host-to-host adapter
260 #upl* at uhub? port ?
261
262 # Serial adapters
263 #ubsa* at uhub? port ? # Belkin serial adapter
264 #ucom* at ubsa? portno ?
265
266 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
267 #ucom* at uftdi? portno ?
268
269 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
270 #ucom* at umct? portno ?
271
272 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
273 #ucom* at uplcom? portno ?
274
275 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
276 #ucom* at uvscom? portno ?
277
278 # Diamond Multimedia Rio 500
279 #urio* at uhub? port ?
280
281 # USB Handspring Visor
282 #uvisor* at uhub? port ?
283 #ucom* at uvisor?
284
285 # Kyocera AIR-EDGE PHONE
286 #ukyopon* at uhub? port ?
287 #ucom* at ukyopon? portno ?
288
289 # USB scanners
290 #uscanner* at uhub? port ?
291
292 # USB scanners that use SCSI emulation, e.g., HP5300
293 #usscanner* at uhub? port ?
294
295 # Y@P firmware loader
296 #uyap* at uhub? port ?
297
298 # D-Link DSB-R100 USB radio
299 #udsbr* at uhub? port ?
300 #radio* at udsbr?
301
302 # USB Generic driver
303 # ugen* at uhub? port ?
304
305 # PCMCIA/CF card
306 opcic0 at opio?
307 pcmcia* at opcic?
308
309 # PCMCIA serial interfaces
310 com* at pcmcia? function ? # Modems and serial cards
311
312 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
313 com* at pcmcom? slave ? # ...and the slave devices
314
315 # PCMCIA SCSI controllers
316 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
317 esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
318
319 # SCSI bus support
320 scsibus* at scsi?
321
322 # SCSI devices
323 sd* at scsibus? target ? lun ? # SCSI disk drives
324 st* at scsibus? target ? lun ? # SCSI tape drives
325 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
326 ch* at scsibus? target ? lun ? # SCSI autochangers
327 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
328 ss* at scsibus? target ? lun ? # SCSI scanners
329 uk* at scsibus? target ? lun ? # SCSI unknown
330
331 # PCMCIA IDE controllers
332 wdc* at pcmcia? function ?
333 atabus* at wdc? channel ?
334 wd* at atabus? drive ? flags 0x0000
335
336 # PCMCIA network interfaces
337 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
338 awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
339 cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
340 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
341 mbe* at pcmcia? function ? # MB8696x based Ethernet
342 ne* at pcmcia? function ? # NE2000-compatible Ethernet
343 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
344 sm* at pcmcia? function ? # Megahertz Ethernet
345 # tr at pcmcia has problems with Cardbus bridges
346 tr* at pcmcia? function ? # TROPIC based Token-Ring
347 wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
348 xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
349 com* at xirc?
350 xi* at xirc?
351
352 mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
353 com* at mhzc?
354 sm* at mhzc?
355
356 # DMAC support
357 pxadmac0 at pxaip? addr 0x40000000 intr 25
358 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
359 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
360
361
362 # MMC/SD contoller in PXA255
363 # (attached on obio for card detect and write protect signal)
364 pxamci0 at obio?
365 sdmmc* at pxamci?
366 #options PXAMCI_DEBUG
367 #options SDMMC_DEBUG
368 #options SDMMC_DUMP_CSD
369
370 ld* at sdmmc? # MMC/SD card
371
372 # Pseudo-Devices
373
374 # disk/mass storage pseudo-devices
375 #pseudo-device md 1 # memory disk device (ramdisk)
376 #pseudo-device vnd # disk-like interface to files
377 #pseudo-device fss # file system snapshot device
378 pseudo-device putter # for puffs and pud
379
380 # network pseudo-devices
381 pseudo-device bpfilter # Berkeley packet filter
382 pseudo-device ipfilter # IP filter (firewall) and NAT
383 pseudo-device loop # network loopback
384 #pseudo-device kttcp # network loopback
385 #pseudo-device ppp # Point-to-Point Protocol
386 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
387 #pseudo-device sl # Serial Line IP
388 #pseudo-device strip # Starmode Radio IP (Metricom)
389 #pseudo-device irframetty # IrDA frame line discipline
390 #pseudo-device tap # virtual Ethernet
391 #pseudo-device tun # network tunneling over tty
392 #pseudo-device gre # generic L3 over IP tunnel
393 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
394 #pseudo-device faith # IPv[46] tcp relay translation i/f
395 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
396 #pseudo-device vlan # IEEE 802.1q encapsulation
397 #pseudo-device bridge # simple inter-network bridging
398 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
399 #pseudo-device pf # PF packet filter
400 #pseudo-device pflog # PF log if
401
402 # miscellaneous pseudo-devices
403 pseudo-device pty # pseudo-terminals
404 pseudo-device rnd # /dev/random and in-kernel generator
405 pseudo-device clockctl # user control of clock subsystem
406
407 # wscons pseudo-devices
408 #pseudo-device wsmux # mouse & keyboard multiplexor
409 #pseudo-device wsfont
410 pseudo-device ksyms # /dev/ksyms
411