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