Home | History | Annotate | Line # | Download | only in conf
      1  1.27  christos #	$NetBSD: RB153,v 1.27 2024/01/29 18:27:11 christos Exp $
      2   1.1    dyoung #
      3   1.1    dyoung # Example kernel config for the RouterBOARD 153.
      4   1.1    dyoung 
      5   1.1    dyoung include 	"arch/evbmips/conf/std.adm5120"
      6   1.1    dyoung 
      7  1.27  christos #ident 		"RB153-$Revision: 1.27 $"
      8   1.1    dyoung 
      9   1.1    dyoung maxusers	32
     10   1.1    dyoung 
     11   1.1    dyoung options 	MIPS32
     12   1.1    dyoung options 	NOFPU		# No FPU
     13   1.5      matt options 	FPEMUL		# emulate FPU insn
     14   1.1    dyoung options 	CONSPEED=115200	# YAMON default
     15   1.1    dyoung #options 	HZ=512		# for profiling
     16   1.1    dyoung #options	ADM5120_YAMON	# if our bootloader is YAMON
     17   1.2    dyoung #options 	MEMSIZE="(32*1024*1024)"
     18   1.1    dyoung 
     19   1.1    dyoung #options 	LOCKDEBUG
     20   1.1    dyoung options 	SOSEND_COUNTERS
     21   1.1    dyoung options 	INET_CSUM_COUNTERS
     22   1.1    dyoung options 	TCP_CSUM_COUNTERS
     23   1.1    dyoung options 	UDP_CSUM_COUNTERS
     24   1.1    dyoung options 	TCP_OUTPUT_COUNTERS
     25   1.1    dyoung 
     26   1.1    dyoung #options 	NTP		# network time protocol
     27   1.1    dyoung 
     28   1.1    dyoung # Debugging options
     29   1.1    dyoung options 	DIAGNOSTIC	# extra kernel sanity checking
     30  1.19      maya #options 	DEBUG		# extra kernel debugging support
     31   1.1    dyoung options 	DDB		# kernel dynamic debugger
     32   1.1    dyoung options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
     33   1.1    dyoung makeoptions 	DEBUG="-g"	# compile full symbol table
     34   1.1    dyoung makeoptions 	CPUFLAGS="-march=4kc"
     35  1.16     joerg makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
     36   1.1    dyoung 
     37   1.1    dyoung #options 	MEMORY_DISK_HOOKS
     38  1.25       rin #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
     39  1.25       rin #options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
     40   1.1    dyoung 
     41   1.1    dyoung # File systems
     42   1.1    dyoung file-system	FFS		# Berkeley Fast Filesystem
     43   1.1    dyoung file-system	TMPFS
     44   1.1    dyoung #file-system 	EXT2FS		# second extended file system (linux)
     45   1.1    dyoung file-system	NFS		# Sun NFS-compatible filesystem client
     46   1.1    dyoung #file-system	KERNFS		# kernel data-structure filesystem
     47   1.1    dyoung file-system	NULLFS		# NULL layered filesystem
     48   1.1    dyoung #file-system 	OVERLAY		# overlay file system
     49   1.1    dyoung #file-system	FDESC		# user file descriptor filesystem
     50   1.1    dyoung #file-system	UMAPFS		# uid/gid remapping filesystem
     51   1.1    dyoung #file-system	LFS		# Log-based filesystem (still experimental)
     52   1.1    dyoung #file-system	PROCFS		# /proc
     53   1.1    dyoung #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     54   1.1    dyoung #file-system	UNION		# union file system
     55   1.1    dyoung #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
     56   1.1    dyoung #file-system 	CODA		# Coda File System; also needs vcoda (below)
     57   1.1    dyoung 
     58   1.1    dyoung # File system options
     59  1.26    simonb #options 	FFS_EI		# FFS Endian Independent support
     60   1.6    bouyer #options 	QUOTA		# legacy UFS quotas
     61   1.6    bouyer #options 	QUOTA2		# new, in-filesystem UFS quotas
     62  1.26    simonb #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     63  1.26    simonb #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     64  1.26    simonb #options 	DISKLABEL_EI	# disklabel Endian Independent support
     65  1.26    simonb #options 	NFSSERVER	# Network File System server
     66   1.1    dyoung 
     67  1.22     sevan # Alternate buffer queue strategies for better responsiveness under high
     68  1.22     sevan # disk I/O load.
     69  1.22     sevan #options 	BUFQ_READPRIO
     70  1.22     sevan options 	BUFQ_PRIOCSCAN
     71  1.22     sevan 
     72   1.1    dyoung # Networking options
     73   1.1    dyoung options 	GATEWAY		# IP packet forwarding
     74   1.1    dyoung options 	INET		# Internet protocols
     75   1.1    dyoung options 	INET6		# IPV6
     76   1.1    dyoung #options 	IPSEC		# IP security
     77   1.1    dyoung #options 	IPSEC_DEBUG	# debug for IP security
     78   1.1    dyoung #options 	MROUTING	# packet forwarding of multicast packets
     79   1.1    dyoung #options 	NETATALK	# AppleTalk (over Ethernet) protocol
     80   1.1    dyoung #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     81   1.1    dyoung #options 	PPP_DEFLATE	# Deflate compression support for PPP
     82   1.1    dyoung #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     83   1.1    dyoung 
     84  1.15     alnsn # JIT compiler for bpfilter
     85  1.15     alnsn #options	SLJIT
     86  1.15     alnsn #options	BPFJIT
     87  1.15     alnsn 
     88   1.1    dyoung # These options enable verbose messages for several subsystems.
     89   1.1    dyoung # Warning, these may compile large string tables into the kernel!
     90   1.1    dyoung #options 	MIIVERBOSE	# verbose PHY autoconfig messages
     91   1.1    dyoung #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     92   1.1    dyoung #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     93   1.1    dyoung #options 	SCSIVERBOSE	# human readable SCSI error messages
     94   1.1    dyoung #options 	USBVERBOSE	# verbose USB device autoconfig messages
     95   1.1    dyoung 
     96   1.1    dyoung options 	NFS_BOOT_DHCP
     97   1.1    dyoung #options	NFS_BOOT_RWSIZE=1024
     98   1.1    dyoung 
     99   1.1    dyoung # Pretty much only one device to use for the root file system.
    100   1.1    dyoung config		netbsd		root on admsw0 type nfs
    101   1.1    dyoung 
    102   1.1    dyoung mainbus0 	at root
    103   1.1    dyoung 
    104   1.1    dyoung cpu0 		at mainbus?
    105   1.1    dyoung 
    106   1.1    dyoung # Network pseudo-devices
    107   1.1    dyoung pseudo-device	bpfilter		# Berkeley packet filter
    108  1.23     sevan pseudo-device 	carp			# Common Address Redundancy Protocol
    109   1.1    dyoung pseudo-device	loop			# network loopback
    110   1.1    dyoung #pseudo-device	ppp			# Point-to-Point Protocol
    111   1.1    dyoung #pseudo-device	sl			# Serial Line IP
    112   1.1    dyoung #pseudo-device	tun			# network tunneling over tty
    113   1.1    dyoung pseudo-device	gre			# generic L3 over IP tunnel
    114   1.1    dyoung #pseudo-device	ipip			# RFC 2003 IP Encapsulation
    115   1.1    dyoung pseudo-device	gif			# RFC1933 tunnel
    116   1.1    dyoung #pseudo-device	faith			# IPv[46] tcp relay translation
    117   1.1    dyoung # Miscellaneous pseudo-devices
    118   1.1    dyoung pseudo-device	pty			# pseudo-terminals
    119   1.1    dyoung #pseudo-device	sequencer		# MIDI sequencer
    120  1.20      maxv pseudo-device	npf			# NPF packet filter
    121   1.1    dyoung 
    122   1.1    dyoung # A pseudo device needed for Coda	# also needs CODA (above)
    123   1.1    dyoung #pseudo-device	vcoda			# coda minicache <-> venus comm.
    124   1.1    dyoung pseudo-device	ksyms
    125   1.1    dyoung 
    126   1.1    dyoung obio*		at mainbus?
    127   1.1    dyoung gpio*		at mainbus?
    128   1.1    dyoung extio*		at mainbus?
    129   1.1    dyoung 
    130   1.1    dyoung uart*		at obio? addr ?
    131   1.1    dyoung admsw*		at obio? addr ?
    132   1.1    dyoung #admflash*	at obio? addr ?
    133   1.1    dyoung 
    134   1.1    dyoung wdc*		at extio? addr ? gpio_mask ? flags 0x1000
    135   1.1    dyoung atabus*		at wdc? channel ?
    136   1.1    dyoung wd*		at atabus? drive ?
    137   1.1    dyoung 
    138   1.1    dyoung #USB
    139   1.1    dyoung options		USB_DEBUG
    140   1.1    dyoung options		UHUB_DEBUG
    141   1.1    dyoung ahci*		at obio? addr ?
    142   1.1    dyoung usb*		at ahci?
    143   1.1    dyoung uhub*		at usb?
    144   1.1    dyoung uhub*		at uhub? port ? configuration ? interface ?
    145   1.1    dyoung ugen*		at uhub? port ?
    146   1.1    dyoung umass*		at uhub? port ?
    147   1.1    dyoung 
    148   1.1    dyoung options	PCI_NETBSD_CONFIGURE
    149   1.1    dyoung admpci*		at mainbus?
    150   1.1    dyoung pci*		at admpci?
    151   1.1    dyoung ath*		at pci? dev ? function ?
    152   1.1    dyoung 
    153   1.1    dyoung options	MSGBUFSIZE=65536
    154   1.1    dyoung 
    155   1.1    dyoung scsibus*	at scsi?
    156   1.1    dyoung sd*		at scsibus? target ? lun ?	# SCSI disk drives
    157   1.1    dyoung 
    158   1.1    dyoung options	IPSELSRC
    159   1.1    dyoung #options	WDC_EXTIO_DEBUG
    160   1.1    dyoung #options	EXTIO_DEBUG
    161   1.1    dyoung #options	ATADEBUG
    162  1.23     sevan 
    163  1.23     sevan include "dev/veriexec.config"
    164