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