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