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