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