1 1.26 simonb # $NetBSD: RB153,v 1.26 2022/08/07 02:52:25 simonb 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.26 simonb #ident "RB153-$Revision: 1.26 $" 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.1 dyoung #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 65 1.1 dyoung # immutable) behave as system flags. 66 1.26 simonb #options DISKLABEL_EI # disklabel Endian Independent support 67 1.26 simonb #options NFSSERVER # Network File System server 68 1.1 dyoung 69 1.22 sevan # Alternate buffer queue strategies for better responsiveness under high 70 1.22 sevan # disk I/O load. 71 1.22 sevan #options BUFQ_READPRIO 72 1.22 sevan options BUFQ_PRIOCSCAN 73 1.22 sevan 74 1.1 dyoung # Networking options 75 1.1 dyoung options GATEWAY # IP packet forwarding 76 1.1 dyoung options INET # Internet protocols 77 1.1 dyoung options INET6 # IPV6 78 1.1 dyoung #options IPSEC # IP security 79 1.1 dyoung #options IPSEC_DEBUG # debug for IP security 80 1.1 dyoung #options MROUTING # packet forwarding of multicast packets 81 1.1 dyoung #options NETATALK # AppleTalk (over Ethernet) protocol 82 1.1 dyoung #options PPP_BSDCOMP # BSD-Compress compression support for PPP 83 1.1 dyoung #options PPP_DEFLATE # Deflate compression support for PPP 84 1.1 dyoung #options PPP_FILTER # Active filter support for PPP (requires bpf) 85 1.1 dyoung 86 1.15 alnsn # JIT compiler for bpfilter 87 1.15 alnsn #options SLJIT 88 1.15 alnsn #options BPFJIT 89 1.15 alnsn 90 1.1 dyoung # These options enable verbose messages for several subsystems. 91 1.1 dyoung # Warning, these may compile large string tables into the kernel! 92 1.1 dyoung #options MIIVERBOSE # verbose PHY autoconfig messages 93 1.1 dyoung #options PCIVERBOSE # verbose PCI device autoconfig messages 94 1.1 dyoung #options PCI_CONFIG_DUMP # verbosely dump PCI config space 95 1.1 dyoung #options SCSIVERBOSE # human readable SCSI error messages 96 1.1 dyoung #options USBVERBOSE # verbose USB device autoconfig messages 97 1.1 dyoung 98 1.1 dyoung options NFS_BOOT_DHCP 99 1.1 dyoung #options NFS_BOOT_RWSIZE=1024 100 1.1 dyoung 101 1.1 dyoung # Pretty much only one device to use for the root file system. 102 1.1 dyoung config netbsd root on admsw0 type nfs 103 1.1 dyoung 104 1.1 dyoung mainbus0 at root 105 1.1 dyoung 106 1.1 dyoung cpu0 at mainbus? 107 1.1 dyoung 108 1.1 dyoung # Network pseudo-devices 109 1.1 dyoung pseudo-device bpfilter # Berkeley packet filter 110 1.23 sevan pseudo-device carp # Common Address Redundancy Protocol 111 1.1 dyoung pseudo-device loop # network loopback 112 1.1 dyoung #pseudo-device ppp # Point-to-Point Protocol 113 1.1 dyoung #pseudo-device sl # Serial Line IP 114 1.1 dyoung #pseudo-device tun # network tunneling over tty 115 1.1 dyoung pseudo-device gre # generic L3 over IP tunnel 116 1.1 dyoung #pseudo-device ipip # RFC 2003 IP Encapsulation 117 1.1 dyoung pseudo-device gif # RFC1933 tunnel 118 1.1 dyoung #pseudo-device faith # IPv[46] tcp relay translation 119 1.1 dyoung # Miscellaneous pseudo-devices 120 1.1 dyoung pseudo-device pty # pseudo-terminals 121 1.1 dyoung #pseudo-device sequencer # MIDI sequencer 122 1.20 maxv pseudo-device npf # NPF packet filter 123 1.1 dyoung 124 1.1 dyoung # A pseudo device needed for Coda # also needs CODA (above) 125 1.1 dyoung #pseudo-device vcoda # coda minicache <-> venus comm. 126 1.1 dyoung pseudo-device ksyms 127 1.1 dyoung 128 1.1 dyoung obio* at mainbus? 129 1.1 dyoung gpio* at mainbus? 130 1.1 dyoung extio* at mainbus? 131 1.1 dyoung 132 1.1 dyoung uart* at obio? addr ? 133 1.1 dyoung admsw* at obio? addr ? 134 1.1 dyoung #admflash* at obio? addr ? 135 1.1 dyoung 136 1.1 dyoung wdc* at extio? addr ? gpio_mask ? flags 0x1000 137 1.1 dyoung atabus* at wdc? channel ? 138 1.1 dyoung wd* at atabus? drive ? 139 1.1 dyoung 140 1.1 dyoung #USB 141 1.1 dyoung options USB_DEBUG 142 1.1 dyoung options UHUB_DEBUG 143 1.1 dyoung ahci* at obio? addr ? 144 1.1 dyoung usb* at ahci? 145 1.1 dyoung uhub* at usb? 146 1.1 dyoung uhub* at uhub? port ? configuration ? interface ? 147 1.1 dyoung ugen* at uhub? port ? 148 1.1 dyoung umass* at uhub? port ? 149 1.1 dyoung 150 1.1 dyoung options PCI_NETBSD_CONFIGURE 151 1.1 dyoung admpci* at mainbus? 152 1.1 dyoung pci* at admpci? 153 1.1 dyoung ath* at pci? dev ? function ? 154 1.1 dyoung 155 1.1 dyoung options MSGBUFSIZE=65536 156 1.1 dyoung 157 1.1 dyoung scsibus* at scsi? 158 1.1 dyoung sd* at scsibus? target ? lun ? # SCSI disk drives 159 1.1 dyoung 160 1.1 dyoung options IPSELSRC 161 1.1 dyoung #options WDC_EXTIO_DEBUG 162 1.1 dyoung #options EXTIO_DEBUG 163 1.1 dyoung #options ATADEBUG 164 1.23 sevan 165 1.23 sevan include "dev/veriexec.config" 166