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