OCTEON revision 1.3
1# $NetBSD: OCTEON,v 1.3 2020/07/16 16:39:54 jmcneill Exp $ 2 3include "arch/mips/conf/std.octeon" 4include "arch/evbmips/conf/files.octeon" 5 6#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7 8#ident "ERLITE-$Revision: 1.3 $" 9 10maxusers 32 11 12options FDT 13options FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\"" 14 15# Options for necessary to use MD 16#options MEMORY_DISK_HOOKS 17#options MEMORY_DISK_IS_ROOT # force root on memory disk 18#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 19#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 20#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 21#options MEMORY_DISK_ROOT_SIZE=7300 22 23# Size reduction options 24#options VNODE_OP_NOINLINE 25#options PIPE_SOCKETPAIR 26#options SOSEND_NO_LOAN 27 28# Standard system options 29options KTRACE # system call tracing support 30options SYSVMSG # System V message queues 31options SYSVSEM # System V semaphores 32options SYSVSHM # System V shared memory 33options NTP # network time protocol 34 35# Debugging options 36options DIAGNOSTIC # extra kernel sanity checking 37#options DEBUG # extra kernel debugging support 38#options USERCONF # userconf(4) support 39#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 40options DDB # kernel dynamic debugger 41options DDB_HISTORY_SIZE=100 # enable history editing in DDB 42makeoptions DEBUG="-g" # compile full symbol table 43makeoptions COPY_SYMTAB=1 # size for embedded symbol table 44 45# Compatibility options 46 47include "conf/compat_netbsd50.config" 48#options COMPAT_386BSD_MBRPART # recognize old partition ID 49 50#options EXEC_ECOFF # exec ECOFF binaries 51#options COMPAT_ULTRIX # binary compatibility with Ultrix 52 53# File systems 54file-system FFS # Berkeley Fast Filesystem 55file-system MFS # memory-based filesystem 56file-system EXT2FS # second extended file system (linux) 57file-system NFS # Sun NFS-compatible filesystem client 58file-system TMPFS # Efficient memory file-system 59file-system KERNFS # kernel data-structure filesystem 60file-system NULLFS # NULL layered filesystem 61#file-system OVERLAY # overlay file system 62#file-system FDESC # user file descriptor filesystem 63#file-system UMAPFS # uid/gid remapping filesystem 64#file-system LFS # Log-based filesystem (still experimental) 65file-system PROCFS # /proc 66file-system CD9660 # ISO 9660 + Rock Ridge file system 67#file-system UNION # union file system 68file-system MSDOSFS # MS-DOS FAT filesystem(s). 69#file-system CODA # Coda File System; also needs vcoda (below) 70file-system PTYFS # /dev/pts/N support 71 72# File system options 73options NFSSERVER # Sun NFS-compatible filesystem server 74#options QUOTA # legacy UFS quotas 75#options QUOTA2 # new, in-filesystem UFS quotas 76#options DISKLABEL_EI # disklabel Endian Independent support 77#options FFS_EI # FFS Endian Independent support 78options WAPBL # File system journaling support 79#options FFS_NO_SNAPSHOT # No FFS snapshot support 80#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 81 # immutable) behave as system flags. 82 83# Alternate buffer queue strategies for better responsiveness under high 84# disk I/O load. 85#options BUFQ_READPRIO 86options BUFQ_PRIOCSCAN 87 88# Networking options 89#options GATEWAY # IP packet forwarding 90options INET # Internet protocols 91options INET6 # IPV6 92#options IPSEC # IP security 93#options IPSEC_DEBUG # debug for IP security 94#options MROUTING # packet forwarding of multicast packets 95#options PIM # Protocol Independent Multicast 96#options NETATALK # AppleTalk (over Ethernet) protocol 97#options PPP_BSDCOMP # BSD-Compress compression support for PPP 98#options PPP_DEFLATE # Deflate compression support for PPP 99#options PPP_FILTER # Active filter support for PPP (requires bpf) 100options BPFJIT 101options SLJIT 102 103# These options enable verbose messages for several subsystems. 104# Warning, these may compile large string tables into the kernel! 105options MIIVERBOSE # verbose PHY autoconfig messages 106 107options NFS_BOOT_DHCP 108 109config netbsd root on ? type ? 110#config netbsd root on cnmac0 type nfs 111 112mainbus0 at root 113cpunode0 at mainbus? 114cpu* at cpunode? core ? 115wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 116 117iobus0 at mainbus? 118bootbus0 at mainbus? 119simplebus* at fdt? pass 0 120 121octintc* at fdt? pass 1 122 123com* at iobus? 124com* at fdt? 125 126octsmi* at iobus? # MDIO controller 127octsmi* at fdt? pass 2 128octpip* at iobus? # PIP packet processing controller 129octpip* at fdt? pass 3 130 131octgmx* at octpip? 132cnmac* at octgmx? 133 134octrnm* at iobus? # Random Number Memory (and generator) 135 136dwctwo* at iobus? 137 138usb* at dwctwo? 139 140uhub* at usb? 141 142# USB Mass Storage 143umass* at uhub? port ? configuration ? interface ? 144scsibus* at umass? channel ? 145sd* at scsibus? target ? lun ? # SCSI disk drives 146 147# Ethernet PHYs 148atphy* at mii? phy ? # Attansic/Atheros PHYs 149ukphy* at mii? phy ? # generic unknown PHYs 150 151# Pseudo-devices 152 153# Disk/mass storage pseudo-devices 154#pseudo-device ccd # concatenated disk devices 155#pseudo-device raid # RAIDframe disk driver 156#pseudo-device fss # file system snapshot device 157#pseudo-device md # memory disk device (ramdisk) 158#pseudo-device vnd # disk-like interface to files 159 160# Network pseudo-devices 161pseudo-device bpfilter # Berkeley packet filter 162pseudo-device carp # Common Address Redundancy Protocol 163pseudo-device npf # NPF packet filter 164pseudo-device loop # network loopback 165pseudo-device ppp # Point-to-Point Protocol 166pseudo-device pppoe # Point-to-Point Protocol over Ethernet 167#pseudo-device sl # Serial Line IP 168pseudo-device tun # network tunneling over tty 169pseudo-device tap # virtual Ethernet 170#pseudo-device gre # generic L3 over IP tunnel 171#pseudo-device ipip # RFC 2003 IP Encapsulation 172pseudo-device gif # RFC1933 tunnel 173#pseudo-device faith # IPv[46] tcp relay translation 174#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 175pseudo-device vlan # IEEE 802.1q encapsulation 176pseudo-device bridge # simple inter-network bridging 177 178# Miscellaneous pseudo-devices 179pseudo-device pty # pseudo-terminals 180pseudo-device clockctl # user control of clock subsystem 181pseudo-device ksyms # /dev/ksyms 182pseudo-device drvctl # driver control 183 184# A pseudo device needed for Coda # also needs CODA (above) 185#pseudo-device vcoda # coda minicache <-> venus comm. 186 187include "dev/veriexec.config" 188 189cinclude "arch/evbmips/conf/OCTEON.local" 190