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