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