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