1# $NetBSD: INTEGRATOR,v 1.25 2004/02/13 11:36:11 wiz Exp $ 2# 3# GENERIC -- ARM Integrator board Generic kernel 4# 5 6include "arch/evbarm/conf/std.integrator" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17options NTP # NTP phase/frequency locked loop 18 19# CPU options 20 21options CPU_ARM9 # Support the ARM9TDMI core 22options CPU_ARM10 # Support the ARM10 core 23# XXX Should be armv5 for ARM10 processor. 24makeoptions COPTS="-O2 -march=armv4" 25 26# Architecture options 27 28# FPA options 29# We will want VFP support here sometime 30#options ARMFPE # ARM Ltd FPE 31 32# File systems 33 34file-system FFS # UFS 35#file-system LFS # log-structured file system 36file-system MFS # memory file system 37file-system NFS # Network file system 38#file-system ADOSFS # AmigaDOS-compatible file system 39#file-system EXT2FS # second extended file system (linux) 40#file-system CD9660 # ISO 9660 + Rock Ridge file system 41#file-system MSDOSFS # MS-DOS file system 42#file-system FDESC # /dev/fd 43file-system KERNFS # /kern 44#file-system NULLFS # loopback file system 45#file-system PORTAL # portal filesystem (still experimental) 46file-system PROCFS # /proc 47#file-system UMAPFS # NULLFS + uid and gid remapping 48#file-system UNION # union file system 49 50# File system options 51#options QUOTA # UFS quotas 52#options FFS_EI # FFS Endian Independant support 53#options NFSSERVER 54options SOFTDEP 55 56# Networking options 57 58#options GATEWAY # packet forwarding 59options INET # IP + ICMP + TCP + UDP 60options INET6 # IPV6 61#options IPSEC # IP security 62#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 63#options IPSEC_DEBUG # debug for IP security 64#options MROUTING # IP multicast routing 65#options NS # XNS 66#options NSIP # XNS tunneling over IP 67#options ISO,TPIP # OSI 68#options EON # OSI tunneling over IP 69#options CCITT,LLC,HDLC # X.25 70#options NETATALK # AppleTalk networking 71#options PFIL_HOOKS # pfil(9) packet filter hooks 72#options PPP_BSDCOMP # BSD-Compress compression support for PPP 73#options PPP_DEFLATE # Deflate compression support for PPP 74#options PPP_FILTER # Active filter support for PPP (requires bpf) 75#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 77options NFS_BOOT_BOOTP 78options NFS_BOOT_DHCP 79options NFS_BOOT_BOOTPARAM 80 81# Compatibility options 82 83#options COMPAT_43 # 4.3BSD compatibility. 84options COMPAT_16 # NetBSD 1.6 compatibility. 85options COMPAT_15 # NetBSD 1.5 compatibility. 86#options COMPAT_14 # NetBSD 1.4 compatibility. 87#options COMPAT_13 # NetBSD 1.3 compatibility. 88#options COMPAT_12 # NetBSD 1.2 compatibility. 89#options COMPAT_11 # NetBSD 1.1 compatibility. 90#options COMPAT_10 # NetBSD 1.0 compatibility. 91#options COMPAT_09 # NetBSD 0.9 compatibility. 92#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 93 94# Shared memory options 95 96#options SYSVMSG # System V-like message queues 97#options SYSVSEM # System V-like semaphores 98#options SEMMNI=10 # number of semaphore identifiers 99#options SEMMNS=60 # number of semaphores in system 100#options SEMUME=10 # max number of undo entries per process 101#options SEMMNU=30 # number of undo structures in system 102#options SYSVSHM # System V-like memory sharing 103#options SHMMAXPGS=1024 # 1024 pages is the default 104 105# Device options 106 107#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 108#options MEMORY_DISK_ROOT_SIZE=4000 # Size in blocks 109#options MEMORY_DISK_IS_ROOT # use memory disk as root 110 111# Miscellaneous kernel options 112options KTRACE # system call tracing, a la ktrace(1) 113options IRQSTATS # manage IRQ statistics 114#options LKM # loadable kernel modules 115#options KMEMSTATS # kernel memory statistics 116options SCSIVERBOSE # Verbose SCSI errors 117options PCIVERBOSE # Verbose PCI descriptions 118options MIIVERBOSE # Verbose MII autoconfuration messages 119#options PCI_CONFIG_DUMP # verbosely dump PCI config space 120options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to 121 # configure PCI devices 122options PCI_CONFIGURE_VERBOSE # Show PCI config information 123options DDB_KEYCODE=0x1d # Enter ddb on ^] 124options USERCONF # userconf(4) support 125#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 126 127# Development and Debugging options 128 129#options ARM700BUGTRACK # track the ARM700 swi bug 130#options PORTMASTER # Enable PortMaster only options 131options DIAGNOSTIC # internal consistency checks 132options PMAP_DEBUG # Enable pmap_debug_level code 133#options IPKDB # remote kernel debugging 134options DDB # in-kernel debugger 135options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 136#makeoptions DEBUG="-g" # compile full symbol table 137options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00 138config netbsd root on ? type ? 139 140# The main bus device 141mainbus0 at root 142 143# The boot CPU 144cpu0 at mainbus? 145 146# Core logic 147ifpga0 at mainbus? 148 149# PL010 uart 150plcom0 at ifpga? offset 0x06000000 irq 1 151plcom1 at ifpga? offset 0x07000000 irq 2 152 153# PL030 real time clock 154plrtc0 at ifpga? offset 0x05000000 155 156# PCI bus via ifpga 157pci0 at ifpga? # PCI bus 158 159# PCI IDE Controllers and Devices 160# PCI IDE controllers - see pciide(4) for supported hardware. 161# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 162# how to set up DMA modes for this chip. This may work, or may cause 163# a machine hang with some controllers. 164#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 165#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 166#cmdide* at pci? dev ? function ? # CMD tech IDE controllers 167#hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 168#pdcide* at pci? dev ? function ? # Promise IDE controllers 169#satalink* at pci? dev ? function ? # SiI SATALink controllers 170 171# ATA bus support 172#atabus* at ata? channel ? 173 174# IDE drives 175# Flags are used only with controllers that support DMA operations 176# and mode settings (e.g. some pciide controllers) 177# The lowest order four bits (rightmost digit) of the flags define the PIO 178# mode to use, the next set of four bits the DMA mode and the third set the 179# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 180# to use, and the last bit must be 1 for this setting to be used. 181# For DMA and UDMA, 0xf (1111) means 'disable'. 182# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 183# (0xc=1100, 0xa=1010, 0xf=1111) 184# 0x0000 means "use whatever the drive claims to support". 185#wd* at atabus? drive ? flags 0x0000 # the drives themselves 186 187# PCI SCSI Controllers and Buses 188ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers 189scsibus* at ahc? 190 191# SCSI devices 192 193sd* at scsibus? target ? lun ? # SCSI disk drives 194st* at scsibus? target ? lun ? # SCSI tape drives 195cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 196#ch* at scsibus? target ? lun ? # SCSI auto-changers drives 197#uk* at scsibus? target ? lun ? # SCSI unknown drives 198#ss* at scsibus? target ? lun ? # SCSI scanner 199 200# PCI network interfaces 201fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards 202#ne* at pci? dev ? function ? # NE2000 compat ethernet 203#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 204 205# MII/PHY support 206inphy* at mii? phy ? # Intel 82555 PHYs 207#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 208ukphy* at mii? phy ? # generic unknown PHYs 209 210# WSCONS Support 211#options WSEMUL_VT100 # VT100 / VT220 emulation 212#options WS_KERNEL_FG=WSCOL_GREEN 213#pckbc0 at isa? 214#pckbd* at pckbc? 215#wskbd* at pckbd? console ? 216#pms* at pckbc? 217#wsmouse* at pms? mux 0 218 219#vga* at pci? dev ? function ? 220#wsdisplay* at vga? console ? 221 222# Pseudo-Devices 223 224# disk/mass storage pseudo-devices 225#pseudo-device md 1 # memory disk device (ramdisk) 226pseudo-device vnd 4 # disk-like interface to files 227 228# network pseudo-devices 229#pseudo-device bpfilter 4 # Berkeley packet filter 230#pseudo-device bridge # simple inter-network bridging 231pseudo-device loop # network loopback 232 233# miscellaneous pseudo-devices 234pseudo-device pty # pseudo-terminals 235pseudo-device rnd # /dev/random and in-kernel generator 236pseudo-device clockctl # user control of clock subsystem 237pseudo-device ksyms # /dev/ksyms 238