WZERO3 revision 1.2
1# $NetBSD: WZERO3,v 1.2 2010/04/24 21:52:34 nonaka Exp $ 2# 3# WZERO3 -- Sharp Windows Mobile 5 based PDA 4# 5 6include "arch/hpcarm/conf/std.pxa2x0" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10#ident "GENERIC-$Revision: 1.2 $" 11 12# estimated number of users 13maxusers 32 14 15# Standard system options 16 17options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18#options NTP # NTP phase/frequency locked loop 19 20# CPU options 21 22# For XScale systems 23options CPU_XSCALE_PXA270 # Support the XScale PXA27x core 24makeoptions CPUFLAGS="-mcpu=xscale" 25 26# Architecture options 27options XSCALE_CACHE_READ_WRITE_ALLOCATE 28options PXAGPIO_HAS_GPION_INTRS 29 30# File systems 31 32file-system FFS # UFS 33#file-system LFS # log-structured file system 34#file-system MFS # memory file system 35file-system NFS # Network file system 36#file-system ADOSFS # AmigaDOS-compatible file system 37file-system EXT2FS # second extended file system (linux) 38file-system CD9660 # ISO 9660 + Rock Ridge file system 39file-system MSDOSFS # MS-DOS file system 40file-system FDESC # /dev/fd 41file-system KERNFS # /kern 42file-system NULLFS # loopback file system 43#file-system OVERLAY # overlay filesystem 44file-system PROCFS # /proc 45#file-system UMAPFS # NULLFS + uid and gid remapping 46file-system UNION # union file system 47file-system PTYFS # /dev/pts/N support 48file-system TMPFS # Efficient memory file-system 49#file-system UDF # experimental - OSTA UDF CD/DVD file-system 50 51# File system options 52#options QUOTA # UFS quotas 53#options FFS_EI # FFS Endian Independant support 54options WAPBL # File system journaling support - Experimental 55#options FFS_NO_SNAPSHOT # No FFS snapshot support 56#options NFSSERVER 57 58# Networking options 59 60#options GATEWAY # packet forwarding 61options INET # IP + ICMP + TCP + UDP 62options INET6 # IPV6 63#options IPSEC # IP security 64#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 65#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 66#options IPSEC_DEBUG # debug for IP security 67#options MROUTING # IP multicast routing 68#options PIM # Protocol Independent Multicast 69#options ISO,TPIP # OSI 70#options EON # OSI tunneling over IP 71#options NETATALK # AppleTalk networking 72#options PFIL_HOOKS # pfil(9) packet filter hooks 73#options PPP_BSDCOMP # BSD-Compress compression support for PPP 74#options PPP_DEFLATE # Deflate compression support for PPP 75#options PPP_FILTER # Active filter support for PPP (requires bpf) 76#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 77 78# Compatibility options 79 80#options COMPAT_43 # 4.3BSD compatibility. 81options COMPAT_50 # NetBSD 5.0 compatibility. 82options COMPAT_40 # NetBSD 4.0 compatibility. 83options COMPAT_30 # NetBSD 3.0 compatibility. 84options COMPAT_20 # NetBSD 2.0 compatibility. 85#options COMPAT_16 # NetBSD 1.6 compatibility. 86#options COMPAT_15 # NetBSD 1.5 compatibility. 87#options COMPAT_14 # NetBSD 1.4 compatibility. 88#options COMPAT_13 # NetBSD 1.3 compatibility. 89#options COMPAT_12 # NetBSD 1.2 compatibility. 90#options COMPAT_11 # NetBSD 1.1 compatibility. 91#options COMPAT_10 # NetBSD 1.0 compatibility. 92#options COMPAT_09 # NetBSD 0.9 compatibility. 93#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 94options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 95 96# Shared memory options 97 98options SYSVMSG # System V-like message queues 99options SYSVSEM # System V-like semaphores 100options SYSVSHM # System V-like memory sharing 101 102 103# Miscellaneous kernel options 104options KTRACE # system call tracing, a la ktrace(1) 105#options IRQSTATS # manage IRQ statistics 106#options KMEMSTATS # kernel memory statistics 107#options SCSIVERBOSE # Verbose SCSI errors 108options USERCONF # userconf(4) support 109#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 110#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 111options NFS_BOOT_DHCP 112 113# 114# wscons options 115# 116# builtin terminal emulations 117options WSEMUL_VT100 118# allocate a number of virtual screens at autoconfiguration time 119#options WSDISPLAY_DEFAULTSCREENS=2 120 121# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 122#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 123#options WS_DEFAULT_FG=WSCOL_WHITE 124#options WS_DEFAULT_BG=WSCOL_BLACK 125#options WS_DEFAULT_COLATTR="(0)" 126#options WS_DEFAULT_MONOATTR="(0)" 127options WS_KERNEL_FG=WSCOL_GREEN 128#options WS_KERNEL_BG=WSCOL_BLACK 129#options WS_KERNEL_COLATTR="" 130#options WS_KERNEL_MONOATTR="" 131 132# Development and Debugging options 133 134#options VERBOSE_INIT_ARM 135#options BOOT_DUMP # Enable memorydump at boot 136options DIAGNOSTIC # internal consistency checks 137#options DEBUG # expensive debugging checks/support 138#options PMAP_DEBUG # Enable pmap_debug_level code 139#options DDB # in-kernel debugger 140#options DDB_HISTORY_SIZE=512 # Enable history editing in DDB 141#makeoptions DEBUG="-g" # compile full symbol table 142 143config netbsd root on ? type ? 144 145# The main bus device 146mainbus0 at root 147 148# The boot CPU 149cpu0 at mainbus? 150 151# integrated peripherals 152pxaip0 at mainbus? 153 154pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller 155pxagpio0 at pxaip? addr 0x40e00000 # GPIO 156pxartc0 at pxaip? addr 0x40900000 # RTC 157 158# DMAC support 159pxadmac0 at pxaip? addr 0x40000000 intr 25 160options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 161#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 162 163# Serial 164# integrated 16550 UARTs 165options COM_PXA2X0 166com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 167#options CONSPEED=115200 168 169# OS Timer 170saost* at pxaip? addr 0x40a00000 size 0x20 171 172# Physical console 173lcd* at pxaip? 174wsdisplay* at lcd? console ? 175 176# Keyboard 177wzero3kbd0 at pxaip? 178hpckbd* at wzero3kbd? 179wskbd0 at hpckbd? mux 1 180 181# integrated MMC/SD contoller 182pxamci0 at pxaip? addr 0x41100000 size 0x48 183sdmmc* at pxamci? 184ld* at sdmmc? # MMC/SD/SDHC card 185 186# USB Controller and Devices 187wzero3usb* at pxaip? 188ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller 189 190# USB bus support 191usb* at ohci? 192 193# USB Hubs 194uhub* at usb? 195uhub* at uhub? port ? 196 197# USB HID device 198uhidev* at uhub? port ? configuration ? interface ? 199 200# USB Mice 201ums* at uhidev? reportid ? 202wsmouse* at ums? mux 0 203 204# USB Keyboards 205ukbd* at uhidev? reportid ? 206wskbd* at ukbd? console ? mux 1 207 208# USB Generic HID devices 209uhid* at uhidev? reportid ? 210 211# USB Mass Storage 212umass* at uhub? port ? configuration ? interface ? 213wd* at umass? 214 215# SCSI bus support 216scsibus* at scsi? 217 218# SCSI devices 219sd* at scsibus? target ? lun ? # SCSI disk drives 220cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 221uk* at scsibus? target ? lun ? # SCSI unknown 222 223# USB Generic driver 224ugen* at uhub? port ? 225# On ugen bulk endpoints, perform read-ahead and write-behind. 226#options UGEN_BULK_RA_WB 227 228 229# Pseudo-devices 230pseudo-device loop # network loopback 231pseudo-device bpfilter # packet filter 232pseudo-device sl # CSLIP 233pseudo-device ppp # PPP 234pseudo-device tun # network tunneling over tty 235#pseudo-device gre # generic L3 over IP tunnel 236#pseudo-device ipfilter # ip filter 237#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 238#pseudo-device faith # IPv[46] tcp relay translation i/f 239#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 240#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 241 242#pseudo-device vlan # IEEE 802.1q encapsulation 243pseudo-device pty # pseudo-terminals 244pseudo-device vnd # disk-like interface to files 245#pseudo-device ccd 2 # concatenated disk devices 246#pseudo-device cgd 2 # cryptographic disk devices 247#pseudo-device raid 4 # RAIDframe disk driver 248#options RAID_AUTOCONFIG # auto-configuration of RAID components 249#pseudo-device fss # file system snapshot device 250 251pseudo-device biconsdev 1 # build-in console device 252 253pseudo-device md 1 # Ramdisk driver 254pseudo-device rnd # /dev/random and in-kernel generator 255pseudo-device clockctl # user control of clock subsystem 256pseudo-device ksyms # /dev/ksyms 257#pseudo-device bcsp # BlueCore Serial Protocol 258#pseudo-device btuart # Bluetooth HCI UART (H4) 259 260# wscons pseudo-devices 261pseudo-device wsmux # mouse & keyboard multiplexor 262pseudo-device wsfont 263