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