1#         $NetBSD: ADM5120,v 1.34 2024/01/29 18:27:11 christos Exp $
2#
3# Kernel config for the ADM5120 based boards and routers,
4# including the RouterBOARD 100 series.
5
6include   "arch/evbmips/conf/std.adm5120"
7
8#ident              "GENERIC-$Revision: 1.34 $"
9
10maxusers  32
11
12options   MIPS32
13options   NOFPU               # No FPU
14options   FPEMUL              # emulate FPU insn
15#options  CONSPEED=115200     # YAMON default
16#options  HZ=512              # for profiling
17options   MEMSIZE="(16*1024*1024)"
18
19#options  LOCKDEBUG
20options   SOSEND_COUNTERS
21options   INET_CSUM_COUNTERS
22options   TCP_CSUM_COUNTERS
23options   UDP_CSUM_COUNTERS
24options   TCP_OUTPUT_COUNTERS
25
26#options  NTP                 # network time protocol
27
28# Debugging options
29options   DIAGNOSTIC          # extra kernel sanity checking
30#options  DEBUG               # extra kernel debugging support
31options   DDB                 # kernel dynamic debugger
32options   DDB_HISTORY_SIZE=100 # enable history editing in DDB
33makeoptions         DEBUG="-g"          # compile full symbol table
34makeoptions         CPUFLAGS="-march=4kc"
35makeoptions         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
42include         "conf/compat_netbsd50.config"
43#options  EXEC_ECOFF          # exec ECOFF binaries
44#options  COMPAT_ULTRIX       # binary compatibility with Ultrix
45
46# File systems
47file-system         FFS                 # Berkeley Fast Filesystem
48#file-system        MFS                 # memory-based filesystem
49#file-system        EXT2FS              # second extended file system (linux)
50file-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  DISKLABEL_EI        # disklabel Endian Independent support
70#options  NFSSERVER # Network File System server
71
72# Alternate buffer queue strategies for better responsiveness under high
73# disk I/O load.
74#options  BUFQ_READPRIO
75options   BUFQ_PRIOCSCAN
76
77# Networking options
78options   GATEWAY             # IP packet forwarding
79options   INET                # Internet protocols
80#options  INET6               # IPV6
81#options  IPSEC               # IP security
82#options  IPSEC_DEBUG         # debug for IP security
83#options  MROUTING  # packet forwarding of multicast packets
84#options  NETATALK  # AppleTalk (over Ethernet) protocol
85#options  PPP_BSDCOMP         # BSD-Compress compression support for PPP
86#options  PPP_DEFLATE         # Deflate compression support for PPP
87#options  PPP_FILTER          # Active filter support for PPP (requires bpf)
88
89# JIT compiler for bpfilter
90#options  SLJIT
91#options  BPFJIT
92
93# These options enable verbose messages for several subsystems.
94# Warning, these may compile large string tables into the kernel!
95#options  MIIVERBOSE          # verbose PHY autoconfig messages
96#options  PCIVERBOSE          # verbose PCI device autoconfig messages
97#options  PCI_CONFIG_DUMP     # verbosely dump PCI config space
98#options  SCSIVERBOSE         # human readable SCSI error messages
99#options  USBVERBOSE          # verbose USB device autoconfig messages
100
101options   NFS_BOOT_DHCP
102
103# Pretty much only one device to use for the root file system.
104config              netbsd              root on ? type ?
105
106mainbus0  at root
107
108cpu0                at mainbus?
109
110# Network pseudo-devices
111pseudo-device       bpfilter                      # Berkeley packet filter
112pseudo-device       carp                                    # Common Address Redundancy Protocol
113pseudo-device       loop                                    # network loopback
114#pseudo-device      ppp                                     # Point-to-Point Protocol
115#pseudo-device      sl                                      # Serial Line IP
116#pseudo-device      tun                                     # network tunneling over tty
117#pseudo-device      gre                                     # generic L3 over IP tunnel
118#pseudo-device      ipip                                    # RFC 2003 IP Encapsulation
119#pseudo-device      gif                                     # RFC1933 tunnel
120#pseudo-device      faith                                   # IPv[46] tcp relay translation
121# Miscellaneous pseudo-devices
122pseudo-device       pty                                     # pseudo-terminals
123#pseudo-device      sequencer                     # MIDI sequencer
124
125# A pseudo device needed for Coda                 # also needs CODA (above)
126#pseudo-device      vcoda                                   # coda minicache <-> venus comm.
127pseudo-device       ksyms
128
129obio*               at mainbus?
130gpio*               at mainbus?
131extio*              at mainbus?
132uart*               at obio? addr ?
133admsw*              at obio? addr ?
134#admflash*          at obio? addr ?
135#options  VND_COMPRESSION
136
137include "dev/veriexec.config"
138