11.27Schristos#	$NetBSD: RB153,v 1.27 2024/01/29 18:27:11 christos Exp $
21.1Sdyoung#
31.1Sdyoung# Example kernel config for the RouterBOARD 153.
41.1Sdyoung
51.1Sdyounginclude 	"arch/evbmips/conf/std.adm5120"
61.1Sdyoung
71.27Schristos#ident 		"RB153-$Revision: 1.27 $"
81.1Sdyoung
91.1Sdyoungmaxusers	32
101.1Sdyoung
111.1Sdyoungoptions 	MIPS32
121.1Sdyoungoptions 	NOFPU		# No FPU
131.5Smattoptions 	FPEMUL		# emulate FPU insn
141.1Sdyoungoptions 	CONSPEED=115200	# YAMON default
151.1Sdyoung#options 	HZ=512		# for profiling
161.1Sdyoung#options	ADM5120_YAMON	# if our bootloader is YAMON
171.2Sdyoung#options 	MEMSIZE="(32*1024*1024)"
181.1Sdyoung
191.1Sdyoung#options 	LOCKDEBUG
201.1Sdyoungoptions 	SOSEND_COUNTERS
211.1Sdyoungoptions 	INET_CSUM_COUNTERS
221.1Sdyoungoptions 	TCP_CSUM_COUNTERS
231.1Sdyoungoptions 	UDP_CSUM_COUNTERS
241.1Sdyoungoptions 	TCP_OUTPUT_COUNTERS
251.1Sdyoung
261.1Sdyoung#options 	NTP		# network time protocol
271.1Sdyoung
281.1Sdyoung# Debugging options
291.1Sdyoungoptions 	DIAGNOSTIC	# extra kernel sanity checking
301.19Smaya#options 	DEBUG		# extra kernel debugging support
311.1Sdyoungoptions 	DDB		# kernel dynamic debugger
321.1Sdyoungoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
331.1Sdyoungmakeoptions 	DEBUG="-g"	# compile full symbol table
341.1Sdyoungmakeoptions 	CPUFLAGS="-march=4kc"
351.16Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
361.1Sdyoung
371.1Sdyoung#options 	MEMORY_DISK_HOOKS
381.25Srin#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
391.25Srin#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
401.1Sdyoung
411.1Sdyoung# File systems
421.1Sdyoungfile-system	FFS		# Berkeley Fast Filesystem
431.1Sdyoungfile-system	TMPFS
441.1Sdyoung#file-system 	EXT2FS		# second extended file system (linux)
451.1Sdyoungfile-system	NFS		# Sun NFS-compatible filesystem client
461.1Sdyoung#file-system	KERNFS		# kernel data-structure filesystem
471.1Sdyoungfile-system	NULLFS		# NULL layered filesystem
481.1Sdyoung#file-system 	OVERLAY		# overlay file system
491.1Sdyoung#file-system	FDESC		# user file descriptor filesystem
501.1Sdyoung#file-system	UMAPFS		# uid/gid remapping filesystem
511.1Sdyoung#file-system	LFS		# Log-based filesystem (still experimental)
521.1Sdyoung#file-system	PROCFS		# /proc
531.1Sdyoung#file-system	CD9660		# ISO 9660 + Rock Ridge file system
541.1Sdyoung#file-system	UNION		# union file system
551.1Sdyoung#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
561.1Sdyoung#file-system 	CODA		# Coda File System; also needs vcoda (below)
571.1Sdyoung
581.1Sdyoung# File system options
591.26Ssimonb#options 	FFS_EI		# FFS Endian Independent support
601.6Sbouyer#options 	QUOTA		# legacy UFS quotas
611.6Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
621.26Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
631.26Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
641.26Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
651.26Ssimonb#options 	NFSSERVER	# Network File System server
661.1Sdyoung
671.22Ssevan# Alternate buffer queue strategies for better responsiveness under high
681.22Ssevan# disk I/O load.
691.22Ssevan#options 	BUFQ_READPRIO
701.22Ssevanoptions 	BUFQ_PRIOCSCAN
711.22Ssevan
721.1Sdyoung# Networking options
731.1Sdyoungoptions 	GATEWAY		# IP packet forwarding
741.1Sdyoungoptions 	INET		# Internet protocols
751.1Sdyoungoptions 	INET6		# IPV6
761.1Sdyoung#options 	IPSEC		# IP security
771.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
781.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
791.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
801.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
811.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
821.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
831.1Sdyoung
841.15Salnsn# JIT compiler for bpfilter
851.15Salnsn#options	SLJIT
861.15Salnsn#options	BPFJIT
871.15Salnsn
881.1Sdyoung# These options enable verbose messages for several subsystems.
891.1Sdyoung# Warning, these may compile large string tables into the kernel!
901.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
911.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
921.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
931.1Sdyoung#options 	SCSIVERBOSE	# human readable SCSI error messages
941.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
951.1Sdyoung
961.1Sdyoungoptions 	NFS_BOOT_DHCP
971.1Sdyoung#options	NFS_BOOT_RWSIZE=1024
981.1Sdyoung
991.1Sdyoung# Pretty much only one device to use for the root file system.
1001.1Sdyoungconfig		netbsd		root on admsw0 type nfs
1011.1Sdyoung
1021.1Sdyoungmainbus0 	at root
1031.1Sdyoung
1041.1Sdyoungcpu0 		at mainbus?
1051.1Sdyoung
1061.1Sdyoung# Network pseudo-devices
1071.1Sdyoungpseudo-device	bpfilter		# Berkeley packet filter
1081.23Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
1091.1Sdyoungpseudo-device	loop			# network loopback
1101.1Sdyoung#pseudo-device	ppp			# Point-to-Point Protocol
1111.1Sdyoung#pseudo-device	sl			# Serial Line IP
1121.1Sdyoung#pseudo-device	tun			# network tunneling over tty
1131.1Sdyoungpseudo-device	gre			# generic L3 over IP tunnel
1141.1Sdyoung#pseudo-device	ipip			# RFC 2003 IP Encapsulation
1151.1Sdyoungpseudo-device	gif			# RFC1933 tunnel
1161.1Sdyoung#pseudo-device	faith			# IPv[46] tcp relay translation
1171.1Sdyoung# Miscellaneous pseudo-devices
1181.1Sdyoungpseudo-device	pty			# pseudo-terminals
1191.1Sdyoung#pseudo-device	sequencer		# MIDI sequencer
1201.20Smaxvpseudo-device	npf			# NPF packet filter
1211.1Sdyoung
1221.1Sdyoung# A pseudo device needed for Coda	# also needs CODA (above)
1231.1Sdyoung#pseudo-device	vcoda			# coda minicache <-> venus comm.
1241.1Sdyoungpseudo-device	ksyms
1251.1Sdyoung
1261.1Sdyoungobio*		at mainbus?
1271.1Sdyounggpio*		at mainbus?
1281.1Sdyoungextio*		at mainbus?
1291.1Sdyoung
1301.1Sdyounguart*		at obio? addr ?
1311.1Sdyoungadmsw*		at obio? addr ?
1321.1Sdyoung#admflash*	at obio? addr ?
1331.1Sdyoung
1341.1Sdyoungwdc*		at extio? addr ? gpio_mask ? flags 0x1000
1351.1Sdyoungatabus*		at wdc? channel ?
1361.1Sdyoungwd*		at atabus? drive ?
1371.1Sdyoung
1381.1Sdyoung#USB
1391.1Sdyoungoptions		USB_DEBUG
1401.1Sdyoungoptions		UHUB_DEBUG
1411.1Sdyoungahci*		at obio? addr ?
1421.1Sdyoungusb*		at ahci?
1431.1Sdyounguhub*		at usb?
1441.1Sdyounguhub*		at uhub? port ? configuration ? interface ?
1451.1Sdyoungugen*		at uhub? port ?
1461.1Sdyoungumass*		at uhub? port ?
1471.1Sdyoung
1481.1Sdyoungoptions	PCI_NETBSD_CONFIGURE
1491.1Sdyoungadmpci*		at mainbus?
1501.1Sdyoungpci*		at admpci?
1511.1Sdyoungath*		at pci? dev ? function ?
1521.1Sdyoung
1531.1Sdyoungoptions	MSGBUFSIZE=65536
1541.1Sdyoung
1551.1Sdyoungscsibus*	at scsi?
1561.1Sdyoungsd*		at scsibus? target ? lun ?	# SCSI disk drives
1571.1Sdyoung
1581.1Sdyoungoptions	IPSELSRC
1591.1Sdyoung#options	WDC_EXTIO_DEBUG
1601.1Sdyoung#options	EXTIO_DEBUG
1611.1Sdyoung#options	ATADEBUG
1621.23Ssevan
1631.23Ssevaninclude "dev/veriexec.config"
164