RB153 revision 1.17
1# $NetBSD: RB153,v 1.17 2015/08/07 07:29:33 maxv Exp $ 2# 3# Example kernel config for the RouterBOARD 153. 4 5include "arch/evbmips/conf/std.adm5120" 6 7#ident "RB153-$Revision: 1.17 $" 8 9maxusers 32 10 11options MIPS32 12options NOFPU # No FPU 13options FPEMUL # emulate FPU insn 14options CONSPEED=115200 # YAMON default 15#options HZ=512 # for profiling 16#options ADM5120_YAMON # if our bootloader is YAMON 17#options MEMSIZE="(32*1024*1024)" 18 19#options LOCKDEBUG 20options SOSEND_COUNTERS 21options INET_CSUM_COUNTERS 22options TCP_CSUM_COUNTERS 23options UDP_CSUM_COUNTERS 24options TCP_OUTPUT_COUNTERS 25 26#options NTP # network time protocol 27 28# Debugging options 29options DIAGNOSTIC # extra kernel sanity checking 30options DEBUG # extra kernel debugging support 31options DDB # kernel dynamic debugger 32options DDB_HISTORY_SIZE=100 # enable history editing in DDB 33makeoptions DEBUG="-g" # compile full symbol table 34makeoptions CPUFLAGS="-march=4kc" 35makeoptions COPY_SYMTAB=1 # size for embedded symbol table 36 37#options MEMORY_DISK_HOOKS 38#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 39#options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes 40 41# File systems 42file-system FFS # Berkeley Fast Filesystem 43file-system TMPFS 44#file-system EXT2FS # second extended file system (linux) 45file-system NFS # Sun NFS-compatible filesystem client 46#file-system KERNFS # kernel data-structure filesystem 47file-system NULLFS # NULL layered filesystem 48#file-system OVERLAY # overlay file system 49#file-system FDESC # user file descriptor filesystem 50#file-system UMAPFS # uid/gid remapping filesystem 51#file-system LFS # Log-based filesystem (still experimental) 52#file-system PROCFS # /proc 53#file-system CD9660 # ISO 9660 + Rock Ridge file system 54#file-system UNION # union file system 55#file-system MSDOSFS # MS-DOS FAT filesystem(s). 56#file-system CODA # Coda File System; also needs vcoda (below) 57 58# File system options 59#options NFSSERVER # Sun NFS-compatible filesystem server 60#options QUOTA # legacy UFS quotas 61#options QUOTA2 # new, in-filesystem UFS quotas 62#options FFS_EI # FFS Endian Independent support 63#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 64 # immutable) behave as system flags. 65 66# Networking options 67options GATEWAY # IP packet forwarding 68options INET # Internet protocols 69options INET6 # IPV6 70#options IPSEC # IP security 71#options IPSEC_DEBUG # debug for IP security 72#options MROUTING # packet forwarding of multicast packets 73#options NETATALK # AppleTalk (over Ethernet) protocol 74#options PPP_BSDCOMP # BSD-Compress compression support for PPP 75#options PPP_DEFLATE # Deflate compression support for PPP 76#options PPP_FILTER # Active filter support for PPP (requires bpf) 77#options IPFILTER_LOG # ipmon(8) log support 78 79# JIT compiler for bpfilter 80#options SLJIT 81#options BPFJIT 82 83# These options enable verbose messages for several subsystems. 84# Warning, these may compile large string tables into the kernel! 85#options MIIVERBOSE # verbose PHY autoconfig messages 86#options PCIVERBOSE # verbose PCI device autoconfig messages 87#options PCI_CONFIG_DUMP # verbosely dump PCI config space 88#options SCSIVERBOSE # human readable SCSI error messages 89#options USBVERBOSE # verbose USB device autoconfig messages 90 91options NFS_BOOT_DHCP 92#options NFS_BOOT_RWSIZE=1024 93 94# Pretty much only one device to use for the root file system. 95config netbsd root on admsw0 type nfs 96 97mainbus0 at root 98 99cpu0 at mainbus? 100 101# Network pseudo-devices 102pseudo-device bpfilter # Berkeley packet filter 103pseudo-device loop # network loopback 104#pseudo-device ppp # Point-to-Point Protocol 105#pseudo-device sl # Serial Line IP 106#pseudo-device strip # Starmode Radio IP (Metricom) 107#pseudo-device tun # network tunneling over tty 108pseudo-device gre # generic L3 over IP tunnel 109#pseudo-device ipip # RFC 2003 IP Encapsulation 110pseudo-device gif # RFC1933 tunnel 111#pseudo-device faith # IPv[46] tcp relay translation 112# Miscellaneous pseudo-devices 113pseudo-device pty # pseudo-terminals 114#pseudo-device sequencer # MIDI sequencer 115pseudo-device pf # PF packet filter 116pseudo-device pflog # PF log if 117 118# A pseudo device needed for Coda # also needs CODA (above) 119#pseudo-device vcoda # coda minicache <-> venus comm. 120pseudo-device ksyms 121 122obio* at mainbus? 123gpio* at mainbus? 124extio* at mainbus? 125 126uart* at obio? addr ? 127admsw* at obio? addr ? 128#admflash* at obio? addr ? 129 130wdc* at extio? addr ? gpio_mask ? flags 0x1000 131atabus* at wdc? channel ? 132wd* at atabus? drive ? 133 134#USB 135options USB_DEBUG 136options UHUB_DEBUG 137ahci* at obio? addr ? 138usb* at ahci? 139uhub* at usb? 140uhub* at uhub? port ? configuration ? interface ? 141ugen* at uhub? port ? 142umass* at uhub? port ? 143wd* at umass? 144 145options PCI_NETBSD_CONFIGURE 146admpci* at mainbus? 147pci* at admpci? 148ath* at pci? dev ? function ? 149 150options MSGBUFSIZE=65536 151 152scsibus* at scsi? 153sd* at scsibus? target ? lun ? # SCSI disk drives 154 155options IPSELSRC 156#options WDC_EXTIO_DEBUG 157#options EXTIO_DEBUG 158#options ATADEBUG 159