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