ADM5120 revision 1.33 1 # $NetBSD: ADM5120,v 1.33 2022/08/07 02:52:25 simonb Exp $
2 #
3 # Kernel config for the ADM5120 based boards and routers,
4 # including the RouterBOARD 100 series.
5
6 include "arch/evbmips/conf/std.adm5120"
7
8 #ident "GENERIC-$Revision: 1.33 $"
9
10 maxusers 32
11
12 options MIPS32
13 options NOFPU # No FPU
14 options FPEMUL # emulate FPU insn
15 #options CONSPEED=115200 # YAMON default
16 #options HZ=512 # for profiling
17 options MEMSIZE="(16*1024*1024)"
18
19 #options LOCKDEBUG
20 options SOSEND_COUNTERS
21 options INET_CSUM_COUNTERS
22 options TCP_CSUM_COUNTERS
23 options UDP_CSUM_COUNTERS
24 options TCP_OUTPUT_COUNTERS
25
26 #options NTP # network time protocol
27
28 # Debugging options
29 options DIAGNOSTIC # extra kernel sanity checking
30 #options DEBUG # extra kernel debugging support
31 options DDB # kernel dynamic debugger
32 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
33 makeoptions DEBUG="-g" # compile full symbol table
34 makeoptions CPUFLAGS="-march=4kc"
35 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
36
37 #options MEMORY_DISK_HOOKS
38 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
39 #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks
40
41 # Compatibility options
42 include "conf/compat_netbsd50.config"
43 #options EXEC_ECOFF # exec ECOFF binaries
44 #options COMPAT_ULTRIX # binary compatibility with Ultrix
45
46 # File systems
47 file-system FFS # Berkeley Fast Filesystem
48 #file-system MFS # memory-based filesystem
49 #file-system EXT2FS # second extended file system (linux)
50 file-system NFS # Sun NFS-compatible filesystem client
51 #file-system KERNFS # kernel data-structure filesystem
52 #file-system NULLFS # NULL layered filesystem
53 #file-system OVERLAY # overlay file system
54 #file-system FDESC # user file descriptor filesystem
55 #file-system UMAPFS # uid/gid remapping filesystem
56 #file-system LFS # Log-based filesystem (still experimental)
57 #file-system PROCFS # /proc
58 #file-system CD9660 # ISO 9660 + Rock Ridge file system
59 #file-system UNION # union file system
60 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
61 #file-system CODA # Coda File System; also needs vcoda (below)
62
63 # File system options
64 #options FFS_EI # FFS Endian Independent support
65 #options QUOTA # legacy UFS quotas
66 #options QUOTA2 # new, in-filesystem UFS quotas
67 #options UFS_DIRHASH # UFS Large Directory Hashing
68 #options UFS_EXTATTR # Extended attribute support for UFS1
69 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70 # immutable) behave as system flags.
71 #options DISKLABEL_EI # disklabel Endian Independent support
72 #options NFSSERVER # Network File System server
73
74 # Alternate buffer queue strategies for better responsiveness under high
75 # disk I/O load.
76 #options BUFQ_READPRIO
77 options BUFQ_PRIOCSCAN
78
79 # Networking options
80 options GATEWAY # IP packet forwarding
81 options INET # Internet protocols
82 #options INET6 # IPV6
83 #options IPSEC # IP security
84 #options IPSEC_DEBUG # debug for IP security
85 #options MROUTING # packet forwarding of multicast packets
86 #options NETATALK # AppleTalk (over Ethernet) protocol
87 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
88 #options PPP_DEFLATE # Deflate compression support for PPP
89 #options PPP_FILTER # Active filter support for PPP (requires bpf)
90
91 # JIT compiler for bpfilter
92 #options SLJIT
93 #options BPFJIT
94
95 # These options enable verbose messages for several subsystems.
96 # Warning, these may compile large string tables into the kernel!
97 #options MIIVERBOSE # verbose PHY autoconfig messages
98 #options PCIVERBOSE # verbose PCI device autoconfig messages
99 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
100 #options SCSIVERBOSE # human readable SCSI error messages
101 #options USBVERBOSE # verbose USB device autoconfig messages
102
103 options NFS_BOOT_DHCP
104
105 # Pretty much only one device to use for the root file system.
106 config netbsd root on ? type ?
107
108 mainbus0 at root
109
110 cpu0 at mainbus?
111
112 # Network pseudo-devices
113 pseudo-device bpfilter # Berkeley packet filter
114 pseudo-device carp # Common Address Redundancy Protocol
115 pseudo-device loop # network loopback
116 #pseudo-device ppp # Point-to-Point Protocol
117 #pseudo-device sl # Serial Line IP
118 #pseudo-device tun # network tunneling over tty
119 #pseudo-device gre # generic L3 over IP tunnel
120 #pseudo-device ipip # RFC 2003 IP Encapsulation
121 #pseudo-device gif # RFC1933 tunnel
122 #pseudo-device faith # IPv[46] tcp relay translation
123 # Miscellaneous pseudo-devices
124 pseudo-device pty # pseudo-terminals
125 #pseudo-device sequencer # MIDI sequencer
126
127 # A pseudo device needed for Coda # also needs CODA (above)
128 #pseudo-device vcoda # coda minicache <-> venus comm.
129 pseudo-device ksyms
130
131 obio* at mainbus?
132 gpio* at mainbus?
133 extio* at mainbus?
134 uart* at obio? addr ?
135 admsw* at obio? addr ?
136 #admflash* at obio? addr ?
137 #options VND_COMPRESSION
138
139 include "dev/veriexec.config"
140