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