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