1# $NetBSD: INTEGRATOR,v 1.80 2015/08/12 07:53:57 maxv 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 -mfpu=vfp" 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 PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 44#file-system UMAPFS # NULLFS + uid and gid remapping 45#file-system UNION # union file system 46file-system PTYFS # /dev/pts/N support 47 48# File system options 49#options QUOTA # legacy UFS quotas 50#options QUOTA2 # new, in-filesystem UFS quotas 51#options FFS_EI # FFS Endian Independent support 52#options NFSSERVER 53options WAPBL # File system journaling support 54#options FFS_NO_SNAPSHOT # No FFS snapshot support 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_DEBUG # debug for IP security 63#options MROUTING # IP multicast routing 64#options PIM # Protocol Independent Multicast 65#options NETATALK # AppleTalk networking 66#options PPP_BSDCOMP # BSD-Compress compression support for PPP 67#options PPP_DEFLATE # Deflate compression support for PPP 68#options PPP_FILTER # Active filter support for PPP (requires bpf) 69#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 70 71options NFS_BOOT_BOOTP 72options NFS_BOOT_DHCP 73options NFS_BOOT_BOOTPARAM 74 75# Compatibility options 76 77options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 78#options COMPAT_43 # 4.3BSD compatibility. 79#options COMPAT_09 # NetBSD 0.9, 80#options COMPAT_10 # NetBSD 1.0, 81#options COMPAT_11 # NetBSD 1.1, 82#options COMPAT_12 # NetBSD 1.2, 83#options COMPAT_13 # NetBSD 1.3, 84#options COMPAT_14 # NetBSD 1.4, 85options COMPAT_15 # NetBSD 1.5, 86options COMPAT_16 # NetBSD 1.6, 87options COMPAT_20 # NetBSD 2.0, 88options COMPAT_30 # NetBSD 3.0, 89options COMPAT_40 # NetBSD 4.0, 90options COMPAT_50 # NetBSD 5.0, 91options COMPAT_60 # NetBSD 6.0, and 92options COMPAT_70 # NetBSD 7.0 binary 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 SYSVSHM # System V-like memory sharing 101 102# Device options 103 104#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 105#options MEMORY_DISK_ROOT_SIZE=4000 # Size in blocks 106#options MEMORY_DISK_IS_ROOT # use memory disk as root 107 108# Miscellaneous kernel options 109options KTRACE # system call tracing, a la ktrace(1) 110options IRQSTATS # manage IRQ statistics 111options SCSIVERBOSE # Verbose SCSI errors 112options PCIVERBOSE # Verbose PCI descriptions 113options MIIVERBOSE # Verbose MII autoconfuration messages 114#options PCI_CONFIG_DUMP # verbosely dump PCI config space 115options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to 116 # configure PCI devices 117options PCI_CONFIGURE_VERBOSE # Show PCI config information 118options DDB_KEYCODE=0x1d # Enter ddb on ^] 119options USERCONF # userconf(4) support 120#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 121#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 122 123# Development and Debugging options 124 125#options ARM700BUGTRACK # track the ARM700 swi bug 126#options PORTMASTER # Enable PortMaster only options 127#options DIAGNOSTIC # internal consistency checks 128#options PMAP_DEBUG # Enable pmap_debug_level code 129options DDB # in-kernel debugger 130options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 131#options UVMHIST 132#makeoptions DEBUG="-g" # compile full symbol table 133makeoptions COPY_SYMTAB=1 134options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00 135 136config netbsd root on ? type ? 137config netbsd-fxp0 root on fxp0 type nfs 138config netbsd-sd0 root on sd0 type ffs 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#options PLCOM_DEBUG 153 154# PL030 real time clock 155plrtc0 at ifpga? offset 0x05000000 156 157# PCI bus via ifpga 158pci0 at ifpga? # PCI bus 159 160# Compact PCI bus via PCI bridge. 161ppb* at pci? dev? function ? # PCI-PCI bridges 162pci* at ppb? bus ? 163 164# PCI IDE Controllers and Devices 165# PCI IDE controllers - see pciide(4) for supported hardware. 166# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 167# how to set up DMA modes for this chip. This may work, or may cause 168# a machine hang with some controllers. 169#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 170#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 171#cmdide* at pci? dev ? function ? # CMD tech IDE controllers 172#hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 173#pdcide* at pci? dev ? function ? # Promise IDE controllers 174#pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 175#satalink* at pci? dev ? function ? # SiI SATALink controllers 176 177# ATA bus support 178#atabus* at ata? channel ? 179 180# IDE drives 181# Flags are used only with controllers that support DMA operations 182# and mode settings (e.g. some pciide controllers) 183# The lowest order four bits (rightmost digit) of the flags define the PIO 184# mode to use, the next set of four bits the DMA mode and the third set the 185# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 186# to use, and the last bit must be 1 for this setting to be used. 187# For DMA and UDMA, 0xf (1111) means 'disable'. 188# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 189# (0xc=1100, 0xa=1010, 0xf=1111) 190# 0x0000 means "use whatever the drive claims to support". 191#wd* at atabus? drive ? flags 0x0000 # the drives themselves 192 193# PCI SCSI Controllers and Buses 194ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers 195scsibus* at ahc? 196 197# SCSI devices 198 199sd* at scsibus? target ? lun ? # SCSI disk drives 200st* at scsibus? target ? lun ? # SCSI tape drives 201cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 202#ch* at scsibus? target ? lun ? # SCSI auto-changers drives 203#uk* at scsibus? target ? lun ? # SCSI unknown drives 204#ss* at scsibus? target ? lun ? # SCSI scanner 205 206# PCI network interfaces 207fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards 208#ne* at pci? dev ? function ? # NE2000 compat ethernet 209#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 210 211# MII/PHY support 212inphy* at mii? phy ? # Intel 82555 PHYs 213#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 214ukphy* at mii? phy ? # generic unknown PHYs 215 216# WSCONS Support 217#options WSEMUL_VT100 # VT100 / VT220 emulation 218#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 219#options WS_KERNEL_FG=WSCOL_GREEN 220#pckbc0 at isa? 221#pckbd* at pckbc? 222#wskbd* at pckbd? console ? 223#pms* at pckbc? 224#wsmouse* at pms? mux 0 225 226#vga* at pci? dev ? function ? 227#wsdisplay* at vga? console ? 228 229# Pseudo-Devices 230 231# disk/mass storage pseudo-devices 232#pseudo-device md # memory disk device (ramdisk) 233pseudo-device vnd # disk-like interface to files 234#pseudo-device fss # file system snapshot device 235#pseudo-device putter # for puffs and pud 236 237# network pseudo-devices 238#pseudo-device bpfilter # Berkeley packet filter 239#pseudo-device bridge # simple inter-network bridging 240pseudo-device loop # network loopback 241 242# miscellaneous pseudo-devices 243pseudo-device pty # pseudo-terminals 244pseudo-device clockctl # user control of clock subsystem 245pseudo-device ksyms # /dev/ksyms 246