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