1 1.24 mrg # $NetBSD: TWRP1025,v 1.24 2017/09/14 07:58:40 mrg 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.24 mrg ident "TWRP1025-$Revision: 1.24 $" 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.1 matt # Diagnostic/debugging support options 39 1.1 matt options DIAGNOSTIC # cheap kernel consistency checks 40 1.1 matt options DEBUG # expensive debugging checks/support 41 1.1 matt #options SYSCALL_DEBUG # syscall debugging 42 1.1 matt options DDB # in-kernel debugger 43 1.1 matt options DDB_HISTORY_SIZE=512 # enable history editing in DDB 44 1.1 matt options TRAP_PANICWAIT 45 1.16 joerg makeoptions COPY_SYMTAB=1 # size for embedded symbol table 46 1.1 matt 47 1.1 matt makeoptions DEBUG="-g" # compile full symbol table 48 1.1 matt 49 1.1 matt # Compatibility options 50 1.24 mrg include "conf/compat_netbsd13.config" 51 1.1 matt #options COMPAT_386BSD_MBRPART # recognize old partition ID 52 1.3 matt 53 1.3 matt # Wedge support 54 1.3 matt options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 55 1.3 matt options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 56 1.1 matt 57 1.1 matt # File systems 58 1.1 matt file-system FFS # UFS 59 1.1 matt file-system EXT2FS # second extended file system (linux) 60 1.1 matt file-system LFS # log-structured file system 61 1.1 matt file-system MFS # memory file system 62 1.1 matt file-system NFS # Network File System client 63 1.1 matt file-system CD9660 # ISO 9660 + Rock Ridge file system 64 1.1 matt file-system MSDOSFS # MS-DOS file system 65 1.1 matt #file-system FDESC # /dev/fd 66 1.1 matt file-system TMPFS # efficient memory file system 67 1.1 matt file-system KERNFS # /kern 68 1.1 matt file-system NULLFS # loopback file system 69 1.1 matt #file-system OVERLAY # overlay file system 70 1.1 matt #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 71 1.1 matt file-system PROCFS # /proc 72 1.1 matt #file-system UMAPFS # NULLFS + uid and gid remapping 73 1.1 matt #file-system UNION # union file system 74 1.1 matt file-system PTYFS # /dev/pts/N support 75 1.1 matt 76 1.1 matt # File system options 77 1.1 matt options QUOTA # legacy UFS quotas 78 1.1 matt options QUOTA2 # new, in-filesystem UFS quotas 79 1.22 rin #options DISKLABEL_EI # disklabel Endian Independent support 80 1.1 matt options FFS_EI # FFS Endian Independent support 81 1.1 matt options WAPBL # File system journaling support 82 1.1 matt options NFSSERVER # Network File System server 83 1.1 matt #options FFS_NO_SNAPSHOT # No FFS snapshot support 84 1.1 matt options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 85 1.1 matt # immutable) behave as system flags. 86 1.1 matt 87 1.1 matt options NFS_BOOT_DHCP # Support DHCP NFS root 88 1.1 matt 89 1.1 matt # Networking options 90 1.1 matt #options GATEWAY # packet forwarding 91 1.1 matt options INET # IP + ICMP + TCP + UDP 92 1.1 matt options INET_CSUM_COUNTERS 93 1.1 matt options TCP_CSUM_COUNTERS 94 1.1 matt options UDP_CSUM_COUNTERS 95 1.19 nonaka options INET6 # IPV6 96 1.1 matt #options IPSEC # IP security 97 1.1 matt #options IPSEC_DEBUG # debug for IP security 98 1.1 matt #options MROUTING # IP multicast routing 99 1.1 matt #options PIM # Protocol Independent Multicast 100 1.1 matt #options DIRECTED_BROADCAST # allow broadcasts through routers 101 1.1 matt #options NETATALK # AppleTalk networking protocols 102 1.1 matt #options PPP_BSDCOMP # BSD-Compress compression support for PPP 103 1.1 matt #options PPP_DEFLATE # Deflate compression support for PPP 104 1.1 matt #options PPP_FILTER # Active filter support for PPP (requires bpf) 105 1.1 matt #options IPFILTER_LOG # ipmon(8) log support 106 1.1 matt #options IPFILTER_LOOKUP # ippool(8) support 107 1.1 matt #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 108 1.1 matt 109 1.1 matt # These options enable verbose messages for several subsystems. 110 1.1 matt # Warning, these may compile large string tables into the kernel! 111 1.1 matt options PCIVERBOSE # verbose PCI device autoconfig messages 112 1.1 matt options MIIVERBOSE # verbose PHY autoconfig messages 113 1.1 matt #options PCI_CONFIG_DUMP # verbosely dump PCI config space 114 1.1 matt options SCSIVERBOSE # human readable SCSI error messages 115 1.1 matt #options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices 116 1.1 matt #options PCI_CONFIGURE_VERBOSE # Show PCI config information 117 1.1 matt 118 1.1 matt # wscons options 119 1.1 matt #options WSEMUL_SUN # sun terminal emulation 120 1.1 matt #options WSEMUL_VT100 # VT100 / VT220 emulation 121 1.7 abs #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 122 1.1 matt 123 1.1 matt # Kernel root file system and dump configuration. 124 1.1 matt config netbsd root on ? type ? 125 1.14 joerg config netbsd-ld0a root on ld0a type ffs 126 1.1 matt config netbsd-sd0a root on sd0a type ffs 127 1.1 matt config nfsnetbsd root on tsec0 type nfs 128 1.1 matt 129 1.1 matt # 130 1.1 matt # Device configuration 131 1.1 matt # 132 1.1 matt 133 1.1 matt mainbus0 at root # Processor Local Bus 134 1.1 matt 135 1.1 matt cpunode* at mainbus? node ? 136 1.1 matt gpio* at gpiobus? 137 1.1 matt 138 1.1 matt cpu* at cpunode? 139 1.1 matt 140 1.1 matt obio0 at cpunode? # On-chip Peripheral Bus 141 1.1 matt #nandfcm* at obio0 cs ? # nand flash 142 1.1 matt #nand* at nandfcm? 143 1.1 matt #flash* at nand? 144 1.1 matt 145 1.1 matt # NOR Flash 146 1.1 matt #options NOR_VERBOSE 147 1.1 matt cfi0 at obio0 cs 0 148 1.1 matt nor* at cfi? 149 1.4 matt flash* at nor? offset 0 size 0x4000000 150 1.1 matt 151 1.1 matt e500wdog* at cpunode? # Watchdog timer 152 1.1 matt 153 1.1 matt ddrc* at cpunode? 154 1.1 matt duart* at cpunode? 155 1.1 matt com* at duart? port ? 156 1.3 matt options CONSADDR="DUART1_BASE" 157 1.1 matt 158 1.5 matt mdio0 at cpunode? instance 1 159 1.5 matt tsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller 160 1.5 matt tsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller 161 1.5 matt atphy* at mii? 162 1.1 matt ukphy* at mii? 163 1.1 matt #options ETSEC_EVENT_COUNTERS 164 1.1 matt 165 1.1 matt diic* at cpunode? # i2c bus 166 1.1 matt iic* at diic? 167 1.1 matt #dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339 168 1.1 matt 169 1.1 matt pq3pcie* at cpunode? # PCI-Express controller 170 1.1 matt pci* at pq3pcie? 171 1.1 matt 172 1.1 matt ppb* at pci? dev ? function ? # PCI-PCI bridges 173 1.1 matt pci* at ppb? 174 1.1 matt 175 1.1 matt ahcisata* at pci? dev ? function ? 176 1.1 matt atabus* at ahcisata? channel ? 177 1.1 matt wd* at atabus? drive ? 178 1.1 matt 179 1.1 matt ehci* at cpunode? # usb 180 1.1 matt usb* at ehci? 181 1.1 matt uhub* at usb? 182 1.1 matt uhub* at uhub? port ? 183 1.1 matt umass* at uhub? port ? 184 1.1 matt scsibus* at umass? channel ? 185 1.1 matt sd* at scsibus? target ? lun ? 186 1.1 matt 187 1.5 matt #options SDHC_DEBUG 188 1.5 matt #options SDMMC_DEBUG 189 1.1 matt sdhc* at cpunode? # sdmmc 190 1.1 matt sdmmc* at sdhc? # SD/MMC bus 191 1.1 matt ld* at sdmmc? 192 1.1 matt 193 1.1 matt #siisata* at pci? dev ? function ? 194 1.1 matt #atabus* at siisata? channel ? 195 1.1 matt #jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers 196 1.1 matt #ahcisata* at jmide? 197 1.1 matt #atabus* at ahcisata? channel ? 198 1.1 matt 199 1.1 matt #viaide* at pci? dev ? function ? 200 1.1 matt #atabus* at viaide? channel ? 201 1.1 matt #wd* at atabus? drive ? 202 1.1 matt #rtk* at pci? dev ? function ? 203 1.1 matt #wm* at pci? dev ? function ? # Intel Ethernet 204 1.1 matt 205 1.1 matt #inphy* at mii? phy ? # Intel 82555 PHYs 206 1.1 matt #iophy* at mii? phy ? # Intel 82553 PHYs 207 1.1 matt #makphy* at mii? phy ? # Marvell PHYs 208 1.1 matt #ukphy* at mii? phy ? # generic unknown PHYs 209 1.1 matt 210 1.1 matt pseudo-device loop # network loopback 211 1.1 matt pseudo-device bpfilter # packet filter 212 1.1 matt pseudo-device clockctl # user control of clock subsystem 213 1.6 matt pseudo-device drvctl # user control of drive subsystem 214 1.1 matt pseudo-device ksyms # /dev/ksyms 215 1.1 matt pseudo-device pty # pseudo-terminals 216 1.1 matt pseudo-device kttcp # kernel ttcp 217 1.1 matt pseudo-device vlan # 802.1Q VLANs 218 1.20 nonaka pseudo-device lockstat # lock profiling 219 1.21 matt 220 1.24 mrg cinclude "arch/evbppc/conf/TWRP1025.local" 221