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