1 1.17 apb # $NetBSD: NETWALKER,v 1.17 2012/10/17 14:48:10 apb Exp $ 2 1.1 bsh # 3 1.9 bsh # NETWALKER -- http://www.sharp.co.jp/netwalker/ 4 1.1 bsh # 5 1.1 bsh 6 1.1 bsh include "arch/evbarm/conf/std.netwalker" 7 1.1 bsh 8 1.1 bsh #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 1.1 bsh 10 1.1 bsh # estimated number of users 11 1.1 bsh 12 1.1 bsh maxusers 32 13 1.1 bsh 14 1.1 bsh # Standard system options 15 1.1 bsh 16 1.1 bsh options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17 1.1 bsh #options NTP # NTP phase/frequency locked loop 18 1.1 bsh 19 1.1 bsh # CPU options 20 1.9 bsh options CPU_CORTEXA8 # Support the ARM-v7a core 21 1.1 bsh options IMX51 22 1.1 bsh options PMAPCOUNTERS 23 1.1 bsh 24 1.1 bsh # Architecture options 25 1.1 bsh 26 1.3 bsh options IMX51_IPGCLK_FREQ=50000000 # XXX This value is not correct. 27 1.1 bsh 28 1.1 bsh # File systems 29 1.1 bsh 30 1.1 bsh file-system FFS # UFS 31 1.1 bsh #file-system LFS # log-structured file system 32 1.1 bsh file-system MFS # memory file system 33 1.1 bsh file-system NFS # Network file system 34 1.1 bsh #file-system ADOSFS # AmigaDOS-compatible file system 35 1.1 bsh file-system EXT2FS # second extended file system (linux) 36 1.1 bsh #file-system CD9660 # ISO 9660 + Rock Ridge file system 37 1.1 bsh file-system MSDOSFS # MS-DOS file system 38 1.1 bsh file-system FDESC # /dev/fd 39 1.1 bsh file-system KERNFS # /kern 40 1.1 bsh file-system NULLFS # loopback file system 41 1.1 bsh file-system PROCFS # /proc 42 1.16 msaitoh #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 43 1.1 bsh file-system TMPFS # memory file system 44 1.1 bsh #file-system UMAPFS # NULLFS + uid and gid remapping 45 1.1 bsh #file-system UNION # union file system 46 1.1 bsh file-system PTYFS # /dev/pts/N support 47 1.1 bsh 48 1.1 bsh # File system options 49 1.4 bouyer #options QUOTA # legacy UFS quotas 50 1.4 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 51 1.5 wiz #options FFS_EI # FFS Endian Independent support 52 1.1 bsh #options NFSSERVER 53 1.7 dholland options WAPBL # File system journaling support 54 1.1 bsh #options FFS_NO_SNAPSHOT # No FFS snapshot support 55 1.1 bsh 56 1.1 bsh # Networking options 57 1.1 bsh 58 1.1 bsh #options GATEWAY # packet forwarding 59 1.1 bsh options INET # IP + ICMP + TCP + UDP 60 1.1 bsh options INET6 # IPV6 61 1.1 bsh #options IPSEC # IP security 62 1.1 bsh #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 63 1.1 bsh #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 64 1.1 bsh #options IPSEC_DEBUG # debug for IP security 65 1.1 bsh #options MROUTING # IP multicast routing 66 1.1 bsh #options PIM # Protocol Independent Multicast 67 1.1 bsh #options ISO,TPIP # OSI 68 1.1 bsh #options EON # OSI tunneling over IP 69 1.1 bsh #options NETATALK # AppleTalk networking 70 1.1 bsh #options PFIL_HOOKS # pfil(9) packet filter hooks 71 1.1 bsh #options PPP_BSDCOMP # BSD-Compress compression support for PPP 72 1.1 bsh #options PPP_DEFLATE # Deflate compression support for PPP 73 1.1 bsh #options PPP_FILTER # Active filter support for PPP (requires bpf) 74 1.1 bsh #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 75 1.1 bsh 76 1.1 bsh #options NFS_BOOT_BOOTP 77 1.1 bsh #options NFS_BOOT_DHCP 78 1.1 bsh #options NFS_BOOT_BOOTPARAM 79 1.1 bsh #options DEBUG_NFS_BOOT_DHCP 80 1.1 bsh 81 1.1 bsh # Compatibility options 82 1.1 bsh 83 1.1 bsh #options COMPAT_43 # 4.3BSD compatibility. 84 1.17 apb options COMPAT_60 # NetBSD 6.0 compatibility. 85 1.1 bsh options COMPAT_50 # NetBSD 5.0 compatibility. 86 1.1 bsh options COMPAT_40 # NetBSD 4.0 compatibility. 87 1.1 bsh #options COMPAT_30 # NetBSD 3.0 compatibility. 88 1.1 bsh #options COMPAT_20 # NetBSD 2.0 compatibility. 89 1.1 bsh #options COMPAT_16 # NetBSD 1.6 compatibility. 90 1.1 bsh #options COMPAT_15 # NetBSD 1.5 compatibility. 91 1.1 bsh #options COMPAT_14 # NetBSD 1.4 compatibility. 92 1.1 bsh #options COMPAT_13 # NetBSD 1.3 compatibility. 93 1.1 bsh #options COMPAT_12 # NetBSD 1.2 compatibility. 94 1.1 bsh #options COMPAT_11 # NetBSD 1.1 compatibility. 95 1.1 bsh #options COMPAT_10 # NetBSD 1.0 compatibility. 96 1.1 bsh #options COMPAT_09 # NetBSD 0.9 compatibility. 97 1.1 bsh #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 98 1.1 bsh 99 1.1 bsh options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 100 1.1 bsh #options COMPAT_LINUX # binary compatibility with Linux 101 1.1 bsh options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 102 1.1 bsh 103 1.1 bsh # Shared memory options 104 1.1 bsh 105 1.1 bsh options SYSVMSG # System V-like message queues 106 1.1 bsh options SYSVSEM # System V-like semaphores 107 1.1 bsh options SYSVSHM # System V-like memory sharing 108 1.1 bsh 109 1.1 bsh # Device options 110 1.1 bsh 111 1.1 bsh # Console options. also need IMXUARTCONSOLE 112 1.1 bsh options CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000 113 1.1 bsh options CONSPEED=115200 # Console speed 114 1.1 bsh 115 1.1 bsh # kgdb 116 1.1 bsh #options KGDB 117 1.1 bsh #options KGDB_DEVNAME="\"imxuart\"" 118 1.1 bsh #options KGDB_DEVADDR=0x73fbc000 119 1.1 bsh #options KGDB_DEVRATE=115200 120 1.1 bsh 121 1.1 bsh # Miscellaneous kernel options 122 1.1 bsh options KTRACE # system call tracing, a la ktrace(1) 123 1.1 bsh options IRQSTATS # manage IRQ statistics 124 1.1 bsh #options KMEMSTATS # kernel memory statistics 125 1.1 bsh options PCMCIAVERBOSE # verbose PCMCIA configuration messages 126 1.1 bsh options USBVERBOSE # verbose USB device autoconfig messages 127 1.1 bsh #options SCSIVERBOSE # Verbose SCSI errors 128 1.1 bsh options MIIVERBOSE # Verbose MII autoconfuration messages 129 1.1 bsh #options PCI_CONFIG_DUMP # verbosely dump PCI config space 130 1.1 bsh #options DDB_KEYCODE=0x40 131 1.1 bsh options USERCONF # userconf(4) support 132 1.1 bsh #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 133 1.1 bsh #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 134 1.1 bsh options NO_POWERSAVE # uncomment this to run under ICE 135 1.1 bsh 136 1.1 bsh # Development and Debugging options 137 1.1 bsh #options PERFCTRS # performance counters 138 1.1 bsh options DIAGNOSTIC # internally consistency checks 139 1.1 bsh #options DEBUG 140 1.1 bsh #options KMEMSTATS # kernel memory statistics (vmstat -m) 141 1.1 bsh options DDB # in-kernel debugger 142 1.1 bsh options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 143 1.1 bsh options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 144 1.1 bsh options DDB_VERBOSE_HELP 145 1.1 bsh #options LOCKDEBUG 146 1.1 bsh #options PMAP_DEBUG # Enable pmap_debug_level code 147 1.1 bsh #options IPKDB # remote kernel debugging 148 1.1 bsh options VERBOSE_INIT_ARM # verbose bootstraping messages 149 1.15 msaitoh makeoptions DEBUG="-g" # compile full symbol table 150 1.15 msaitoh #makeoptions COPTS="-O2" 151 1.1 bsh #options SYSCALL_STATS # per syscall counts 152 1.1 bsh #options SYSCALL_TIMES # per syscall times 153 1.1 bsh #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 154 1.1 bsh #options SCSIPI_DEBUG 155 1.1 bsh #options SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI 156 1.1 bsh #options SCSIPI_DEBUG_TARGET=0 157 1.1 bsh #options SCSIPI_DEBUG_LUN=0 158 1.1 bsh 159 1.1 bsh # Kernel root file system and dump configuration. 160 1.1 bsh config netbsd root on ? type ? 161 1.1 bsh 162 1.1 bsh # The main bus device 163 1.1 bsh mainbus0 at root 164 1.1 bsh 165 1.1 bsh # The boot cpu 166 1.1 bsh cpu0 at mainbus? 167 1.1 bsh 168 1.1 bsh # Devices 169 1.1 bsh # On-chip 170 1.1 bsh # On-chip bus 171 1.1 bsh axi0 at mainbus? 172 1.1 bsh 173 1.1 bsh # Interrupt Cotroller 174 1.1 bsh tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 175 1.1 bsh 176 1.1 bsh # Serial 177 1.1 bsh imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 178 1.1 bsh #imxuart1 at axi? addr 0x73fc0000 irq 32 179 1.1 bsh #imxuart2 at axi? addr 0x7000c000 irq 33 180 1.1 bsh options IMXUARTCONSOLE 181 1.1 bsh 182 1.10 bsh # Clock Control 183 1.10 bsh imxccm0 at axi? addr 0x73fd4000 184 1.10 bsh options IMX51_CKIL_FREQ=32768 185 1.10 bsh 186 1.1 bsh # Enhanced Periodic Interrupt Timer 187 1.1 bsh imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 188 1.1 bsh imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 189 1.1 bsh 190 1.3 bsh # IOMUX 191 1.3 bsh imxiomux0 at axi? addr 0x73fa8000 192 1.3 bsh 193 1.3 bsh # GPIO 194 1.3 bsh imxgpio0 at axi? addr 0x73f84000 195 1.3 bsh imxgpio1 at axi? addr 0x73f88000 196 1.3 bsh imxgpio2 at axi? addr 0x73f8c000 197 1.3 bsh imxgpio3 at axi? addr 0x73f90000 198 1.3 bsh 199 1.12 bsh # SD/MMC 200 1.12 bsh sdhc0 at axi? addr 0x70004000 irq 1 # eSDHC1 201 1.12 bsh #sdhc1 at axi? addr 0x70008000 irq 2 # eSDHC2 202 1.12 bsh sdmmc* at sdhc? 203 1.12 bsh ld* at sdmmc? # MMC/SD card 204 1.12 bsh #options SDHC_DEBUG 205 1.12 bsh #options SDMMC_DEBUG 206 1.12 bsh 207 1.3 bsh # USB 208 1.3 bsh imxusbc0 at axi? addr 0x73f80000 209 1.3 bsh ehci0 at imxusbc0 unit 0 irq 18 # OTG 210 1.3 bsh ehci1 at imxusbc0 unit 1 irq 14 # Host1 211 1.3 bsh #ehci2 at imxusbc0 unit 2 irq 16 # Host2 212 1.3 bsh #ehci3 at imxusbc0 unit 3 irq 17 # Host3 213 1.3 bsh 214 1.3 bsh usb* at ehci? 215 1.3 bsh uhub* at usb? 216 1.3 bsh uhub* at uhub? port ? 217 1.3 bsh ugen* at uhub? port ? 218 1.3 bsh 219 1.3 bsh # USB HID device 220 1.3 bsh uhidev* at uhub? port ? configuration ? interface ? 221 1.3 bsh 222 1.3 bsh # USB Mice 223 1.3 bsh ums* at uhidev? reportid ? 224 1.3 bsh wsmouse* at ums? mux 0 225 1.3 bsh 226 1.3 bsh # USB Keyboards 227 1.3 bsh ukbd* at uhidev? reportid ? 228 1.3 bsh wskbd* at ukbd? console ? mux 1 229 1.3 bsh 230 1.3 bsh # USB Mass Storage 231 1.3 bsh umass* at uhub? port ? configuration ? interface ? 232 1.3 bsh wd* at umass? 233 1.3 bsh 234 1.3 bsh # Serial adapters 235 1.3 bsh ubsa* at uhub? port ? # Belkin serial adapter 236 1.3 bsh ucom* at ubsa? portno ? 237 1.3 bsh 238 1.3 bsh uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 239 1.3 bsh ucom* at uchcom? portno ? 240 1.3 bsh 241 1.3 bsh uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 242 1.3 bsh ucom* at uftdi? portno ? 243 1.3 bsh 244 1.3 bsh umct* at uhub? port ? # MCT USB-RS232 serial adapter 245 1.3 bsh ucom* at umct? portno ? 246 1.3 bsh 247 1.3 bsh uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 248 1.3 bsh ucom* at uplcom? portno ? 249 1.3 bsh 250 1.3 bsh uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 251 1.3 bsh ucom* at uslsa? portno ? 252 1.3 bsh 253 1.3 bsh uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 254 1.3 bsh ucom* at uvscom? portno ? 255 1.3 bsh 256 1.3 bsh # USB generic serial port (e.g., data over cellular) 257 1.3 bsh ugensa* at uhub? port ? 258 1.3 bsh ucom* at ugensa? 259 1.3 bsh 260 1.11 bsh # IPUv3 LCD Controller 261 1.11 bsh ipu0 at axi? 262 1.11 bsh wsdisplay0 at wsemuldisplaydev? console ? 263 1.11 bsh wsdisplay* at wsemuldisplaydev? 264 1.11 bsh #options IPUV3_DEBUG=1 265 1.11 bsh #options LCD_DEBUG 266 1.11 bsh options IMXIPUCONSOLE 267 1.11 bsh 268 1.11 bsh # various options for wscons - we try to look as much like a standard 269 1.11 bsh # sun console as possible 270 1.11 bsh options WSEMUL_VT100 # sun terminal emulation 271 1.11 bsh options WS_DEFAULT_FG=WSCOL_WHITE 272 1.11 bsh options WS_DEFAULT_BG=WSCOL_BLACK 273 1.11 bsh options WS_KERNEL_FG=WSCOL_GREEN 274 1.11 bsh options WS_KERNEL_BG=WSCOL_BLACK 275 1.11 bsh options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 276 1.13 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 277 1.11 bsh options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 278 1.11 bsh options WSDISPLAY_DEFAULTSCREENS=4 279 1.11 bsh 280 1.3 bsh # SCSI bus support 281 1.3 bsh scsibus* at scsi? 282 1.3 bsh 283 1.3 bsh # SCSI devices 284 1.3 bsh sd* at scsibus? target ? lun ? # SCSI disk drives 285 1.3 bsh 286 1.1 bsh # Pseudo-Devices 287 1.1 bsh 288 1.1 bsh pseudo-device crypto # /dev/crypto device 289 1.1 bsh pseudo-device swcrypto # software crypto implementation 290 1.1 bsh 291 1.1 bsh # disk/mass storage pseudo-devices 292 1.2 hannken #pseudo-device md # memory disk device (ramdisk) 293 1.1 bsh #pseudo-device vnd # disk-like interface to files 294 1.16 msaitoh #pseudo-device fss # file system snapshot device 295 1.16 msaitoh #pseudo-device putter # for puffs and pud 296 1.1 bsh 297 1.1 bsh # network pseudo-devices 298 1.1 bsh #pseudo-device bpfilter # Berkeley packet filter 299 1.1 bsh #pseudo-device ipfilter # IP filter (firewall) and NAT 300 1.1 bsh pseudo-device loop # network loopback 301 1.1 bsh pseudo-device ppp # Point-to-Point Protocol 302 1.1 bsh 303 1.1 bsh # miscellaneous pseudo-devices 304 1.1 bsh pseudo-device pty # pseudo-terminals 305 1.1 bsh pseudo-device ksyms # /dev/ksyms 306 1.1 bsh pseudo-device clockctl # NTP clockctl 307 1.1 bsh 308 1.1 bsh # wscons pseudo-devices 309 1.1 bsh pseudo-device wsmux # mouse & keyboard multiplexor 310 1.11 bsh pseudo-device wsfont 311