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