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