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