1# $NetBSD: TWINTAIL,v 1.85 2022/08/07 02:52:25 simonb 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 FFS_EI # FFS Endian Independent support 54#options FFS_NO_SNAPSHOT # No FFS snapshot support 55#options QUOTA # legacy UFS quotas 56#options QUOTA2 # new, in-filesystem UFS quotas 57#options UFS_DIRHASH # UFS Large Directory Hashing 58#options UFS_EXTATTR # Extended attribute support for UFS1 59options WAPBL # File system journaling support 60#options DISKLABEL_EI # disklabel Endian Independent support 61#options NFSSERVER # Network File System server 62 63# Networking options 64 65#options GATEWAY # packet forwarding 66options INET # IP + ICMP + TCP + UDP 67options INET6 # IPV6 68#options IPSEC # IP security 69#options IPSEC_DEBUG # debug for IP security 70#options MROUTING # IP multicast routing 71#options NETATALK # AppleTalk networking 72#options PPP_BSDCOMP # BSD-Compress compression support for PPP 73#options PPP_DEFLATE # Deflate compression support for PPP 74#options PPP_FILTER # Active filter support for PPP (requires bpf) 75#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 77options NFS_BOOT_BOOTP 78options NFS_BOOT_DHCP 79#options NFS_BOOT_BOOTPARAM 80 81# Compatibility options 82 83include "conf/compat_netbsd16.config" 84options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 85 86# Shared memory options 87 88#options SYSVMSG # System V-like message queues 89#options SYSVSEM # System V-like semaphores 90#options SYSVSHM # System V-like memory sharing 91 92# Device options 93 94#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 95#options MEMORY_DISK_ROOT_SIZE=3072 # Size in blocks 96#options MEMORY_DISK_DYNAMIC 97#options MINIROOTSIZE=1000 # Size in blocks 98#options MEMORY_DISK_IS_ROOT # use memory disk as root 99 100# Miscellaneous kernel options 101options KTRACE # system call tracing, a la ktrace(1) 102options PCMCIAVERBOSE # verbose PCMCIA configuration messages 103#options USBVERBOSE # verbose USB device autoconfig messages 104options SCSIVERBOSE # Verbose SCSI errors 105#options MIIVERBOSE # Verbose MII autoconfuration messages 106#options DDB_KEYCODE=0x40 107#options USERCONF # userconf(4) support 108 109# Development and Debugging options 110 111options DIAGNOSTIC # internal consistency checks 112#options DEBUG 113#options UVMHIST # kernhist for uvm/pmap subsystems 114#options VERBOSE_INIT_ARM # verbose bootstraping messages 115#options DDB # in-kernel debugger 116#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 117#options KGDB 118#options DEBUG_KGDB 119makeoptions DEBUG="-g" # compile full symbol table 120#makeoptions COPTS="-O2" 121makeoptions COPY_SYMTAB=1 122#options AUDIO_DEBUG=2 123 124config netbsd root on ? type ? 125config netbsd-ne0 root on ne0 type nfs 126 127# The main bus device 128mainbus0 at root 129 130# The boot cpu 131cpu0 at mainbus? 132 133# integrated peripherals 134pxaip0 at mainbus? 135 136pxaintc0 at pxaip? # interrupt controller 137pxagpio0 at pxaip? # GPIO 138 139# cotulla integrated 16550 UARTs 140options COM_PXA2X0 141com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 142com1 at pxaip? addr 0x40200000 intr 21 # BlueTootth UART 143#com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA) 144options FFUARTCONSOLE 145options BTUARTCONSOLE 146options KGDB_DEVNAME="\"ffuart\"" # ffuart or btuart 147options KGDB_DEVRATE=115200 148 149#aupxa0 at pxaip? # AC97 interface 150 151# Audio support 152#audio* at audiobus? 153 154#spkr* at audio? # PC speaker (synthesized) 155 156# FlashROM disk driver 157# frd* at pxaip? 158 159# On-board device support 160obio0 at pxaip? intr 8 161ne0 at obio? addr 0x0e000200 intr 5 # on-board Asix AX88796 162 163# LCD 164#device-major lcd char 37 165lcd0 at obio? 166wsdisplay* at lcd? console ? 167options FONT_SONY8x16 168#options FONT_VT220L8x8 169options WSEMUL_VT100 # VT100 / VT220 emulation 170options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 171options G4250_LCD_TOSHIBA_LTM035 172#options G4250_LCD_NEC_NL3224BC35 173 174kmkbd* at obio? 175wskbd* at kmkbd? # mux 1 # console ? 176options WSDISPLAY_COMPAT_RAWKBD 177 178# GB-225 option board 179opio0 at obio? intr 2 180 181# USB host 182# slhci0 at opio0 183# options SLHCI_DEBUG 184 185# USB bus support 186#usb* at slhci? 187 188# USB Hubs 189# uhub* at usb? 190# uhub* at uhub? port ? 191 192# USB HID device 193# uhidev* at uhub? port ? configuration ? interface ? 194 195# USB Mice 196# ums* at uhidev? reportid ? 197# wsmouse* at ums? mux 0 198 199# USB Keyboards 200#ukbd* at uhidev? reportid ? 201#wskbd* at ukbd? console ? mux 1 202 203# USB serial adapter 204#ucycom* at uhidev? reportid ? 205 206# USB Generic HID devices 207# uhid* at uhidev? reportid ? 208 209# USB Printer 210#ulpt* at uhub? port ? configuration ? interface ? 211 212# USB Modem 213#umodem* at uhub? port ? configuration ? 214#ucom* at umodem? 215 216# Option N.V. Wireless WAN modems 217#uhso* at uhub? port ? configuration ? 218 219# USB Mass Storage 220#umass* at uhub? port ? configuration ? interface ? 221 222# USB audio 223#uaudio* at uhub? port ? configuration ? 224 225# USB MIDI 226#umidi* at uhub? port ? configuration ? 227 228# USB IrDA 229# USB-IrDA bridge spec 230#uirda* at uhub? port ? configuration ? interface ? 231#irframe* at uirda? 232 233# SigmaTel STIr4200 USB/IrDA Bridge 234#ustir* at uhub? port ? 235#irframe* at ustir? 236 237# USB Ethernet adapters 238#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 239#cue* at uhub? port ? # CATC USB-EL1201A based adapters 240#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 241#uax* at uhub? port ? # ASIX AX88172 based adapters 242#url* at uhub? port ? # Realtek RTL8150L based adapters 243 244# Prolific PL2301/PL2302 host-to-host adapter 245#upl* at uhub? port ? 246 247# Serial adapters 248#ubsa* at uhub? port ? # Belkin serial adapter 249#ucom* at ubsa? portno ? 250 251#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 252#ucom* at uftdi? portno ? 253 254#umct* at uhub? port ? # MCT USB-RS232 serial adapter 255#ucom* at umct? portno ? 256 257#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 258#ucom* at uplcom? portno ? 259 260#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 261#ucom* at uvscom? portno ? 262 263# USB Handspring Visor 264#uvisor* at uhub? port ? 265#ucom* at uvisor? 266 267# Kyocera AIR-EDGE PHONE 268#ukyopon* at uhub? port ? 269#ucom* at ukyopon? portno ? 270 271# USB scanners that use SCSI emulation, e.g., HP5300 272#usscanner* at uhub? port ? 273 274# D-Link DSB-R100 USB radio 275#udsbr* at uhub? port ? 276#radio* at udsbr? 277 278# USB Generic driver 279# ugen* at uhub? port ? 280 281# PCMCIA/CF card 282opcic0 at opio? 283pcmcia* at opcic? 284 285# PCMCIA serial interfaces 286com* at pcmcia? function ? # Modems and serial cards 287 288pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 289com* at pcmcom? slave ? # ...and the slave devices 290 291# PCMCIA SCSI controllers 292aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 293esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 294 295# SCSI bus support 296scsibus* at scsi? 297 298# SCSI devices 299sd* at scsibus? target ? lun ? # SCSI disk drives 300st* at scsibus? target ? lun ? # SCSI tape drives 301cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 302ch* at scsibus? target ? lun ? # SCSI autochangers 303ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 304ss* at scsibus? target ? lun ? # SCSI scanners 305uk* at scsibus? target ? lun ? # SCSI unknown 306 307# PCMCIA IDE controllers 308wdc* at pcmcia? function ? 309atabus* at wdc? channel ? 310wd* at atabus? drive ? flags 0x0000 311 312# PCMCIA network interfaces 313an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 314awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 315cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 316ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 317mbe* at pcmcia? function ? # MB8696x based Ethernet 318ne* at pcmcia? function ? # NE2000-compatible Ethernet 319ray* at pcmcia? function ? # Raytheon Raylink (802.11) 320sm* at pcmcia? function ? # Megahertz Ethernet 321wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 322xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 323com* at xirc? 324xi* at xirc? 325 326mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 327com* at mhzc? 328sm* at mhzc? 329 330# DMAC support 331pxadmac0 at pxaip? addr 0x40000000 intr 25 332options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 333#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 334 335 336# MMC/SD controller in PXA255 337# (attached on obio for card detect and write protect signal) 338pxamci0 at obio? 339sdmmc* at pxamci? 340#options PXAMCI_DEBUG 341#options SDMMC_DEBUG 342#options SDMMC_DUMP_CSD 343 344ld* at sdmmc? # MMC/SD card 345 346# Pseudo-Devices 347 348# disk/mass storage pseudo-devices 349#pseudo-device md # memory disk device (ramdisk) 350#pseudo-device vnd # disk-like interface to files 351#pseudo-device fss # file system snapshot device 352pseudo-device putter # for puffs and pud 353 354# network pseudo-devices 355pseudo-device bpfilter # Berkeley packet filter 356pseudo-device npf # NPF packet filter 357pseudo-device loop # network loopback 358#pseudo-device kttcp # network loopback 359#pseudo-device ppp # Point-to-Point Protocol 360#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 361#pseudo-device sl # Serial Line IP 362#pseudo-device irframetty # IrDA frame line discipline 363#pseudo-device tap # virtual Ethernet 364#pseudo-device tun # network tunneling over tty 365#pseudo-device gre # generic L3 over IP tunnel 366#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 367#pseudo-device faith # IPv[46] tcp relay translation i/f 368#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 369#pseudo-device vlan # IEEE 802.1q encapsulation 370#pseudo-device bridge # simple inter-network bridging 371#pseudo-device vether # Virtual Ethernet for bridge 372 373# miscellaneous pseudo-devices 374pseudo-device pty # pseudo-terminals 375pseudo-device clockctl # user control of clock subsystem 376 377# wscons pseudo-devices 378pseudo-device wsmux # mouse & keyboard multiplexor 379#pseudo-device wsfont 380pseudo-device ksyms # /dev/ksyms 381