1# $NetBSD: WZERO3,v 1.53 2020/04/18 11:00:41 skrll Exp $ 2# 3# WZERO3 -- Sharp Windows Mobile 5 based PDA 4# 5 6include "arch/hpcarm/conf/std.pxa2x0" 7include "arch/hpcarm/conf/files.wzero3" 8 9#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10 11#ident "GENERIC-$Revision: 1.53 $" 12 13# estimated number of users 14maxusers 32 15 16# in-kernel bootloader, see kloader(4) 17options KLOADER 18#options KLOADER_KERNEL_PATH="\"/netbsd\"" 19#options KLOADER_DEBUG 20 21# Standard system options 22 23#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 24 # (default timezone is passed from hpcboot) 25#options NTP # NTP phase/frequency locked loop 26 27# CPU options 28 29# For XScale systems 30options CPU_XSCALE_PXA270 # Support the XScale PXA27x core 31makeoptions CPUFLAGS="-mcpu=xscale" 32 33# Architecture options 34options XSCALE_CACHE_READ_WRITE_ALLOCATE 35options PXAGPIO_HAS_GPION_INTRS 36 37# File systems 38 39file-system FFS # UFS 40#file-system LFS # log-structured file system 41#file-system MFS # memory file system 42file-system NFS # Network file system 43#file-system ADOSFS # AmigaDOS-compatible file system 44file-system EXT2FS # second extended file system (linux) 45file-system CD9660 # ISO 9660 + Rock Ridge file system 46file-system MSDOSFS # MS-DOS file system 47file-system FDESC # /dev/fd 48file-system KERNFS # /kern 49file-system NULLFS # loopback file system 50#file-system OVERLAY # overlay filesystem 51file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 52file-system PROCFS # /proc 53#file-system UMAPFS # NULLFS + uid and gid remapping 54file-system UNION # union file system 55file-system PTYFS # /dev/pts/N support 56file-system TMPFS # Efficient memory file-system 57#file-system UDF # experimental - OSTA UDF CD/DVD file-system 58 59# File system options 60#options QUOTA # legacy UFS quotas 61#options QUOTA2 # new, in-filesystem UFS quotas 62#options FFS_EI # FFS Endian Independent support 63options WAPBL # File system journaling support 64#options FFS_NO_SNAPSHOT # No FFS snapshot support 65#options NFSSERVER 66 67# Networking options 68 69#options GATEWAY # packet forwarding 70options INET # IP + ICMP + TCP + UDP 71options INET6 # IPV6 72#options IPSEC # IP security 73#options IPSEC_DEBUG # debug for IP security 74#options MROUTING # IP multicast routing 75#options PIM # Protocol Independent Multicast 76#options NETATALK # AppleTalk networking 77#options PPP_BSDCOMP # BSD-Compress compression support for PPP 78#options PPP_DEFLATE # Deflate compression support for PPP 79#options PPP_FILTER # Active filter support for PPP (requires bpf) 80#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 82# Compatibility options 83 84include "conf/compat_netbsd16.config" 85options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 86 87# Shared memory options 88 89options SYSVMSG # System V-like message queues 90options SYSVSEM # System V-like semaphores 91options SYSVSHM # System V-like memory sharing 92 93# Miscellaneous kernel options 94options KTRACE # system call tracing, a la ktrace(1) 95#options IRQSTATS # manage IRQ statistics 96#options SCSIVERBOSE # Verbose SCSI errors 97options USERCONF # userconf(4) support 98#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 99#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 100options NFS_BOOT_DHCP 101 102# 103# wscons options 104# 105# builtin terminal emulations 106options WSEMUL_VT100 107# allocate a number of virtual screens at autoconfiguration time 108#options WSDISPLAY_DEFAULTSCREENS=2 109# The X server requires theses two options 110options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 111options WSDISPLAY_COMPAT_RAWKBD 112# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 113#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 114#options WS_DEFAULT_FG=WSCOL_WHITE 115#options WS_DEFAULT_BG=WSCOL_BLACK 116#options WS_DEFAULT_COLATTR="(0)" 117#options WS_DEFAULT_MONOATTR="(0)" 118options WS_KERNEL_FG=WSCOL_GREEN 119#options WS_KERNEL_BG=WSCOL_BLACK 120#options WS_KERNEL_COLATTR="" 121#options WS_KERNEL_MONOATTR="" 122 123options FONT_VT220L8x16 124 125# Alternate buffer queue strategies for better responsiveness under high 126# disk I/O load. 127#options BUFQ_READPRIO 128options BUFQ_PRIOCSCAN 129 130# Development and Debugging options 131 132#options VERBOSE_INIT_ARM 133#options BOOT_DUMP # Enable memorydump at boot 134options DIAGNOSTIC # internal consistency checks 135#options DEBUG # expensive debugging checks/support 136#options UVMHIST # kernhist for uvm/pmap subsystems 137options DDB # in-kernel debugger 138#options DDB_HISTORY_SIZE=512 # Enable history editing in DDB 139#makeoptions DEBUG="-g" # compile full symbol table 140 141config netbsd root on ? type ? 142 143# The main bus device 144mainbus0 at root 145 146# The boot CPU 147cpu0 at mainbus? 148 149# integrated peripherals 150pxaip0 at mainbus? 151 152pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller 153pxagpio0 at pxaip? addr 0x40e00000 # GPIO 154pxartc0 at pxaip? addr 0x40900000 # RTC 155 156# DMAC support 157pxadmac0 at pxaip? addr 0x40000000 intr 25 158options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 159#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 160 161# Serial 162# integrated 16550 UARTs 163options COM_PXA2X0 164com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 165#options CONSPEED=115200 166 167# OS Timer 168saost* at pxaip? addr 0x40a00000 size 0x20 169 170# Physical console 171lcd* at pxaip? 172options PXA2X0_LCD_WRITETHROUGH 173wsdisplay* at lcd? console ? 174 175# for touchpad, keypad 176wzero3ssp0 at pxaip? 177 178# touchpad 179wzero3tp0 at pxaip? 180wsmouse* at wzero3tp? mux 0 181 182# keyboard 183wzero3kbd0 at pxaip? 184hpckbd* at wzero3kbd? 185wskbd0 at hpckbd? mux 1 186 187# keypad 188wzero3keypad0 at pxaip? 189wskbd1 at wzero3keypad? mux 1 190 191# integrated MMC/SD controller 192pxamci0 at pxaip? addr 0x41100000 size 0x48 193sdmmc* at pxamci? 194ld* at sdmmc? # MMC/SD/SDHC card 195 196# USB Controller and Devices 197wzero3usb* at pxaip? 198ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller 199 200# USB bus support 201usb* at ohci? 202 203# USB Hubs 204uhub* at usb? 205uhub* at uhub? port ? 206 207# USB HID device 208uhidev* at uhub? port ? configuration ? interface ? 209 210# USB Mice 211ums* at uhidev? reportid ? 212wsmouse* at ums? mux 0 213 214# USB Keyboards 215ukbd* at uhidev? reportid ? 216wskbd* at ukbd? console ? mux 1 217 218# USB Generic HID devices 219uhid* at uhidev? reportid ? 220 221# USB Mass Storage 222umass* at uhub? port ? configuration ? interface ? 223 224# USB audio 225uaudio* at uhub? port ? configuration ? 226audio* at audiobus? 227 228spkr* at audio? # PC speaker (synthesized) 229 230# USB Ethernet adapters 231aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 232axe* at uhub? port ? # ASIX AX88172 based adapters 233cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 234cue* at uhub? port ? # CATC USB-EL1201A based adapters 235kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 236mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 237udav* at uhub? port ? # Davicom DM9601 based adapters 238ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 239url* at uhub? port ? # Realtek RTL8150L based adapters 240 241acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 242rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 243rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 244ukphy* at mii? phy ? # generic unknown PHYs 245urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 246 247# USB 802.11 adapters 248atu* at uhub? port ? # Atmel AT76C50XX based adapters 249ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 250rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 251upgt* at uhub? port ? # Intersil PrismGT 252zyd* at uhub? port ? # Zydas ZD1211 253 254# ATAPI bus support 255atapibus* at atapi? 256 257# ATAPI devices 258# flags have the same meaning as for IDE drives. 259cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 260sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 261#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 262uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 263 264# SCSI bus support 265scsibus* at scsi? 266 267# SCSI devices 268sd* at scsibus? target ? lun ? # SCSI disk drives 269cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 270uk* at scsibus? target ? lun ? # SCSI unknown 271 272# USB Generic driver 273ugen* at uhub? port ? 274 275 276# Pseudo-devices 277pseudo-device loop # network loopback 278pseudo-device bpfilter # packet filter 279pseudo-device carp # Common Address Redundancy Protocol 280pseudo-device sl # CSLIP 281pseudo-device ppp # PPP 282pseudo-device tun # network tunneling over tty 283#pseudo-device gre # generic L3 over IP tunnel 284#pseudo-device npf # NPF packet filter 285#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 286#pseudo-device faith # IPv[46] tcp relay translation i/f 287#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 288 289#pseudo-device vlan # IEEE 802.1q encapsulation 290pseudo-device pty # pseudo-terminals 291pseudo-device vnd # disk-like interface to files 292#pseudo-device ccd # concatenated disk devices 293#pseudo-device cgd # cryptographic disk devices 294#pseudo-device raid # RAIDframe disk driver 295#options RAID_AUTOCONFIG # auto-configuration of RAID components 296#pseudo-device fss # file system snapshot device 297 298pseudo-device biconsdev 1 # build-in console device 299 300pseudo-device md # Ramdisk driver 301pseudo-device clockctl # user control of clock subsystem 302pseudo-device drvctl # user control of drive subsystem 303pseudo-device ksyms # /dev/ksyms 304pseudo-device putter # for puffs and pud 305#pseudo-device bcsp # BlueCore Serial Protocol 306#pseudo-device btuart # Bluetooth HCI UART (H4) 307 308# wscons pseudo-devices 309pseudo-device wsmux # mouse & keyboard multiplexor 310pseudo-device wsfont 311 312include "dev/veriexec.config" 313