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