1 # $NetBSD: RB800,v 1.41 2024/01/29 18:27:12 christos Exp $ 2 # 3 # RB800 -- everything that's currently supported 4 # 5 6 include "arch/evbppc/conf/std.mpc85xx" 7 8 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10 ident "RB800-$Revision: 1.41 $" 11 12 maxusers 32 13 14 #options UVMHIST 15 #options UVMHIST_PRINT 16 17 options MPC8544 18 options PPC_HAVE_SPE 19 no options GUR_BASE 20 options GUR_BASE=0xe0000000 21 options ROUTERBOOT 22 23 options PAX_ASLR=0 24 25 #options INSECURE # disable kernel security levels 26 #options NTP # NTP phase/frequency locked loop 27 options KTRACE # system call tracing via ktrace(1) 28 29 options SYSVMSG # System V message queues 30 options SYSVSEM # System V semaphores 31 options SYSVSHM # System V shared memory 32 33 options MODULAR # new style module(7) framework 34 options MODULAR_DEFAULT_AUTOLOAD 35 36 options USERCONF # userconf(4) support 37 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 40 # Alternate buffer queue strategies for better responsiveness under high 41 # disk I/O load. 42 #options BUFQ_READPRIO 43 options BUFQ_PRIOCSCAN 44 45 # Diagnostic/debugging support options 46 #options VERBOSE_INITPPC 47 options DIAGNOSTIC # cheap kernel consistency checks 48 options DEBUG # expensive debugging checks/support 49 #options SYSCALL_DEBUG # syscall debugging 50 options DDB # in-kernel debugger 51 options DDB_HISTORY_SIZE=512 # enable history editing in DDB 52 options TRAP_PANICWAIT 53 makeoptions COPY_SYMTAB=1 # size for embedded symbol table 54 55 makeoptions DEBUG="-g" # compile full symbol table 56 57 # Compatibility options 58 include "conf/compat_netbsd13.config" 59 #options COMPAT_386BSD_MBRPART # recognize old partition ID 60 61 # Wedge support 62 options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 63 options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 64 65 # File systems 66 file-system FFS # UFS 67 file-system EXT2FS # second extended file system (linux) 68 file-system LFS # log-structured file system 69 file-system MFS # memory file system 70 file-system NFS # Network File System client 71 file-system CD9660 # ISO 9660 + Rock Ridge file system 72 file-system MSDOSFS # MS-DOS file system 73 #file-system FDESC # /dev/fd 74 file-system TMPFS # efficient memory file system 75 file-system KERNFS # /kern 76 file-system NULLFS # loopback file system 77 #file-system OVERLAY # overlay file system 78 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 79 file-system PROCFS # /proc 80 #file-system UMAPFS # NULLFS + uid and gid remapping 81 #file-system UNION # union file system 82 file-system PTYFS # /dev/pts/N support 83 84 # File system options 85 options FFS_EI # FFS Endian Independent support 86 #options FFS_NO_SNAPSHOT # No FFS snapshot support 87 options QUOTA # legacy UFS quotas 88 options QUOTA2 # new, in-filesystem UFS quotas 89 options UFS_DIRHASH # UFS Large Directory Hashing 90 #options UFS_EXTATTR # Extended attribute support for UFS1 91 options WAPBL # File system journaling support 92 #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 93 #options DISKLABEL_EI # disklabel Endian Independent support 94 options NFSSERVER # Network File System server 95 96 options NFS_BOOT_BOOTP # Support BOOTP NFS root 97 #options NFS_BOOT_DHCP # Support DHCP NFS root 98 99 # Networking options 100 #options GATEWAY # packet forwarding 101 options INET # IP + ICMP + TCP + UDP 102 options INET_CSUM_COUNTERS 103 options TCP_CSUM_COUNTERS 104 options UDP_CSUM_COUNTERS 105 #options INET6 # IPV6 106 #options IPSEC # IP security 107 #options IPSEC_DEBUG # debug for IP security 108 #options MROUTING # IP multicast routing 109 #options PIM # Protocol Independent Multicast 110 #options NETATALK # AppleTalk networking protocols 111 #options PPP_BSDCOMP # BSD-Compress compression support for PPP 112 #options PPP_DEFLATE # Deflate compression support for PPP 113 #options PPP_FILTER # Active filter support for PPP (requires bpf) 114 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 115 116 # These options enable verbose messages for several subsystems. 117 # Warning, these may compile large string tables into the kernel! 118 options PCIVERBOSE # verbose PCI device autoconfig messages 119 options MIIVERBOSE # verbose PHY autoconfig messages 120 #options PCI_CONFIG_DUMP # verbosely dump PCI config space 121 options SCSIVERBOSE # human readable SCSI error messages 122 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 123 options PCI_CONFIGURE_VERBOSE # Show PCI config information 124 125 # wscons options 126 #options WSEMUL_SUN # sun terminal emulation 127 #options WSEMUL_VT100 # VT100 / VT220 emulation 128 #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 129 130 # Kernel root file system and dump configuration. 131 config netbsd root on ? type ? 132 config nfsnetbsd root on tsec1 type nfs 133 134 # 135 # Device configuration 136 # 137 138 mainbus0 at root # Processor Local Bus 139 140 cpunode* at mainbus? node ? 141 142 cpu0 at cpunode? 143 144 obio0 at cpunode? # On-chip Peripheral Bus 145 #ds1553rtc0 at obio0 addr 0xf8000000 size 8192 146 #wdc0 at obio0 cs 2 147 #atabus* at wdc? 148 #wd* at atabus? 149 gpio* at gpiobus? 150 151 # NOR Flash 152 #options NOR_VERBOSE 153 cfi0 at obio0 cs 0 154 nor* at cfi? 155 flash* at nor? offset 0 size 0x1000000 156 157 e500wdog* at cpunode? # Watchdog timer 158 159 duart* at cpunode? 160 com* at duart? port ? 161 options CONSPEED=115200 162 options CONSADDR="DUART1_BASE" 163 164 tsec0 at cpunode? phy 2 # 3-Speed Ethernet Controller (phy 2) 165 mdio0 at tsec0 166 tsec1 at cpunode? mdio 0 phy 1 # 3-Speed Ethernet Controller (phy 1) 167 atphy* at mii? # Attansic PHY 168 ukphy* at mii? 169 #options TSEC_EVENT_COUNTERS 170 171 diic* at cpunode? # i2c bus 172 iic* at diic? 173 #lm* at iic? addr 0x48 174 #lm* at iic? addr 0x49 175 #lm* at iic? addr 0x4a 176 #lm* at iic? addr 0x4b 177 #lm* at iic? addr 0x4c 178 #lm* at iic? addr 0x4d 179 #lm* at iic? addr 0x4e 180 #lm* at iic? addr 0x4f 181 182 options PCI_MEMBASE=0xa0000000,PCI_MEMSIZE=0x04000000 183 options PCI_IOBASE=0xb0000000,PCI_IOSIZE=0x00100000 184 pq3pcie* at cpunode? # PCI-Express controller 185 pq3pci* at cpunode? # PCI(X) 186 pci* at pq3pcie? 187 pci* at pq3pci? 188 189 ppb* at pci? dev ? function ? # PCI-PCI bridges 190 pci* at ppb? 191 192 alc* at pci? dev ? function ? 193 194 # NVM Express controllers and devices 195 nvme* at pci? dev ? function ? 196 ld* at nvme? nsid ? 197 198 ahcisata* at pci? dev ? function ? # AHCI SATA controllers 199 atabus* at ahcisata? channel ? 200 201 #ehci* at pci? dev ? function ? 202 #ohci* at pci? dev ? function ? 203 #uhci* at pci? dev ? function ? 204 #usb* at ehci? 205 #usb* at ohci? 206 #usb* at uhci? 207 #uhub* at usb? 208 #umass* at uhub? port ? 209 #scsibus* at umass? channel ? 210 211 arcmsr* at pci? dev ? function ? 212 scsibus* at arcmsr? 213 sd* at scsibus? target ? lun ? 214 215 viaide* at pci? dev ? function ? 216 atabus* at viaide? channel ? 217 wd* at atabus? drive ? 218 #rtk* at pci? dev ? function ? 219 wm* at pci? dev ? function ? # Intel Ethernet 220 221 makphy* at mii? phy ? # Marvell PHYs 222 ukphy* at mii? phy ? # generic unknown PHYs 223 224 pseudo-device md # memory disk device 225 pseudo-device loop # network loopback 226 pseudo-device bpfilter # packet filter 227 pseudo-device carp # Common Address Redundancy Protocol 228 pseudo-device clockctl # user control of clock subsystem 229 pseudo-device drvctl # user control of drive subsystem 230 pseudo-device ksyms # /dev/ksyms 231 pseudo-device pty # pseudo-terminals 232 pseudo-device kttcp # kernel ttcp 233 234 include "dev/veriexec.config" 235