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