1 1.35 abs # $NetBSD: ARMADILLO9,v 1.35 2012/06/05 08:44:08 abs Exp $ 2 1.1 hamajima # 3 1.1 hamajima # ARMADILLO9 -- Atmark Techno, Armadillo-9 4 1.1 hamajima # 5 1.1 hamajima 6 1.1 hamajima include "arch/evbarm/conf/std.armadillo9" 7 1.1 hamajima 8 1.1 hamajima #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 1.1 hamajima options MSGBUFSIZE=65536 10 1.1 hamajima #options KSTACK_CHECK_MAGIC 11 1.1 hamajima 12 1.1 hamajima # estimated number of users 13 1.1 hamajima maxusers 16 14 1.1 hamajima 15 1.1 hamajima # Standard system options 16 1.1 hamajima options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17 1.1 hamajima options NTP # NTP phase/frequency locked loop 18 1.1 hamajima 19 1.1 hamajima # CPU options 20 1.1 hamajima options CPU_ARM9 # Support the ARM9TDMI core 21 1.1 hamajima 22 1.1 hamajima # File systems 23 1.1 hamajima file-system FFS # UFS 24 1.1 hamajima #file-system LFS # log-structured file system 25 1.1 hamajima file-system MFS # memory file system 26 1.1 hamajima file-system NFS # Network file system 27 1.1 hamajima #file-system ADOSFS # AmigaDOS-compatible file system 28 1.1 hamajima file-system EXT2FS # second extended file system (linux) 29 1.1 hamajima file-system CD9660 # ISO 9660 + Rock Ridge file system 30 1.1 hamajima file-system MSDOSFS # MS-DOS file system 31 1.1 hamajima file-system FDESC # /dev/fd 32 1.1 hamajima #file-system FILECORE # Acorn filecore file system 33 1.1 hamajima file-system KERNFS # /kern 34 1.1 hamajima file-system NULLFS # loopback file system 35 1.1 hamajima file-system PROCFS # /proc 36 1.1 hamajima #file-system UMAPFS # NULLFS + uid and gid remapping 37 1.1 hamajima file-system UNION # union file system 38 1.1 hamajima file-system PTYFS # /dev/pts/N support 39 1.1 hamajima 40 1.1 hamajima # File system options 41 1.29 bouyer #options QUOTA # legacy UFS quotas 42 1.29 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 43 1.30 wiz #options FFS_EI # FFS Endian Independent support 44 1.32 dholland options WAPBL # File system journaling support 45 1.1 hamajima #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 46 1.1 hamajima options NFSSERVER # Network File System server 47 1.6 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support 48 1.1 hamajima #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 49 1.1 hamajima # immutable) behave as system flags. 50 1.1 hamajima 51 1.1 hamajima # Networking options 52 1.1 hamajima #options GATEWAY # packet forwarding 53 1.1 hamajima options INET # IP + ICMP + TCP + UDP 54 1.1 hamajima options INET6 # IPV6 55 1.1 hamajima #options IPSEC # IP security 56 1.1 hamajima #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 57 1.1 hamajima #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 58 1.1 hamajima #options IPSEC_DEBUG # debug for IP security 59 1.1 hamajima #options MROUTING # IP multicast routing 60 1.1 hamajima #options PIM # Protocol Independent Multicast 61 1.1 hamajima #options ISO,TPIP # OSI 62 1.1 hamajima #options EON # OSI tunneling over IP 63 1.1 hamajima #options NETATALK # AppleTalk networking 64 1.1 hamajima #options PPP_BSDCOMP # BSD-Compress compression support for PPP 65 1.1 hamajima #options PPP_DEFLATE # Deflate compression support for PPP 66 1.1 hamajima #options PPP_FILTER # Active filter support for PPP (requires bpf) 67 1.1 hamajima #options PFIL_HOOKS # pfil(9) packet filter hooks 68 1.1 hamajima #options IPFILTER_LOG # ipmon(8) log support 69 1.15 christos #options IPFILTER_LOOKUP # ippool(8) support 70 1.1 hamajima #options IPFILTER_DEFAULT_BLOCK # block all packets by default 71 1.1 hamajima #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 72 1.1 hamajima 73 1.1 hamajima options NFS_BOOT_BOOTP 74 1.1 hamajima options NFS_BOOT_DHCP 75 1.1 hamajima #options NFS_BOOT_BOOTPARAM 76 1.1 hamajima 77 1.1 hamajima # Compatibility options 78 1.1 hamajima #options COMPAT_16 # NetBSD 1.6 compatibility. 79 1.1 hamajima options COMPAT_20 # NetBSD 2.0 80 1.1 hamajima options COMPAT_30 # NetBSD 3.0 compatibility. 81 1.19 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility. 82 1.25 bsh options COMPAT_50 # NetBSD 5.0 compatibility. 83 1.1 hamajima options COMPAT_43 # 4.3BSD compatibility. 84 1.1 hamajima #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 85 1.1 hamajima options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 86 1.1 hamajima options COMPAT_LINUX # binary compatibility with Linux 87 1.1 hamajima options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 88 1.1 hamajima 89 1.1 hamajima # Shared memory options 90 1.1 hamajima options SYSVMSG # System V-like message queues 91 1.1 hamajima options SYSVSEM # System V-like semaphores 92 1.1 hamajima options SYSVSHM # System V-like memory sharing 93 1.1 hamajima 94 1.1 hamajima # Device options 95 1.1 hamajima 96 1.1 hamajima #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 97 1.1 hamajima #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 98 1.1 hamajima #options MEMORY_DISK_IS_ROOT # use memory disk as root 99 1.1 hamajima 100 1.1 hamajima # Console options. The default console is speed is 115200 baud. 101 1.1 hamajima options CONSPEED=115200 # Console speed 102 1.9 hamajima options CONUNIT=0 # Console port number 103 1.1 hamajima 104 1.1 hamajima # Miscellaneous kernel options 105 1.1 hamajima options KTRACE # system call tracing, a la ktrace(1) 106 1.1 hamajima #options IRQSTATS # manage IRQ statistics 107 1.1 hamajima #options KMEMSTATS # kernel memory statistics 108 1.1 hamajima #options SCSIVERBOSE # Verbose SCSI errors 109 1.1 hamajima #options PCIVERBOSE # Verbose PCI descriptions 110 1.1 hamajima #options MIIVERBOSE # Verbose MII autoconfuration messages 111 1.1 hamajima #options PCI_CONFIG_DUMP # verbosely dump PCI config space 112 1.1 hamajima #options DDB_KEYCODE=0x40 113 1.1 hamajima #options USERCONF # userconf(4) support 114 1.1 hamajima #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 115 1.1 hamajima #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 116 1.1 hamajima 117 1.1 hamajima # Development and Debugging options 118 1.1 hamajima 119 1.1 hamajima #options PERFCTRS # performance counters 120 1.1 hamajima options DIAGNOSTIC # internally consistency checks 121 1.1 hamajima #options DEBUG 122 1.1 hamajima #options PMAP_DEBUG # Enable pmap_debug_level code 123 1.1 hamajima #options VERBOSE_INIT_ARM # verbose bootstraping messages 124 1.1 hamajima options DDB # in-kernel debugger 125 1.1 hamajima #options DDB_ONPANIC=1 126 1.1 hamajima options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 127 1.1 hamajima #makeoptions DEBUG="-g" # compile full symbol table 128 1.1 hamajima options SYMTAB_SPACE=450000 129 1.1 hamajima 130 1.1 hamajima #options PMAP_INCLUDE_PTE_SYNC 131 1.1 hamajima #options LOCKDEBUG 132 1.1 hamajima 133 1.2 hamajima config netbsd root on ? type ? 134 1.1 hamajima #config netbsd root on epe0 type nfs 135 1.2 hamajima #config netbsd root on wd0 type ffs 136 1.1 hamajima #config netbsd root on sd0 type ffs 137 1.1 hamajima 138 1.1 hamajima # The main bus device 139 1.1 hamajima mainbus0 at root 140 1.1 hamajima 141 1.1 hamajima # The boot cpu 142 1.1 hamajima cpu0 at mainbus? 143 1.1 hamajima 144 1.1 hamajima # Cirrus Logic EP93xx System-on-chip 145 1.1 hamajima epsoc0 at mainbus? 146 1.1 hamajima 147 1.1 hamajima # AHB Peripheral 148 1.1 hamajima # On-chip 10/100 Ethernet 149 1.1 hamajima epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39 150 1.1 hamajima # On-chip USB host controller 151 1.1 hamajima ohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56 152 1.1 hamajima # On-chip Raster (not yet) 153 1.1 hamajima #vga0 at epsoc? addr 0x80030000 size 0x10000 intr ?? 154 1.1 hamajima # On-chip PCMCIA controller 155 1.20 hamajima eppcic0 at epsoc? addr 0x80080000 size 0x44 156 1.1 hamajima # On-chip IDE (not yet) 157 1.1 hamajima #wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ?? 158 1.1 hamajima 159 1.1 hamajima # APB Peripheral 160 1.1 hamajima # On-chip timers 161 1.1 hamajima epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4 162 1.1 hamajima # GPIO 163 1.1 hamajima epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59 164 1.1 hamajima gpio* at epgpio? 165 1.1 hamajima # On-chip serial UARTS 166 1.1 hamajima epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52 167 1.1 hamajima epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54 168 1.1 hamajima #epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55 169 1.1 hamajima # RealTime Clock (no battery backup) 170 1.1 hamajima eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37 171 1.1 hamajima # Watchdog Timer 172 1.1 hamajima epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36 173 1.1 hamajima # LED 174 1.1 hamajima epled0 at epgpio0 port 4 bit1 0 bit2 1 175 1.1 hamajima 176 1.1 hamajima # I^2C Controller Unit 177 1.1 hamajima armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5 178 1.1 hamajima iic* at armadillo9iic? 179 1.1 hamajima seeprom0 at iic? addr 0x50 size 128 180 1.1 hamajima #s3531rtc0 at iic? addr 0x30 181 1.1 hamajima 182 1.1 hamajima # PCMCIA bus support 183 1.1 hamajima pcmcia* at eppcic0 controller ? socket ? 184 1.1 hamajima 185 1.1 hamajima # PCMCIA network interfaces 186 1.1 hamajima ne* at pcmcia? function ? # NE2000-compatible Ethernet 187 1.1 hamajima wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 188 1.1 hamajima 189 1.1 hamajima # MII/PHY support 190 1.1 hamajima lxtphy* at mii? phy ? # Level One LXT-970 PHYs 191 1.1 hamajima 192 1.1 hamajima # PCMCIA serial interfaces 193 1.1 hamajima com* at pcmcia? function ? # Modems and serial cards 194 1.1 hamajima 195 1.1 hamajima # PCMCIA IDE disk 196 1.1 hamajima wdc* at pcmcia? function ? 197 1.1 hamajima 198 1.1 hamajima # USB Controller and Devices 199 1.1 hamajima 200 1.1 hamajima # USB bus support 201 1.1 hamajima usb* at ohci? 202 1.1 hamajima 203 1.1 hamajima # USB Hubs 204 1.1 hamajima uhub* at usb? 205 1.16 drochner uhub* at uhub? port ? 206 1.1 hamajima 207 1.1 hamajima # USB HID device 208 1.1 hamajima uhidev* at uhub? port ? configuration ? interface ? 209 1.1 hamajima 210 1.1 hamajima # USB Mice 211 1.1 hamajima #ums* at uhidev? reportid ? 212 1.1 hamajima #wsmouse* at ums? mux 0 213 1.1 hamajima 214 1.1 hamajima # USB Keyboards 215 1.1 hamajima #ukbd* at uhidev? reportid ? 216 1.1 hamajima #wskbd* at ukbd? console ? mux 1 217 1.1 hamajima 218 1.1 hamajima # USB Generic HID devices 219 1.1 hamajima uhid* at uhidev? reportid ? 220 1.1 hamajima 221 1.1 hamajima # USB Mass Storage 222 1.1 hamajima umass* at uhub? port ? configuration ? interface ? 223 1.1 hamajima scsibus* at umass? 224 1.1 hamajima 225 1.1 hamajima # USB audio 226 1.1 hamajima #uaudio* at uhub? port ? configuration ? 227 1.1 hamajima 228 1.1 hamajima # USB MIDI 229 1.1 hamajima #umidi* at uhub? port ? configuration ? 230 1.1 hamajima 231 1.1 hamajima # USB Generic driver 232 1.1 hamajima ugen* at uhub? port ? 233 1.1 hamajima 234 1.1 hamajima # ATA (IDE) bus support 235 1.1 hamajima atabus* at ata? 236 1.1 hamajima 237 1.1 hamajima # IDE drives 238 1.1 hamajima wd* at atabus? drive ? flags 0x0000 239 1.1 hamajima 240 1.1 hamajima # ATAPI bus support 241 1.1 hamajima atapibus* at atapi? 242 1.1 hamajima 243 1.1 hamajima # ATAPI devices 244 1.1 hamajima cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 245 1.1 hamajima sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 246 1.1 hamajima uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 247 1.1 hamajima 248 1.1 hamajima # SCSI devices 249 1.1 hamajima sd* at scsibus? target ? lun ? # SCSI disk drives 250 1.1 hamajima cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 251 1.1 hamajima uk* at scsibus? target ? lun ? # SCSI unknown 252 1.1 hamajima 253 1.1 hamajima # Audio support 254 1.1 hamajima #audio* at audiobus? 255 1.1 hamajima 256 1.1 hamajima # MIDI support 257 1.1 hamajima #midi* at midibus? 258 1.1 hamajima 259 1.1 hamajima # Pseudo-Devices 260 1.1 hamajima 261 1.1 hamajima # disk/mass storage pseudo-devices 262 1.28 hannken #pseudo-device md # memory disk device (ramdisk) 263 1.8 cube pseudo-device vnd # disk-like interface to files 264 1.10 hamajima options VND_COMPRESSION # compressed vnd(4) 265 1.27 pooka #pseudo-device fss # file system snapshot device 266 1.1 hamajima 267 1.1 hamajima # network pseudo-devices 268 1.7 rpaulo pseudo-device bpfilter # Berkeley packet filter 269 1.1 hamajima #pseudo-device ipfilter # IP filter (firewall) and NAT 270 1.1 hamajima pseudo-device loop # network loopback 271 1.8 cube #pseudo-device ppp # Point-to-Point Protocol 272 1.1 hamajima #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 273 1.8 cube #pseudo-device sl # Serial Line IP 274 1.8 cube #pseudo-device strip # Starmode Radio IP (Metricom) 275 1.1 hamajima #pseudo-device irframetty # IrDA frame line discipline 276 1.1 hamajima #pseudo-device tap # virtual Ethernet 277 1.8 cube #pseudo-device tun # network tunneling over tty 278 1.8 cube #pseudo-device gre # generic L3 over IP tunnel 279 1.8 cube #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 280 1.8 cube #pseudo-device faith # IPv[46] tcp relay translation i/f 281 1.8 cube #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 282 1.1 hamajima #pseudo-device vlan # IEEE 802.1q encapsulation 283 1.1 hamajima #pseudo-device bridge # simple inter-network bridging 284 1.1 hamajima #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 285 1.1 hamajima #pseudo-device pf # PF packet filter 286 1.1 hamajima #pseudo-device pflog # PF log if 287 1.1 hamajima #pseudo-device kttcp # network loopback 288 1.1 hamajima 289 1.1 hamajima # miscellaneous pseudo-devices 290 1.1 hamajima pseudo-device pty # pseudo-terminals 291 1.1 hamajima #options RND_COM 292 1.1 hamajima pseudo-device clockctl # user control of clock subsystem 293 1.1 hamajima pseudo-device ksyms # /dev/ksyms 294 1.4 thorpej #pseudo-device crypto # /dev/crypto device 295 1.5 thorpej #pseudo-device swcrypto # software crypto implementation 296 1.1 hamajima #pseudo-device sequencer 1 # MIDI sequencer 297 1.1 hamajima 298 1.1 hamajima # 299 1.1 hamajima # wscons options 300 1.1 hamajima # 301 1.1 hamajima # builtin terminal emulations 302 1.1 hamajima #options WSEMUL_SUN # sun terminal emulation 303 1.1 hamajima options WSEMUL_VT100 # VT100 / VT220 emulation 304 1.1 hamajima # customization of console and kernel output - see dev/wscons/wsdisplayvar.h 305 1.1 hamajima #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 306 1.1 hamajima #options WS_DEFAULT_FG=WSCOL_WHITE 307 1.1 hamajima #options WS_DEFAULT_BG=WSCOL_BLACK 308 1.1 hamajima #options WS_DEFAULT_COLATTR="(0)" 309 1.1 hamajima #options WS_DEFAULT_MONOATTR="(0)" 310 1.1 hamajima #options WS_KERNEL_FG=WSCOL_GREEN 311 1.1 hamajima #options WS_KERNEL_BG=WSCOL_BLACK 312 1.1 hamajima #options WS_KERNEL_COLATTR="" 313 1.1 hamajima #options WS_KERNEL_MONOATTR="" 314 1.1 hamajima # customization of console border color 315 1.1 hamajima #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 316 1.1 hamajima #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 317 1.1 hamajima # compatibility to other console drivers 318 1.1 hamajima #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 319 1.1 hamajima #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 320 1.35 abs #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 321 1.1 hamajima #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 322 1.12 drochner # see dev/pckbport/wskbdmap_mfii.c for implemented layouts 323 1.1 hamajima #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 324 1.1 hamajima # allocate a number of virtual screens at autoconfiguration time 325 1.1 hamajima #options WSDISPLAY_DEFAULTSCREENS=4 326 1.1 hamajima # use a large software cursor that doesn't blink 327 1.1 hamajima #options PCDISPLAY_SOFTCURSOR 328 1.1 hamajima # modify the screen type of the console; defaults to "80x25" 329 1.1 hamajima #options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 330 1.1 hamajima # work around a hardware bug that loaded fonts don't work; found on ATI cards 331 1.1 hamajima #options VGA_CONSOLE_ATI_BROKEN_FONTSEL 332 1.1 hamajima # console scrolling support. 333 1.1 hamajima #options WSDISPLAY_SCROLLSUPPORT 334 1.1 hamajima # enable VGA raster mode capable of displaying multilingual text on console 335 1.1 hamajima #options VGA_RASTERCONSOLE 336 1.1 hamajima 337 1.1 hamajima # wscons pseudo-devices 338 1.1 hamajima #pseudo-device wsmux # mouse & keyboard multiplexor 339 1.1 hamajima #pseudo-device wsfont 340