TWRP1025 revision 1.22 1 # $NetBSD: TWRP1025,v 1.22 2017/02/19 07:47:00 rin Exp $
2 #
3 # TWRP1025 -- 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 "TWRP1025-$Revision: 1.22 $"
11
12 maxusers 32
13
14 makeoptions NEED_BINARY="yes"
15 makeoptions NEED_UBOOTIMAGE="yes"
16
17 #options UVMHIST
18 #options UVMHIST_PRINT
19
20 options P1025
21 options SYS_CLK=66666667
22 #options HZ=1000
23
24 #options INSECURE # disable kernel security levels
25 #options NTP # NTP phase/frequency locked loop
26 options KTRACE # system call tracing via ktrace(1)
27 options MODULAR # new style module(7) framework
28 options MODULAR_DEFAULT_AUTOLOAD
29
30 options SYSVMSG # System V message queues
31 options SYSVSEM # System V semaphores
32 options SYSVSHM # System V shared memory
33
34 options USERCONF # userconf(4) support
35 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
36 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
37
38 # Diagnostic/debugging support options
39 options DIAGNOSTIC # cheap kernel consistency checks
40 options DEBUG # expensive debugging checks/support
41 #options SYSCALL_DEBUG # syscall debugging
42 options DDB # in-kernel debugger
43 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
44 options TRAP_PANICWAIT
45 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
46
47 makeoptions DEBUG="-g" # compile full symbol table
48
49 # Compatibility options
50 #options COMPAT_09 # NetBSD 0.9,
51 #options COMPAT_10 # NetBSD 1.0,
52 #options COMPAT_11 # NetBSD 1.1,
53 #options COMPAT_12 # NetBSD 1.2,
54 options COMPAT_13 # NetBSD 1.3,
55 options COMPAT_14 # NetBSD 1.4,
56 options COMPAT_15 # NetBSD 1.5,
57 options COMPAT_16 # NetBSD 1.6,
58 options COMPAT_20 # NetBSD 2.0,
59 options COMPAT_30 # NetBSD 3.0,
60 options COMPAT_40 # NetBSD 4.0,
61 options COMPAT_50 # NetBSD 5.0,
62 options COMPAT_60 # NetBSD 6.0, and
63 options COMPAT_70 # NetBSD 7.0 binary compatibility.
64 options COMPAT_43 # and 4.3BSD
65 #options COMPAT_386BSD_MBRPART # recognize old partition ID
66 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
67 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
68
69 # Wedge support
70 options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
71 options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
72
73 # File systems
74 file-system FFS # UFS
75 file-system EXT2FS # second extended file system (linux)
76 file-system LFS # log-structured file system
77 file-system MFS # memory file system
78 file-system NFS # Network File System client
79 file-system CD9660 # ISO 9660 + Rock Ridge file system
80 file-system MSDOSFS # MS-DOS file system
81 #file-system FDESC # /dev/fd
82 file-system TMPFS # efficient memory file system
83 file-system KERNFS # /kern
84 file-system NULLFS # loopback file system
85 #file-system OVERLAY # overlay file system
86 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
87 file-system PROCFS # /proc
88 #file-system UMAPFS # NULLFS + uid and gid remapping
89 #file-system UNION # union file system
90 file-system PTYFS # /dev/pts/N support
91
92 # File system options
93 options QUOTA # legacy UFS quotas
94 options QUOTA2 # new, in-filesystem UFS quotas
95 #options DISKLABEL_EI # disklabel Endian Independent support
96 options FFS_EI # FFS Endian Independent support
97 options WAPBL # File system journaling support
98 options NFSSERVER # Network File System server
99 #options FFS_NO_SNAPSHOT # No FFS snapshot support
100 options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
101 # immutable) behave as system flags.
102
103 options NFS_BOOT_DHCP # Support DHCP NFS root
104
105 # Networking options
106 #options GATEWAY # packet forwarding
107 options INET # IP + ICMP + TCP + UDP
108 options INET_CSUM_COUNTERS
109 options TCP_CSUM_COUNTERS
110 options UDP_CSUM_COUNTERS
111 options INET6 # IPV6
112 #options IPSEC # IP security
113 #options IPSEC_DEBUG # debug for IP security
114 #options MROUTING # IP multicast routing
115 #options PIM # Protocol Independent Multicast
116 #options DIRECTED_BROADCAST # allow broadcasts through routers
117 #options NETATALK # AppleTalk networking protocols
118 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
119 #options PPP_DEFLATE # Deflate compression support for PPP
120 #options PPP_FILTER # Active filter support for PPP (requires bpf)
121 #options IPFILTER_LOG # ipmon(8) log support
122 #options IPFILTER_LOOKUP # ippool(8) support
123 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
124
125 # These options enable verbose messages for several subsystems.
126 # Warning, these may compile large string tables into the kernel!
127 options PCIVERBOSE # verbose PCI device autoconfig messages
128 options MIIVERBOSE # verbose PHY autoconfig messages
129 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
130 options SCSIVERBOSE # human readable SCSI error messages
131 #options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices
132 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
133
134 # wscons options
135 #options WSEMUL_SUN # sun terminal emulation
136 #options WSEMUL_VT100 # VT100 / VT220 emulation
137 #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
138
139 # Kernel root file system and dump configuration.
140 config netbsd root on ? type ?
141 config netbsd-ld0a root on ld0a type ffs
142 config netbsd-sd0a root on sd0a type ffs
143 config nfsnetbsd root on tsec0 type nfs
144
145 #
146 # Device configuration
147 #
148
149 mainbus0 at root # Processor Local Bus
150
151 cpunode* at mainbus? node ?
152 gpio* at gpiobus?
153
154 cpu* at cpunode?
155
156 obio0 at cpunode? # On-chip Peripheral Bus
157 #nandfcm* at obio0 cs ? # nand flash
158 #nand* at nandfcm?
159 #flash* at nand?
160
161 # NOR Flash
162 #options NOR_VERBOSE
163 cfi0 at obio0 cs 0
164 nor* at cfi?
165 flash* at nor? offset 0 size 0x4000000
166
167 e500wdog* at cpunode? # Watchdog timer
168
169 ddrc* at cpunode?
170 duart* at cpunode?
171 com* at duart? port ?
172 options CONSADDR="DUART1_BASE"
173
174 mdio0 at cpunode? instance 1
175 tsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
176 tsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
177 atphy* at mii?
178 ukphy* at mii?
179 #options ETSEC_EVENT_COUNTERS
180
181 diic* at cpunode? # i2c bus
182 iic* at diic?
183 #dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339
184
185 pq3pcie* at cpunode? # PCI-Express controller
186 pci* at pq3pcie?
187
188 ppb* at pci? dev ? function ? # PCI-PCI bridges
189 pci* at ppb?
190
191 ahcisata* at pci? dev ? function ?
192 atabus* at ahcisata? channel ?
193 wd* at atabus? drive ?
194
195 ehci* at cpunode? # usb
196 usb* at ehci?
197 uhub* at usb?
198 uhub* at uhub? port ?
199 umass* at uhub? port ?
200 scsibus* at umass? channel ?
201 sd* at scsibus? target ? lun ?
202
203 #options SDHC_DEBUG
204 #options SDMMC_DEBUG
205 sdhc* at cpunode? # sdmmc
206 sdmmc* at sdhc? # SD/MMC bus
207 ld* at sdmmc?
208
209 #siisata* at pci? dev ? function ?
210 #atabus* at siisata? channel ?
211 #jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers
212 #ahcisata* at jmide?
213 #atabus* at ahcisata? channel ?
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 #inphy* at mii? phy ? # Intel 82555 PHYs
222 #iophy* at mii? phy ? # Intel 82553 PHYs
223 #makphy* at mii? phy ? # Marvell PHYs
224 #ukphy* at mii? phy ? # generic unknown PHYs
225
226 pseudo-device loop # network loopback
227 pseudo-device bpfilter # packet filter
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 pseudo-device vlan # 802.1Q VLANs
234 pseudo-device lockstat # lock profiling
235
236 cinclude "arch/evbppc/conf/TWRP1025.local"
237