OPENBLOCKS_AX3 revision 1.34.2.1 1 # $NetBSD: OPENBLOCKS_AX3,v 1.34.2.1 2021/04/03 22:28:22 thorpej 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 # Shared memory options
98
99 options SYSVMSG # System V-like message queues
100 options SYSVSEM # System V-like semaphores
101 #options SEMMNI=10 # number of semaphore identifiers
102 #options SEMMNS=60 # number of semaphores in system
103 #options SEMUME=10 # max number of undo entries per process
104 #options SEMMNU=30 # number of undo structures in system
105 options SYSVSHM # System V-like memory sharing
106
107 # Device options
108
109 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
110 #options MEMORY_DISK_IS_ROOT # use memory disk as root
111 #options MEMORY_DISK_DYNAMIC
112 #options MINIROOTSIZE=1000 # Size in blocks
113 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
114 #options MEMORY_RBFLAGS=RB_AUTOBOOT
115
116 # Miscellaneous kernel options
117
118 #options KTRACE # system call tracing, a la ktrace(1)
119 options IRQSTATS # manage IRQ statistics
120 #options MIIVERBOSE # Verbose MII auto configuration messages
121 #options PCIVERBOSE # Verbose PCI descriptions
122 #options SCSIVERBOSE # Verbose SCSI errors
123 options USBVERBOSE # Verbose USB device auto configuration messages
124 #options DDB_KEYCODE=0x40
125 #options USERCONF # userconf(4) support
126 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
127 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
128
129 # Development and Debugging options
130
131 options DIAGNOSTIC # internal consistency checks
132 options DEBUG
133 #options UVMHIST # kernhist for uvm/pmap subsystems
134 #options VERBOSE_INIT_ARM # verbose bootstraping messages
135 options DDB # in-kernel debugger
136 options DDB_ONPANIC=1
137 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
138 #options KGDB
139 #options DEBUG_KGDB
140 makeoptions DEBUG="-g" # compile full symbol table
141 makeoptions COPY_SYMTAB=1
142
143 config netbsd root on ? type ?
144
145 # The main bus device
146 mainbus0 at root
147
148 # The boot cpu
149 cpu0 at mainbus?
150
151 # Marvell MV88F78260 ARMADA XP System-on-chip
152 mvsoc0 at mainbus?
153 options MVSOC_INTERREGS_PBASE=0xd0000000
154 options MVSOC_FIXUP_DEVID=0x7826
155
156 # On-chip Serial-ATA II Host Controller (SATAHC)
157 mvsata* at mvsoc? offset ? irq ?
158
159 # On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
160 mvgbec* at mvsoc? offset ?
161 mvgbe* at mvgbec? port ? irq ?
162
163 # On-chip Gigabit Ethernet Controller Interface (counter mode)
164 #mvxpbm* at mvsoc? offset ?
165 #mvxpe* at mvsoc? irq ?
166 #options MVXPE_EVENT_COUNTERS
167 #options MVXPE_DEBUG=0
168
169 makphy* at mii? phy ?
170
171 # On-chip USB 2.0 Interface
172 ehci* at mvsoc? offset ? irq ?
173
174 # Serial Peripheral Interface (SPI)
175 #mvspi* at mvsoc? offset ? irq ?
176 #spi* at mvspi?
177
178 # On-chip Two-Wire Serial Interface (TWSI)
179 gttwsi* at mvsoc? offset ? irq ?
180 iic* at gttwsi?
181 s390rtc* at iic1 addr 0x30
182
183 # On-chip Cryptographic Engines and Security Accelerator (DMA)
184 #mvxpsec* at mvsoc? offset ? irq ?
185 #options MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
186
187 # On-chip UART Interface
188 com* at mvsoc? offset ? irq ?
189 options COM_16750 # XXXX: required
190 #options COM_DEBUG
191
192 # On-chip PCI Express Interface
193 mvpex* at mvsoc? offset ? irq ?
194
195 # On-chip IDMA Controller
196 gtidmac* at mvsoc? offset ? irq ?
197
198 # On-chip Thermal Sensor
199 mvsocts* at mvsoc? offset ? irq ?
200
201 # On-chip Timers
202 mvsoctmr* at mvsoc? offset ? irq ?
203
204
205 # PCI bus support
206 options PCI_NETBSD_CONFIGURE
207 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
208 pci* at mvpex?
209 pchb* at pci? dev ? function ? # PCI-Host bridges
210
211 #athn* at pci? dev ? function ? # Atheros AR9k (802.11a/g/n)
212
213 # ATA (IDE) bus support
214 atabus* at ata?
215 #options ATADEBUG
216
217 # IDE drives
218 wd* at atabus? drive ? flags 0x0000
219
220 # ATAPI bus support
221 atapibus* at atapi?
222
223 # ATAPI devices
224 # flags have the same meaning as for IDE drives.
225 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
226 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
227
228 # USB bus support
229 usb* at ehci?
230
231 # USB Hubs
232 uhub* at usb?
233 uhub* at uhub? port ?
234
235 # USB Mass Storage
236 umass* at uhub? port ? configuration ? interface ?
237 scsibus* at scsi?
238 sd* at scsibus? target ? lun ? # SCSI disk drives
239 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
240
241 # USB Generic driver
242 ugen* at uhub? port ?
243
244
245 # Pseudo-Devices
246
247 pseudo-device crypto # /dev/crypto device
248 pseudo-device swcrypto # software crypto implementation
249
250 # disk/mass storage pseudo-devices
251 #pseudo-device bio # RAID control device driver
252 #pseudo-device ccd # concatenated/striped disk devices
253 #pseudo-device cgd # cryptographic disk devices
254 #pseudo-device raid # RAIDframe disk driver
255 #options RAID_AUTOCONFIG # auto-configuration of RAID components
256 # Options to enable various other RAIDframe RAID types.
257 #options RF_INCLUDE_EVENODD=1
258 #options RF_INCLUDE_RAID5_RS=1
259 #options RF_INCLUDE_PARITYLOGGING=1
260 #options RF_INCLUDE_CHAINDECLUSTER=1
261 #options RF_INCLUDE_INTERDECLUSTER=1
262 #options RF_INCLUDE_PARITY_DECLUSTERING=1
263 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
264 #pseudo-device fss # file system snapshot device
265 #pseudo-device putter # for puffs and pud
266
267 #pseudo-device md # memory disk device (ramdisk)
268 pseudo-device vnd # disk-like interface to files
269 options VND_COMPRESSION # compressed vnd(4)
270
271 # network pseudo-devices
272 pseudo-device bpfilter # Berkeley packet filter
273 #pseudo-device carp # Common Address Redundancy Protocol
274 pseudo-device npf # NPF packet filter
275 pseudo-device loop # network loopback
276 pseudo-device ppp # Point-to-Point Protocol
277 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
278 pseudo-device sl # Serial Line IP
279 #pseudo-device irframetty # IrDA frame line discipline
280 pseudo-device tap # virtual Ethernet
281 pseudo-device tun # network tunneling over tty
282 pseudo-device gre # generic L3 over IP tunnel
283 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
284 pseudo-device faith # IPv[46] TCP relay translation i/f
285 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
286 pseudo-device vlan # IEEE 802.1q encapsulation
287 pseudo-device bridge # simple inter-network bridging
288 pseudo-device vether # Virtual Ethernet for bridge
289 pseudo-device agr # IEEE 802.3ad link aggregation
290
291 # miscellaneous pseudo-devices
292 pseudo-device pty # pseudo-terminals
293 #pseudo-device sequencer # MIDI sequencer
294 #options RND_COM
295 pseudo-device clockctl # user control of clock subsystem
296 pseudo-device ksyms # /dev/ksyms
297
298 # a pseudo device needed for Coda # also needs CODA (above)
299 #pseudo-device vcoda # coda minicache <-> venus comm.
300
301 # wscons pseudo-devices
302 #pseudo-device wsmux # mouse & keyboard multiplexor
303 #pseudo-device wsfont
304
305 # data mover pseudo-devices
306 pseudo-device swdmover # software dmover(9) back-end
307 pseudo-device dmoverio # /dev/dmover dmover(9) interface
308
309 # Veriexec
310 # include "dev/veriexec.config"
311
312 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
313 #options PAX_ASLR=0 # PaX Address Space Layout Randomization
314