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