RB153 revision 1.1
11.1Sdyoung# $NetBSD: RB153,v 1.1 2007/03/20 09:22:01 dyoung Exp $ 21.1Sdyoung# $Id: RB153,v 1.1 2007/03/20 09:22:01 dyoung Exp $ 31.1Sdyoung# 41.1Sdyoung# Example kernel config for the RouterBOARD 153. 51.1Sdyoung 61.1Sdyounginclude "arch/evbmips/conf/std.adm5120" 71.1Sdyoung 81.1Sdyoung#ident "GENERIC-$Revision: 1.1 $" 91.1Sdyoung 101.1Sdyoungmaxusers 32 111.1Sdyoung 121.1Sdyoungoptions MIPS32 131.1Sdyoungoptions NOFPU # No FPU 141.1Sdyoungoptions SOFTFLOAT # emulate FPU insn 151.1Sdyoungoptions CONSPEED=115200 # YAMON default 161.1Sdyoung#options HZ=512 # for profiling 171.1Sdyoung#options ADM5120_YAMON # if our bootloader is YAMON 181.1Sdyoungoptions MEMSIZE="(32*1024*1024)" 191.1Sdyoung 201.1Sdyoung#options LOCKDEBUG 211.1Sdyoungoptions SOSEND_LOAN 221.1Sdyoungoptions SOSEND_COUNTERS 231.1Sdyoungoptions INET_CSUM_COUNTERS 241.1Sdyoungoptions TCP_CSUM_COUNTERS 251.1Sdyoungoptions UDP_CSUM_COUNTERS 261.1Sdyoungoptions TCP_OUTPUT_COUNTERS 271.1Sdyoung 281.1Sdyoung#options NTP # network time protocol 291.1Sdyoung 301.1Sdyoung# Debugging options 311.1Sdyoungoptions DIAGNOSTIC # extra kernel sanity checking 321.1Sdyoungoptions DEBUG # extra kernel debugging support 331.1Sdyoungoptions KMEMSTATS # kernel memory statistics (vmstat -m) 341.1Sdyoungoptions DDB # kernel dynamic debugger 351.1Sdyoungoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 361.1Sdyoungmakeoptions DEBUG="-g" # compile full symbol table 371.1Sdyoungmakeoptions CPUFLAGS="-march=4kc" 381.1Sdyoungoptions SYMTAB_SPACE=360000 # size for embedded symbol table 391.1Sdyoung 401.1Sdyoung#options MEMORY_DISK_HOOKS 411.1Sdyoung#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 421.1Sdyoung#options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes 431.1Sdyoung 441.1Sdyoung# File systems 451.1Sdyoungfile-system FFS # Berkeley Fast Filesystem 461.1Sdyoungfile-system TMPFS 471.1Sdyoung#file-system EXT2FS # second extended file system (linux) 481.1Sdyoungfile-system NFS # Sun NFS-compatible filesystem client 491.1Sdyoung#file-system KERNFS # kernel data-structure filesystem 501.1Sdyoungfile-system NULLFS # NULL layered filesystem 511.1Sdyoung#file-system OVERLAY # overlay file system 521.1Sdyoung#file-system FDESC # user file descriptor filesystem 531.1Sdyoung#file-system UMAPFS # uid/gid remapping filesystem 541.1Sdyoung#file-system LFS # Log-based filesystem (still experimental) 551.1Sdyoung#file-system PORTAL # portal filesystem (still experimental) 561.1Sdyoung#file-system PROCFS # /proc 571.1Sdyoung#file-system CD9660 # ISO 9660 + Rock Ridge file system 581.1Sdyoung#file-system UNION # union file system 591.1Sdyoung#file-system MSDOSFS # MS-DOS FAT filesystem(s). 601.1Sdyoung#file-system CODA # Coda File System; also needs vcoda (below) 611.1Sdyoung 621.1Sdyoung# File system options 631.1Sdyoung#options NFSSERVER # Sun NFS-compatible filesystem server 641.1Sdyoung#options QUOTA # FFS quotas 651.1Sdyoung#options FFS_EI # FFS Endian Independant support 661.1Sdyoung#options SOFTDEP # FFS soft updates support. 671.1Sdyoung#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 681.1Sdyoung # immutable) behave as system flags. 691.1Sdyoung 701.1Sdyoung# Networking options 711.1Sdyoungoptions GATEWAY # IP packet forwarding 721.1Sdyoungoptions INET # Internet protocols 731.1Sdyoungoptions INET6 # IPV6 741.1Sdyoung#options IPSEC # IP security 751.1Sdyoung#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 761.1Sdyoung#options IPSEC_DEBUG # debug for IP security 771.1Sdyoung#options MROUTING # packet forwarding of multicast packets 781.1Sdyoung#options NS # Xerox NS networking 791.1Sdyoung#options NSIP # Xerox NS tunneling over IP 801.1Sdyoung#options ISO,TPIP # OSI networking 811.1Sdyoung#options EON # OSI tunneling over IP 821.1Sdyoung#options CCITT,LLC,HDLC # X.25 831.1Sdyoung#options NETATALK # AppleTalk (over Ethernet) protocol 841.1Sdyoung#options PPP_BSDCOMP # BSD-Compress compression support for PPP 851.1Sdyoung#options PPP_DEFLATE # Deflate compression support for PPP 861.1Sdyoung#options PPP_FILTER # Active filter support for PPP (requires bpf) 871.1Sdyoungoptions PFIL_HOOKS # pfil(9) packet filter hooks 881.1Sdyoung#options IPFILTER_LOG # ipmon(8) log support 891.1Sdyoung 901.1Sdyoung# These options enable verbose messages for several subsystems. 911.1Sdyoung# Warning, these may compile large string tables into the kernel! 921.1Sdyoung#options MIIVERBOSE # verbose PHY autoconfig messages 931.1Sdyoung#options PCIVERBOSE # verbose PCI device autoconfig messages 941.1Sdyoung#options PCI_CONFIG_DUMP # verbosely dump PCI config space 951.1Sdyoung#options SCSIVERBOSE # human readable SCSI error messages 961.1Sdyoung#options USBVERBOSE # verbose USB device autoconfig messages 971.1Sdyoung 981.1Sdyoungoptions NFS_BOOT_DHCP 991.1Sdyoung#options NFS_BOOT_RWSIZE=1024 1001.1Sdyoung 1011.1Sdyoung# Pretty much only one device to use for the root file system. 1021.1Sdyoungconfig netbsd root on admsw0 type nfs 1031.1Sdyoung 1041.1Sdyoungmainbus0 at root 1051.1Sdyoung 1061.1Sdyoungcpu0 at mainbus? 1071.1Sdyoung 1081.1Sdyoung# Network pseudo-devices 1091.1Sdyoungpseudo-device bpfilter # Berkeley packet filter 1101.1Sdyoungpseudo-device loop # network loopback 1111.1Sdyoung#pseudo-device ppp # Point-to-Point Protocol 1121.1Sdyoung#pseudo-device sl # Serial Line IP 1131.1Sdyoung#pseudo-device strip # Starmode Radio IP (Metricom) 1141.1Sdyoung#pseudo-device tun # network tunneling over tty 1151.1Sdyoungpseudo-device gre # generic L3 over IP tunnel 1161.1Sdyoung#pseudo-device ipip # RFC 2003 IP Encapsulation 1171.1Sdyoungpseudo-device gif # RFC1933 tunnel 1181.1Sdyoung#pseudo-device faith # IPv[46] tcp relay translation 1191.1Sdyoung# Miscellaneous pseudo-devices 1201.1Sdyoungpseudo-device pty # pseudo-terminals 1211.1Sdyoung#pseudo-device sequencer # MIDI sequencer 1221.1Sdyoungpseudo-device rnd # /dev/random & kernel generator 1231.1Sdyoungpseudo-device pf # PF packet filter 1241.1Sdyoungpseudo-device pflog # PF log if 1251.1Sdyoung 1261.1Sdyoung# A pseudo device needed for Coda # also needs CODA (above) 1271.1Sdyoung#pseudo-device vcoda # coda minicache <-> venus comm. 1281.1Sdyoungpseudo-device ksyms 1291.1Sdyoung 1301.1Sdyoungobio* at mainbus? 1311.1Sdyounggpio* at mainbus? 1321.1Sdyoungextio* at mainbus? 1331.1Sdyoung 1341.1Sdyounguart* at obio? addr ? 1351.1Sdyoungadmsw* at obio? addr ? 1361.1Sdyoung#admflash* at obio? addr ? 1371.1Sdyoung 1381.1Sdyoungwdc* at extio? addr ? gpio_mask ? flags 0x1000 1391.1Sdyoungatabus* at wdc? channel ? 1401.1Sdyoungwd* at atabus? drive ? 1411.1Sdyoung 1421.1Sdyoung#USB 1431.1Sdyoungoptions USB_DEBUG 1441.1Sdyoungoptions UHUB_DEBUG 1451.1Sdyoungahci* at obio? addr ? 1461.1Sdyoungusb* at ahci? 1471.1Sdyounguhub* at usb? 1481.1Sdyounguhub* at uhub? port ? configuration ? interface ? 1491.1Sdyoungugen* at uhub? port ? 1501.1Sdyoungumass* at uhub? port ? 1511.1Sdyoungwd* at umass? 1521.1Sdyoung 1531.1Sdyoungoptions PCI_NETBSD_CONFIGURE 1541.1Sdyoungadmpci* at mainbus? 1551.1Sdyoungpci* at admpci? 1561.1Sdyoungath* at pci? dev ? function ? 1571.1Sdyoung 1581.1Sdyoungoptions MSGBUFSIZE=65536 1591.1Sdyoung 1601.1Sdyoungscsibus* at scsi? 1611.1Sdyoungsd* at scsibus? target ? lun ? # SCSI disk drives 1621.1Sdyoung 1631.1Sdyoungoptions IPSELSRC 1641.1Sdyoung#options WDC_EXTIO_DEBUG 1651.1Sdyoung#options EXTIO_DEBUG 1661.1Sdyoung#options ATADEBUG 167