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