TS7200 revision 1.41 1 # $NetBSD: TS7200,v 1.41 2010/03/07 09:39:42 plunky Exp $
2 #
3 # TS7200 - Kernel for Technologic Systems TS7200 ARM hardware
4 #
5 # Note - the kernel size for this hardware has two limitations:
6 #
7 # 1) The total size of the kernel (text, data, and bss) must fit
8 # within 8MB. This is mainly an issue for the INSTALL kernel
9 # (TS7200_INSTALL)
10 # 2) If you wish to install this kernel in flash, the compressed size
11 # (including the gunzip booter) must fit within 1441792 bytes.
12 #
13 # If you add new devices to this kernel, please check these limitations.
14 #
15
16 include "arch/evbarm/conf/std.tsarm"
17
18 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
19 options MSGBUFSIZE=65536
20 #options KSTACK_CHECK_MAGIC
21
22 # estimated number of users
23 maxusers 32
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 # CPU options
31
32 options CPU_ARM9 # Support the ARM9TDMI core
33
34 # File systems
35
36 file-system FFS # UFS
37 #file-system LFS # log-structured file system
38 file-system MFS # memory file system
39 file-system NFS # Network file system
40 #file-system ADOSFS # AmigaDOS-compatible file system
41 file-system EXT2FS # second extended file system (linux)
42 #file-system CD9660 # ISO 9660 + Rock Ridge file system
43 file-system MSDOSFS # MS-DOS file system
44 #file-system FDESC # /dev/fd
45 #file-system FILECORE # Acorn filecore file system
46 file-system KERNFS # /kern
47 #file-system NULLFS # loopback file system
48 file-system PROCFS # /proc
49 #file-system UMAPFS # NULLFS + uid and gid remapping
50 #file-system UNION # union file system
51 file-system PTYFS # /dev/pts/N support
52
53 # File system options
54 #options QUOTA # UFS quotas
55 #options FFS_EI # FFS Endian Independant support
56 options NFSSERVER
57 options WAPBL # File system journaling support - Experimental
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 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_LINUX
86 #options COMPAT_43 # 4.3BSD compatibility.
87 options COMPAT_50 # NetBSD 5.0 compatibility.
88 options COMPAT_40 # NetBSD 4.0 compatibility.
89 options COMPAT_30 # NetBSD 3.0 compatibility.
90 options COMPAT_20 # NetBSD 2.0 compatibility.
91 #options COMPAT_16 # NetBSD 1.6 compatibility.
92 #options COMPAT_15 # NetBSD 1.5 compatibility.
93 #options COMPAT_14 # NetBSD 1.4 compatibility.
94 #options COMPAT_13 # NetBSD 1.3 compatibility.
95 #options COMPAT_12 # NetBSD 1.2 compatibility.
96 #options COMPAT_11 # NetBSD 1.1 compatibility.
97 #options COMPAT_10 # NetBSD 1.0 compatibility.
98 #options COMPAT_09 # NetBSD 0.9 compatibility.
99 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
100
101 # Shared memory options
102
103 options SYSVMSG # System V-like message queues
104 options SYSVSEM # System V-like semaphores
105 options SEMMNI=10 # number of semaphore identifiers
106 options SEMMNS=60 # number of semaphores in system
107 options SEMUME=10 # max number of undo entries per process
108 options SEMMNU=30 # number of undo structures in system
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_ROOT_SIZE=3400 # Size in blocks
115 #options MEMORY_DISK_IS_ROOT # use memory disk as root
116
117 # Console options. The default console is speed is 115200 baud.
118 #options CONSPEED=9600 # Console speed
119
120 # Miscellaneous kernel options
121 options KTRACE # system call tracing, a la ktrace(1)
122 options IRQSTATS # manage IRQ statistics
123 #options KMEMSTATS # kernel memory statistics
124 #options SCSIVERBOSE # Verbose SCSI errors
125 #options PCIVERBOSE # Verbose PCI descriptions
126 #options MIIVERBOSE # Verbose MII autoconfuration messages
127 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
128 #options DDB_KEYCODE=0x40
129 #options USERCONF # userconf(4) support
130 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
131
132 # Development and Debugging options
133
134 #options PERFCTRS # performance counters
135 options DIAGNOSTIC # internally consistency checks
136 #options DEBUG
137 #options PMAP_DEBUG # Enable pmap_debug_level code
138 #options VERBOSE_INIT_ARM # verbose bootstraping messages
139 options DDB # in-kernel debugger
140 options DDB_ONPANIC=1
141 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
142 #makeoptions DEBUG="-g" # compile full symbol table
143 options SYMTAB_SPACE=450000
144
145 ##options PMAP_INCLUDE_PTE_SYNC
146 ##options LOCKDEBUG
147
148 config netbsd root on ? type ?
149 config netbsd-epe0 root on epe0 type nfs
150 config netbsd-wd0 root on wd0 type ffs
151 #config netbsd-sd0 root on sd0 type ffs
152
153 # The main bus device
154 mainbus0 at root
155
156 # The boot cpu
157 cpu0 at mainbus?
158
159 # Cirrus Logic EP93xx System-on-chip
160 epsoc0 at mainbus?
161 # On-chip timers
162 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 35
163 # On-chip serial UARTS
164 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
165 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
166 # On-chip USB 1.1
167 ohci* at epsoc? addr 0x80020000 size 0x1000 intr 56
168 # On-chip 10/100 Ethernet
169 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
170 # On-board TS-7200 CPLD
171 tspld0 at mainbus?
172 # PC/104 bus
173 isa0 at tspld?
174 # CompactFlash interface
175 wdc0 at tspld?
176 # TS-5620 battery-backed real-time clock
177 tsrtc* at tspld?
178 # On-board GPIO ports. Note that only 20 total GPIO pins are available
179 # across all ports
180 epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59
181 gpio* at epgpio?
182 options EPGPIO_PORT_C_MASK=0x00
183 options EPGPIO_PORT_D_MASK=0x00
184 options EPGPIO_PORT_E_MASK=0x00
185 options EPGPIO_PORT_F_MASK=0x02
186 options EPGPIO_PORT_G_MASK=0x00
187 options EPGPIO_PORT_H_MASK=0x38
188
189 # HD44780 LCD on LCD header
190 #tslcd* at tspld?
191 #wsdisplay* at tslcd? console ?
192
193 # 4x4 Matrix Keypad on DIO header
194 #tskp* at tspld?
195 #wskbd* at tskp? console ? mux 1
196
197 # TS-SER[1,2,4] multiport serial PC/104 cards
198 com0 at isa? port 0x3f8 irq 6 # Standard PC serial ports
199 com1 at isa? port 0x2f8 irq 6
200 com2 at isa? port 0x3e8 irq 6
201 com3 at isa? port 0x2e8 irq 6
202
203 wdc1 at isa? port 0x1f0 irq 7 flags 0x00
204 wdc2 at isa? port 0x170 irq 7 flags 0x00
205
206 tscs0 at isa? port 0x300 iomem ? irq ? drq ? # TS-ETH10 PC/104 ethernet
207 tscs1 at isa? port 0x310 iomem ? irq ? drq ?
208 tscs2 at isa? port 0x320 iomem ? irq ? drq ?
209 tscs3 at isa? port 0x330 iomem ? irq ? drq ?
210
211 tsdio0 at isa? port 0x100 # TS-DIO24 general-purpose I/O
212 tsdio1 at isa? port 0x108
213 tsdio2 at isa? port 0x110
214 tsdio3 at isa? port 0x118
215
216 # PCMCIA bus support
217 #pcmcia* at pcic? controller ? socket ?
218
219 #options PCIC_ISA_INTR_ALLOC_MASK=0xe0
220 # ISA PCMCIA controllers
221 #pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
222 #pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
223 #pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
224
225 # ATA (IDE) bus support
226 atabus* at ata?
227
228 # IDE drives
229 # Flags are used only with controllers that support DMA operations
230 # and mode settings (e.g. some pciide controllers)
231 # The lowest order four bits (rightmost digit) of the flags define the PIO
232 # mode to use, the next set of four bits the DMA mode and the third set the
233 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
234 # to use, and the last bit must be 1 for this setting to be used.
235 # For DMA and UDMA, 0xf (1111) means 'disable'.
236 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
237 # (0xc=1100, 0xa=1010, 0xf=1111)
238 # 0x0000 means "use whatever the drive claims to support".
239 wd* at atabus? drive ? flags 0x00ff
240
241 # ATAPI bus support
242 #atapibus* at atapi?
243
244 # ATAPI devices
245 # flags have the same meaning as for IDE drives.
246 # XXX No DMA on IDE devices for now
247 #cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
248 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
249 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
250 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
251
252 # MII/PHY support
253 #acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
254 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
255 #bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
256 #brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
257 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
258 #exphy* at mii? phy ? # 3Com internal PHYs
259 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
260 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
261 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
262 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
263 #igphy* at mii? phy ? # Intel IGP01E1000
264 #inphy* at mii? phy ? # Intel 82555 PHYs
265 #iophy* at mii? phy ? # Intel 82553 PHYs
266 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
267 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
268 #nsphy* at mii? phy ? # NS83840 PHYs
269 #nsphyter* at mii? phy ? # NS83843 PHYs
270 #pnaphy* at mii? phy ? # generic HomePNA PHYs
271 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
272 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
273 #tlphy* at mii? phy ? # ThunderLAN PHYs
274 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
275 ukphy* at mii? phy ? # generic unknown PHYs
276 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
277
278 # USB Controller and Devices
279
280 # USB bus support
281 #usb* at ehci?
282 usb* at ohci?
283 #usb* at uhci?
284 #usb* at slhci?
285
286 # USB Hubs
287 uhub* at usb?
288 uhub* at uhub? port ?
289
290 # USB HID device
291 #uhidev* at uhub? port ? configuration ? interface ?
292
293 # USB Mice
294 # ums* at uhidev? reportid ?
295 # wsmouse* at ums? mux 0
296
297 # USB eGalax touch-panel
298 # uep* at uhub? port ?
299 # wsmouse* at uep? mux 0
300
301 # USB Keyboards
302 #ukbd* at uhidev? reportid ?
303 #wskbd* at ukbd? console ? mux 1
304
305 # USB serial adapter
306 #ucycom* at uhidev? reportid ?
307
308 # USB Generic HID devices
309 #uhid* at uhidev? reportid ?
310
311 # USB Printer
312 #ulpt* at uhub? port ? configuration ? interface ?
313
314 # USB Modem
315 #umodem* at uhub? port ? configuration ?
316 #ucom* at umodem?
317
318 # Option N.V. Wireless WAN modems
319 #uhso* at uhub? port ? configuration ?
320
321 # USB Mass Storage
322 #umass* at uhub? port ? configuration ? interface ?
323 #scsibus* at umass?
324 # SCSI devices
325 #sd* at scsibus? target ? lun ? # SCSI disk drives
326 #st* at scsibus? target ? lun ? # SCSI tape drives
327 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
328 #ch* at scsibus? target ? lun ? # SCSI autochangers
329 #ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
330 #ss* at scsibus? target ? lun ? # SCSI scanners
331 #uk* at scsibus? target ? lun ? # SCSI unknown
332
333 # wd* at umass?
334
335 # USB audio
336 #uaudio* at uhub? port ? configuration ?
337
338 # USB MIDI
339 #umidi* at uhub? port ? configuration ?
340
341 # USB IrDA
342 # USB-IrDA bridge spec
343 #uirda* at uhub? port ? configuration ? interface ?
344 #irframe* at uirda?
345
346 # SigmaTel STIr4200 USB/IrDA Bridge
347 #ustir* at uhub? port ?
348 #irframe* at ustir?
349
350 # USB Ethernet adapters
351 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
352 #axe* at uhub? port ? # ASIX AX88172 based adapters
353 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
354 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
355 #udav* at uhub? port ? # Davicom DM9601 based adapters
356 #url* at uhub? port ? # Realtek RTL8150L based adapters
357
358 # Prolific PL2301/PL2302 host-to-host adapter
359 #upl* at uhub? port ?
360
361 # Serial adapters
362 #ubsa* at uhub? port ? # Belkin serial adapter
363 #ucom* at ubsa? portno ?
364
365 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
366 #ucom* at uftdi? portno ?
367
368 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
369 #ucom* at umct? portno ?
370
371 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
372 #ucom* at uplcom? portno ?
373
374 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
375 #ucom* at uvscom? portno ?
376 #atu* at uhub? port ? # Atmel AT76C50XX 802.11b adapter
377
378 # Diamond Multimedia Rio 500
379 # urio* at uhub? port ?
380
381 # USB Handspring Visor
382 # uvisor* at uhub? port ?
383 # ucom* at uvisor?
384
385 # Kyocera AIR-EDGE PHONE
386 #ukyopon* at uhub? port ?
387 #ucom* at ukyopon? portno ?
388
389 # USB scanners
390 # uscanner* at uhub? port ?
391
392 # USB scanners that use SCSI emulation, e.g., HP5300
393 # usscanner* at uhub? port ?
394
395 # Y@P firmware loader
396 # uyap* at uhub? port ?
397
398 # D-Link DSB-R100 USB radio
399 # udsbr* at uhub? port ?
400 # radio* at udsbr?
401
402 # USB Generic driver
403 ugen* at uhub? port ?
404
405 # IrDA and Consumer Ir devices
406
407 # Toshiba Oboe
408 # oboe* at pci? dev ? function ?
409 # irframe* at oboe?
410
411 # CardBus IEEE1394 controllers
412 #fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
413
414 #fw* at fwbus? # IP over 1394
415
416 # IEEE1394 nodes
417 #fwnode* at fwbus? idhi ? idlo ?
418 #sbpscsi* at fwnode?
419 #scsibus* at sbpscsi?
420
421 # Audio Devices
422
423 # OPL[23] FM synthesizers
424 #opl* at cmpci? flags 1
425 #opl* at eso?
426 #opl* at fms?
427 #opl* at sv?
428 #opl* at yds?
429
430 # Audio support
431 #audio* at audiobus?
432
433 # MPU 401 UARTs
434 #mpu* at cmpci?
435 #mpu* at eso?
436 #mpu* at fms?
437 #mpu* at yds?
438
439 # MIDI support
440 #midi* at midibus?
441
442 # Pseudo-Devices
443
444 # disk/mass storage pseudo-devices
445 #pseudo-device md 1 # memory disk device (ramdisk)
446 pseudo-device vnd # disk-like interface to files
447 #pseudo-device fss 4 # file system snapshot device
448
449 # network pseudo-devices
450 pseudo-device bpfilter # Berkeley packet filter
451 pseudo-device loop # network loopback
452 pseudo-device kttcp # network loopback
453
454 # miscellaneous pseudo-devices
455 pseudo-device pty # pseudo-terminals
456 pseudo-device rnd # /dev/random and in-kernel generator
457 #options RND_COM
458 pseudo-device clockctl # user control of clock subsystem
459 pseudo-device ksyms # /dev/ksyms
460
461 # data mover pseudo-devices
462 #pseudo-device swdmover # softare dmover(9) back-end
463 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
464
465 #
466 # wscons options
467 #
468 # builtin terminal emulations
469 #options WSEMUL_SUN # sun terminal emulation
470 #options WSEMUL_VT100 # VT100 / VT220 emulation
471 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
472 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
473 #options WS_DEFAULT_FG=WSCOL_WHITE
474 #options WS_DEFAULT_BG=WSCOL_BLACK
475 #options WS_DEFAULT_COLATTR="(0)"
476 #options WS_DEFAULT_MONOATTR="(0)"
477 #options WS_KERNEL_FG=WSCOL_GREEN
478 #options WS_KERNEL_BG=WSCOL_BLACK
479 #options WS_KERNEL_COLATTR=""
480 #options WS_KERNEL_MONOATTR=""
481 # customization of console border color
482 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
483 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
484 # compatibility to other console drivers
485 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
486 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
487 #options WSDISPLAY_COMPAT_USL # VT handling
488 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
489 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
490 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
491 # allocate a number of virtual screens at autoconfiguration time
492 #options WSDISPLAY_DEFAULTSCREENS=4
493 # use a large software cursor that doesn't blink
494 #options PCDISPLAY_SOFTCURSOR
495 # modify the screen type of the console; defaults to "80x25"
496 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
497 # work around a hardware bug that loaded fonts don't work; found on ATI cards
498 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
499 # console scrolling support.
500 #options WSDISPLAY_SCROLLSUPPORT
501 # enable VGA raster mode capable of displaying multilingual text on console
502 #options VGA_RASTERCONSOLE
503
504 # wscons pseudo-devices
505 #pseudo-device wsmux # mouse & keyboard multiplexor
506 #pseudo-device wsfont
507
508