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