1# $NetBSD: INTEGRATOR,v 1.58 2010/04/16 13:48:30 pooka 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 23options CPU_ARM11 # Support the ARM11 core 24options FPU_VFP 25 26# XXX Should be armv5 for ARM10 processor. 27makeoptions CPUFLAGS="-march=armv4" 28 29# File systems 30 31file-system FFS # UFS 32#file-system LFS # log-structured file system 33file-system MFS # memory file system 34file-system NFS # Network file system 35#file-system ADOSFS # AmigaDOS-compatible file system 36#file-system EXT2FS # second extended file system (linux) 37#file-system CD9660 # ISO 9660 + Rock Ridge file system 38#file-system MSDOSFS # MS-DOS file system 39#file-system FDESC # /dev/fd 40file-system KERNFS # /kern 41#file-system NULLFS # loopback file system 42file-system PROCFS # /proc 43#file-system UMAPFS # NULLFS + uid and gid remapping 44#file-system UNION # union file system 45file-system PTYFS # /dev/pts/N support 46 47# File system options 48#options QUOTA # UFS quotas 49#options FFS_EI # FFS Endian Independant support 50#options NFSSERVER 51options WAPBL # File system journaling support - Experimental 52#options FFS_NO_SNAPSHOT # No FFS snapshot support 53 54# Networking options 55 56#options GATEWAY # packet forwarding 57options INET # IP + ICMP + TCP + UDP 58options INET6 # IPV6 59#options IPSEC # IP security 60#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 61#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 62#options IPSEC_DEBUG # debug for IP security 63#options MROUTING # IP multicast routing 64#options PIM # Protocol Independent Multicast 65#options ISO,TPIP # OSI 66#options EON # OSI tunneling over IP 67#options NETATALK # AppleTalk networking 68#options PFIL_HOOKS # pfil(9) packet filter hooks 69#options PPP_BSDCOMP # BSD-Compress compression support for PPP 70#options PPP_DEFLATE # Deflate compression support for PPP 71#options PPP_FILTER # Active filter support for PPP (requires bpf) 72#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 73 74options NFS_BOOT_BOOTP 75options NFS_BOOT_DHCP 76options NFS_BOOT_BOOTPARAM 77 78# Compatibility options 79 80#options COMPAT_43 # 4.3BSD compatibility. 81options COMPAT_50 # NetBSD 5.0 compatibility. 82options COMPAT_40 # NetBSD 4.0 compatibility. 83options COMPAT_30 # NetBSD 3.0 compatibility. 84options COMPAT_20 # NetBSD 2.0 compatibility. 85options COMPAT_16 # NetBSD 1.6 compatibility. 86options COMPAT_15 # NetBSD 1.5 compatibility. 87#options COMPAT_14 # NetBSD 1.4 compatibility. 88#options COMPAT_13 # NetBSD 1.3 compatibility. 89#options COMPAT_12 # NetBSD 1.2 compatibility. 90#options COMPAT_11 # NetBSD 1.1 compatibility. 91#options COMPAT_10 # NetBSD 1.0 compatibility. 92#options COMPAT_09 # NetBSD 0.9 compatibility. 93#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 94options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 95 96# Shared memory options 97 98#options SYSVMSG # System V-like message queues 99#options SYSVSEM # System V-like semaphores 100#options SEMMNI=10 # number of semaphore identifiers 101#options SEMMNS=60 # number of semaphores in system 102#options SEMUME=10 # max number of undo entries per process 103#options SEMMNU=30 # number of undo structures in system 104#options SYSVSHM # System V-like memory sharing 105 106# Device options 107 108#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 109#options MEMORY_DISK_ROOT_SIZE=4000 # Size in blocks 110#options MEMORY_DISK_IS_ROOT # use memory disk as root 111 112# Miscellaneous kernel options 113options KTRACE # system call tracing, a la ktrace(1) 114options IRQSTATS # manage IRQ statistics 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#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 127 128# Development and Debugging options 129 130#options ARM700BUGTRACK # track the ARM700 swi bug 131#options PORTMASTER # Enable PortMaster only options 132#options DIAGNOSTIC # internal consistency checks 133#options PMAP_DEBUG # Enable pmap_debug_level code 134options DDB # in-kernel debugger 135options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 136#options UVMHIST 137#makeoptions DEBUG="-g" # compile full symbol table 138options SYMTAB_SPACE=350000 139options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00 140 141config netbsd root on ? type ? 142config netbsd-fxp0 root on fxp0 type nfs 143config netbsd-sd0 root on sd0 type ffs 144 145# The main bus device 146mainbus0 at root 147 148# The boot CPU 149cpu0 at mainbus? 150 151# Core logic 152ifpga0 at mainbus? 153 154# PL010 uart 155plcom0 at ifpga? offset 0x06000000 irq 1 156plcom1 at ifpga? offset 0x07000000 irq 2 157 158# PL030 real time clock 159plrtc0 at ifpga? offset 0x05000000 160 161# PCI bus via ifpga 162pci0 at ifpga? # PCI bus 163 164# Compact PCI bus via PCI bridge. 165ppb* at pci? dev? function ? # PCI-PCI bridges 166pci* at ppb? bus ? 167 168# PCI IDE Controllers and Devices 169# PCI IDE controllers - see pciide(4) for supported hardware. 170# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 171# how to set up DMA modes for this chip. This may work, or may cause 172# a machine hang with some controllers. 173#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 174#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 175#cmdide* at pci? dev ? function ? # CMD tech IDE controllers 176#hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 177#pdcide* at pci? dev ? function ? # Promise IDE controllers 178#pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 179#satalink* at pci? dev ? function ? # SiI SATALink controllers 180 181# ATA bus support 182#atabus* at ata? channel ? 183 184# IDE drives 185# Flags are used only with controllers that support DMA operations 186# and mode settings (e.g. some pciide controllers) 187# The lowest order four bits (rightmost digit) of the flags define the PIO 188# mode to use, the next set of four bits the DMA mode and the third set the 189# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 190# to use, and the last bit must be 1 for this setting to be used. 191# For DMA and UDMA, 0xf (1111) means 'disable'. 192# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 193# (0xc=1100, 0xa=1010, 0xf=1111) 194# 0x0000 means "use whatever the drive claims to support". 195#wd* at atabus? drive ? flags 0x0000 # the drives themselves 196 197# PCI SCSI Controllers and Buses 198ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers 199scsibus* at ahc? 200 201# SCSI devices 202 203sd* at scsibus? target ? lun ? # SCSI disk drives 204st* at scsibus? target ? lun ? # SCSI tape drives 205cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 206#ch* at scsibus? target ? lun ? # SCSI auto-changers drives 207#uk* at scsibus? target ? lun ? # SCSI unknown drives 208#ss* at scsibus? target ? lun ? # SCSI scanner 209 210# PCI network interfaces 211fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards 212#ne* at pci? dev ? function ? # NE2000 compat ethernet 213#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 214 215# MII/PHY support 216inphy* at mii? phy ? # Intel 82555 PHYs 217#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 218ukphy* at mii? phy ? # generic unknown PHYs 219 220# WSCONS Support 221#options WSEMUL_VT100 # VT100 / VT220 emulation 222#options WS_KERNEL_FG=WSCOL_GREEN 223#pckbc0 at isa? 224#pckbd* at pckbc? 225#wskbd* at pckbd? console ? 226#pms* at pckbc? 227#wsmouse* at pms? mux 0 228 229#vga* at pci? dev ? function ? 230#wsdisplay* at vga? console ? 231 232# Pseudo-Devices 233 234# disk/mass storage pseudo-devices 235#pseudo-device md 1 # memory disk device (ramdisk) 236pseudo-device vnd # disk-like interface to files 237#pseudo-device fss # file system snapshot device 238 239# network pseudo-devices 240#pseudo-device bpfilter # Berkeley packet filter 241#pseudo-device bridge # simple inter-network bridging 242pseudo-device loop # network loopback 243 244# miscellaneous pseudo-devices 245pseudo-device pty # pseudo-terminals 246pseudo-device rnd # /dev/random and in-kernel generator 247pseudo-device clockctl # user control of clock subsystem 248pseudo-device ksyms # /dev/ksyms 249