OPENBLOCKS_AX3 revision 1.5 1 # $NetBSD: OPENBLOCKS_AX3,v 1.5 2013/12/23 02:37:35 kiyohara Exp $
2 #
3 # OPENBLOCKS_AX3 -- Plat'Home. OpenBlockS AX3 kernel
4 #
5
6 include "arch/evbarm/conf/std.marvell"
7
8 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # Board Type
15 makeoptions BOARDTYPE="openblocks_ax3"
16 options EVBARM_BOARDTYPE=openblocks_ax3
17
18 # CPU options
19 options CPU_PJ4B
20 options L2CACHE_ENABLE
21 #options AURORA_IO_CACHE_COHERENCY
22 options AURORA_L2_PT_WALK
23 options ARM_HAS_VBAR
24 makeoptions CPUFLAGS="-march=armv7-a -msoft-float"
25
26 # Architecture options
27 options ARMADAXP
28
29 options PIC_MAXSOURCES=128
30
31 # Standard system options
32
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 options NTP # NTP phase/frequency locked loop
35
36 # File systems
37
38 file-system FFS # UFS
39 file-system EXT2FS # second extended file system (linux)
40 #file-system LFS # log-structured file system
41 #file-system MFS # memory file system
42 file-system NFS # Network file system
43 file-system CD9660 # ISO 9660 + Rock Ridge file system
44 file-system MSDOSFS # MS-DOS file system
45 #file-system FDESC # /dev/fd
46 file-system KERNFS # /kern
47 file-system NULLFS # loopback file system
48 file-system PROCFS # /proc
49 file-system PTYFS # /dev/pts/N support
50 #file-system PUFFS # Pass-to-Userspace Framework File System
51 #file-system UMAPFS # NULLFS + uid and gid remapping
52 file-system UNION # union file system
53 file-system TMPFS # Efficient memory file-system
54
55 # File system options
56 #options QUOTA # legacy UFS quotas
57 #options QUOTA2 # new, in-filesystem UFS quotas
58 options FFS_EI # FFS Endian Independent support
59 options NFSSERVER # Network File System server
60 options WAPBL # File system journaling support
61 #options FFS_NO_SNAPSHOT # No FFS snapshot support
62
63 # Networking options
64
65 options GATEWAY # packet forwarding
66 options INET # IP + ICMP + TCP + UDP
67 options INET6 # IPv6
68 options IPSEC # IP security
69 #options IPSEC_DEBUG # debug for IP security
70 options MROUTING # IP multicast routing
71 options PIM # Protocol Independent Multicast
72 options NETATALK # AppleTalk networking protocols
73 options PPP_BSDCOMP # BSD-Compress compression support for PPP
74 options PPP_DEFLATE # Deflate compression support for PPP
75 options PPP_FILTER # Active filter support for PPP (requires bpf)
76 options IPFILTER_LOG # ipmon(8) log support
77 options IPFILTER_LOOKUP # ippool(8) support
78 options IPFILTER_COMPAT # Compat for IP-Filter
79 options IPFILTER_DEFAULT_BLOCK # block all packets by default
80 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
81
82 #options NFS_BOOT_BOOTP
83 options NFS_BOOT_DHCP
84 #options NFS_BOOT_BOOTPARAM
85
86 #options NFS_BOOT_RWSIZE=1024
87
88 # Compatibility options
89
90 #options COMPAT_09 # NetBSD 0.9 compatibility.
91 #options COMPAT_10 # NetBSD 1.0 compatibility.
92 #options COMPAT_11 # NetBSD 1.1 compatibility.
93 #options COMPAT_12 # NetBSD 1.2 compatibility.
94 #options COMPAT_13 # NetBSD 1.3 compatibility.
95 #options COMPAT_14 # NetBSD 1.4 compatibility.
96 #options COMPAT_15 # NetBSD 1.5 compatibility.
97 #options COMPAT_16 # NetBSD 1.6 compatibility.
98 #options COMPAT_20 # NetBSD 2.0 compatibility.
99 #options COMPAT_30 # NetBSD 3.0 compatibility.
100 #options COMPAT_40 # NetBSD 4.0 compatibility.
101 options COMPAT_50 # NetBSD 5.0 compatibility.
102 options COMPAT_60 # NetBSD 6.0 compatibility.
103 #options COMPAT_43 # 4.3BSD compatibility.
104 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
105
106 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
107 options COMPAT_LINUX # binary compatibility with Linux
108 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
109
110 # Shared memory options
111
112 options SYSVMSG # System V-like message queues
113 options SYSVSEM # System V-like semaphores
114 #options SEMMNI=10 # number of semaphore identifiers
115 #options SEMMNS=60 # number of semaphores in system
116 #options SEMUME=10 # max number of undo entries per process
117 #options SEMMNU=30 # number of undo structures in system
118 options SYSVSHM # System V-like memory sharing
119
120 # Device options
121
122 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
123 #options MEMORY_DISK_IS_ROOT # use memory disk as root
124 #options MEMORY_DISK_DYNAMIC
125 #options MINIROOTSIZE=1000 # Size in blocks
126 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
127 #options MEMORY_RBFLAGS=RB_AUTOBOOT
128
129 # Miscellaneous kernel options
130
131 #options KTRACE # system call tracing, a la ktrace(1)
132 options IRQSTATS # manage IRQ statistics
133 #options KMEMSTATS # kernel memory statistics
134 #options MIIVERBOSE # Verbose MII auto configuration messages
135 #options PCIVERBOSE # Verbose PCI descriptions
136 #options SCSIVERBOSE # Verbose SCSI errors
137 options USBVERBOSE # Verbose USB device auto configuration messages
138 #options DDB_KEYCODE=0x40
139 #options USERCONF # userconf(4) support
140 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
141 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
142
143 # Development and Debugging options
144
145 #options PERFCTRS # performance counters
146 options DIAGNOSTIC # internally consistency checks
147 options DEBUG
148 #options PMAP_DEBUG # Enable pmap_debug_level code
149 #options VERBOSE_INIT_ARM # verbose bootstraping messages
150 options DDB # in-kernel debugger
151 options DDB_ONPANIC=1
152 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
153 #options KGDB
154 #options DEBUG_KGDB
155 makeoptions DEBUG="-g" # compile full symbol table
156 options SYMTAB_SPACE=800000
157
158 config netbsd root on ? type ?
159
160 # The main bus device
161 mainbus0 at root
162
163 # The boot cpu
164 cpu0 at mainbus?
165
166 # Marvell MV88F78260 ARMADA XP System-on-chip
167 mvsoc0 at mainbus?
168 options MVSOC_FIXUP_DEVID=0x7826
169
170 # On-chip Serial-ATA II Host Controller (SATAHC)
171 mvsata* at mvsoc? offset ? irq ?
172
173 # On-chip Gigabit Ethernet Controller Interface
174 mvgbec* at mvsoc? offset ?
175 mvgbe* at mvgbec? port ? irq ?
176 makphy* at mii? phy ?
177
178 # On-chip USB 2.0 Interface
179 ehci0 at mvsoc? offset ? irq ?
180 ehci1 at mvsoc? offset ? irq ?
181
182 # Serial Peripheral Interface (SPI)
183 #mvspi* at mvsoc? offset ? irq ?
184 #spi* at mvspi?
185
186 # On-chip Two-Wire Serial Interface (TWSI)
187 gttwsi* at mvsoc? offset ? irq ?
188 iic* at gttwsi?
189 s390rtc* at iic1 addr 0x30
190
191 # On-chip UART Interface
192 com* at mvsoc? offset ? irq ?
193 options COM_16750 # XXXX: required
194 #options COM_DEBUG
195
196 # On-chip PCI Express Interface
197 mvpex* at mvsoc? offset ? irq ?
198
199 # On-chip IDMA Controller
200 gtidmac* at mvsoc? offset ? irq ?
201
202 # On-chip SD/MMC Interface
203 mvsdio* at mvsoc? offset ? irq ?
204 sdmmc* at mvsdio?
205
206 # On-chip Timers
207 mvsoctmr* at mvsoc? offset ? irq ?
208
209
210 # PCI bus support
211 options PCI_NETBSD_CONFIGURE
212 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
213 pci* at mvpex?
214 pchb* at pci? dev ? function ? # PCI-Host bridges
215
216 # ATA (IDE) bus support
217 atabus* at ata?
218 #options ATADEBUG
219
220 # IDE drives
221 wd* at atabus? drive ? flags 0x0000
222
223 # ATAPI bus support
224 atapibus* at atapi?
225
226 # ATAPI devices
227 # flags have the same meaning as for IDE drives.
228 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
229 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
230
231 # USB bus support
232 usb* at ehci?
233
234 # USB Hubs
235 uhub* at usb?
236 uhub* at uhub? port ?
237
238 # USB Mass Storage
239 umass* at uhub? port ? configuration ? interface ?
240 wd* at umass?
241 scsibus* at scsi?
242 sd* at scsibus? target ? lun ? # SCSI disk drives
243 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
244
245 # USB Generic driver
246 ugen* at uhub? port ?
247
248 ld* at sdmmc?
249
250
251 # Pseudo-Devices
252
253 pseudo-device crypto # /dev/crypto device
254 pseudo-device swcrypto # software crypto implementation
255
256 # disk/mass storage pseudo-devices
257 #pseudo-device bio # RAID control device driver
258 #pseudo-device ccd # concatenated/striped disk devices
259 #pseudo-device cgd # cryptographic disk devices
260 #pseudo-device raid # RAIDframe disk driver
261 #options RAID_AUTOCONFIG # auto-configuration of RAID components
262 # Options to enable various other RAIDframe RAID types.
263 #options RF_INCLUDE_EVENODD=1
264 #options RF_INCLUDE_RAID5_RS=1
265 #options RF_INCLUDE_PARITYLOGGING=1
266 #options RF_INCLUDE_CHAINDECLUSTER=1
267 #options RF_INCLUDE_INTERDECLUSTER=1
268 #options RF_INCLUDE_PARITY_DECLUSTERING=1
269 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
270 #pseudo-device fss # file system snapshot device
271 #pseudo-device putter # for puffs and pud
272
273 #pseudo-device md # memory disk device (ramdisk)
274 pseudo-device vnd # disk-like interface to files
275 options VND_COMPRESSION # compressed vnd(4)
276
277 # network pseudo-devices
278 pseudo-device bpfilter # Berkeley packet filter
279 #pseudo-device carp # Common Address Redundancy Protocol
280 pseudo-device ipfilter # IP filter (firewall) and NAT
281 pseudo-device loop # network loopback
282 pseudo-device ppp # Point-to-Point Protocol
283 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
284 pseudo-device sl # Serial Line IP
285 #pseudo-device strip # Starmode Radio IP (Metricom)
286 #pseudo-device irframetty # IrDA frame line discipline
287 pseudo-device tap # virtual Ethernet
288 pseudo-device tun # network tunneling over tty
289 pseudo-device gre # generic L3 over IP tunnel
290 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
291 pseudo-device faith # IPv[46] TCP relay translation i/f
292 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
293 pseudo-device vlan # IEEE 802.1q encapsulation
294 pseudo-device bridge # simple inter-network bridging
295 options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
296 pseudo-device agr # IEEE 802.3ad link aggregation
297 pseudo-device pf # PF packet filter
298 pseudo-device pflog # PF log if
299
300 # miscellaneous pseudo-devices
301 pseudo-device pty # pseudo-terminals
302 #pseudo-device sequencer # MIDI sequencer
303 #options RND_COM
304 pseudo-device clockctl # user control of clock subsystem
305 pseudo-device ksyms # /dev/ksyms
306
307 # a pseudo device needed for Coda # also needs CODA (above)
308 #pseudo-device vcoda # coda minicache <-> venus comm.
309
310 # a pseudo device needed for SMBFS
311 #pseudo-device nsmb # experimental - SMB requester
312
313 # wscons pseudo-devices
314 #pseudo-device wsmux # mouse & keyboard multiplexor
315 #pseudo-device wsfont
316
317 # data mover pseudo-devices
318 pseudo-device swdmover # software dmover(9) back-end
319 pseudo-device dmoverio # /dev/dmover dmover(9) interface
320
321 #options FILEASSOC # fileassoc(9) - required for Veriexec
322
323 # Veriexec
324 #pseudo-device veriexec
325 #
326 # Uncomment the fingerprint methods below that are desired. Note that
327 # removing fingerprint methods will have almost no impact on the kernel
328 # code size.
329 #
330 #options VERIFIED_EXEC_FP_RMD160
331 #options VERIFIED_EXEC_FP_SHA256
332 #options VERIFIED_EXEC_FP_SHA384
333 #options VERIFIED_EXEC_FP_SHA512
334 #options VERIFIED_EXEC_FP_SHA1
335 #options VERIFIED_EXEC_FP_MD5
336
337 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
338 #options PAX_ASLR=0 # PaX Address Space Layout Randomization
339