1 # $NetBSD: RB153,v 1.3 2008/11/24 11:41:10 ad Exp $
2 # $Id: RB153,v 1.4 2009/12/05 20:11:11 pooka Exp $
4 # Example kernel config for the RouterBOARD 153.
6 include "arch/evbmips/conf/std.adm5120"
8 #ident "GENERIC-$Revision: 1.4 $"
13 options NOFPU # No FPU
14 options SOFTFLOAT # emulate FPU insn
15 options CONSPEED=115200 # YAMON default
16 #options HZ=512 # for profiling
17 #options ADM5120_YAMON # if our bootloader is YAMON
18 #options MEMSIZE="(32*1024*1024)"
22 options SOSEND_COUNTERS
23 options INET_CSUM_COUNTERS
24 options TCP_CSUM_COUNTERS
25 options UDP_CSUM_COUNTERS
26 options TCP_OUTPUT_COUNTERS
28 #options NTP # network time protocol
31 options DIAGNOSTIC # extra kernel sanity checking
32 options DEBUG # extra kernel debugging support
33 options KMEMSTATS # kernel memory statistics (vmstat -m)
34 options DDB # kernel dynamic debugger
35 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
36 makeoptions DEBUG="-g" # compile full symbol table
37 makeoptions CPUFLAGS="-march=4kc"
38 options SYMTAB_SPACE=360000 # size for embedded symbol table
40 #options MEMORY_DISK_HOOKS
41 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
42 #options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes
45 file-system FFS # Berkeley Fast Filesystem
47 #file-system EXT2FS # second extended file system (linux)
48 file-system NFS # Sun NFS-compatible filesystem client
49 #file-system KERNFS # kernel data-structure filesystem
50 file-system NULLFS # NULL layered filesystem
51 #file-system OVERLAY # overlay file system
52 #file-system FDESC # user file descriptor filesystem
53 #file-system UMAPFS # uid/gid remapping filesystem
54 #file-system LFS # Log-based filesystem (still experimental)
55 #file-system PROCFS # /proc
56 #file-system CD9660 # ISO 9660 + Rock Ridge file system
57 #file-system UNION # union file system
58 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
59 #file-system CODA # Coda File System; also needs vcoda (below)
62 #options NFSSERVER # Sun NFS-compatible filesystem server
63 #options QUOTA # FFS quotas
64 #options FFS_EI # FFS Endian Independant support
65 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
66 # immutable) behave as system flags.
69 options GATEWAY # IP packet forwarding
70 options INET # Internet protocols
72 #options IPSEC # IP security
73 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
74 #options IPSEC_DEBUG # debug for IP security
75 #options MROUTING # packet forwarding of multicast packets
76 #options NS # Xerox NS networking
77 #options NSIP # Xerox NS tunneling over IP
78 #options ISO,TPIP # OSI networking
79 #options EON # OSI tunneling over IP
80 #options CCITT,LLC,HDLC # X.25
81 #options NETATALK # AppleTalk (over Ethernet) protocol
82 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
83 #options PPP_DEFLATE # Deflate compression support for PPP
84 #options PPP_FILTER # Active filter support for PPP (requires bpf)
85 options PFIL_HOOKS # pfil(9) packet filter hooks
86 #options IPFILTER_LOG # ipmon(8) log support
88 # These options enable verbose messages for several subsystems.
89 # Warning, these may compile large string tables into the kernel!
90 #options MIIVERBOSE # verbose PHY autoconfig messages
91 #options PCIVERBOSE # verbose PCI device autoconfig messages
92 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
93 #options SCSIVERBOSE # human readable SCSI error messages
94 #options USBVERBOSE # verbose USB device autoconfig messages
97 #options NFS_BOOT_RWSIZE=1024
99 # Pretty much only one device to use for the root file system.
100 config netbsd root on admsw0 type nfs
106 # Network pseudo-devices
107 pseudo-device bpfilter # Berkeley packet filter
108 pseudo-device loop # network loopback
109 #pseudo-device ppp # Point-to-Point Protocol
110 #pseudo-device sl # Serial Line IP
111 #pseudo-device strip # Starmode Radio IP (Metricom)
112 #pseudo-device tun # network tunneling over tty
113 pseudo-device gre # generic L3 over IP tunnel
114 #pseudo-device ipip # RFC 2003 IP Encapsulation
115 pseudo-device gif # RFC1933 tunnel
116 #pseudo-device faith # IPv[46] tcp relay translation
117 # Miscellaneous pseudo-devices
118 pseudo-device pty # pseudo-terminals
119 #pseudo-device sequencer # MIDI sequencer
120 pseudo-device rnd # /dev/random & kernel generator
121 pseudo-device pf # PF packet filter
122 pseudo-device pflog # PF log if
124 # A pseudo device needed for Coda # also needs CODA (above)
125 #pseudo-device vcoda # coda minicache <-> venus comm.
132 uart* at obio? addr ?
133 admsw* at obio? addr ?
134 #admflash* at obio? addr ?
136 wdc* at extio? addr ? gpio_mask ? flags 0x1000
137 atabus* at wdc? channel ?
138 wd* at atabus? drive ?
143 ahci* at obio? addr ?
146 uhub* at uhub? port ? configuration ? interface ?
147 ugen* at uhub? port ?
148 umass* at uhub? port ?
151 options PCI_NETBSD_CONFIGURE
154 ath* at pci? dev ? function ?
156 options MSGBUFSIZE=65536
159 sd* at scsibus? target ? lun ? # SCSI disk drives
162 #options WDC_EXTIO_DEBUG