OPENBLOCKS_AX3 revision 1.32
1# $NetBSD: OPENBLOCKS_AX3,v 1.32 2020/08/01 08:20:48 maxv 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 24options FPU_VFP 25makeoptions CPUFLAGS="-march=armv7-a -mfpu=neon" 26 27# Architecture options 28options ARMADAXP 29 30options PIC_MAXSOURCES=128 31 32options __HAVE_MM_MD_DIRECT_MAPPED_PHYS 33#options MULTIPROCESSOR 34options TPIDRPRW_IS_CURCPU 35 36makeoptions KERNEL_BASE_VIRT="0x80008000" 37 38# Standard system options 39 40options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 41options NTP # NTP phase/frequency locked loop 42 43# File systems 44 45file-system FFS # UFS 46file-system EXT2FS # second extended file system (linux) 47#file-system LFS # log-structured file system 48#file-system MFS # memory file system 49file-system NFS # Network file system 50file-system CD9660 # ISO 9660 + Rock Ridge file system 51file-system MSDOSFS # MS-DOS file system 52#file-system FDESC # /dev/fd 53file-system KERNFS # /kern 54file-system NULLFS # loopback file system 55file-system PROCFS # /proc 56file-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 59file-system UNION # union file system 60file-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 66options FFS_EI # FFS Endian Independent support 67options NFSSERVER # Network File System server 68options WAPBL # File system journaling support 69#options FFS_NO_SNAPSHOT # No FFS snapshot support 70 71# Networking options 72 73options GATEWAY # packet forwarding 74options INET # IP + ICMP + TCP + UDP 75options INET6 # IPv6 76options IPSEC # IP security 77#options IPSEC_DEBUG # debug for IP security 78options MROUTING # IP multicast routing 79options PIM # Protocol Independent Multicast 80options NETATALK # AppleTalk networking protocols 81options PPP_BSDCOMP # BSD-Compress compression support for PPP 82options PPP_DEFLATE # Deflate compression support for PPP 83options 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 87options NFS_BOOT_DHCP 88#options NFS_BOOT_BOOTPARAM 89 90#options NFS_BOOT_RWSIZE=1024 91 92# Compatibility options 93 94include "conf/compat_netbsd50.config" 95options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 96 97options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 98options COMPAT_LINUX # binary compatibility with Linux 99 100# Shared memory options 101 102options SYSVMSG # System V-like message queues 103options 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 108options 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) 122options IRQSTATS # manage IRQ statistics 123#options MIIVERBOSE # Verbose MII auto configuration messages 124#options PCIVERBOSE # Verbose PCI descriptions 125#options SCSIVERBOSE # Verbose SCSI errors 126options 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 134options DIAGNOSTIC # internal consistency checks 135options DEBUG 136#options UVMHIST # kernhist for uvm/pmap subsystems 137#options VERBOSE_INIT_ARM # verbose bootstraping messages 138options DDB # in-kernel debugger 139options DDB_ONPANIC=1 140#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 141#options KGDB 142#options DEBUG_KGDB 143makeoptions DEBUG="-g" # compile full symbol table 144makeoptions COPY_SYMTAB=1 145 146config netbsd root on ? type ? 147 148# The main bus device 149mainbus0 at root 150 151# The boot cpu 152cpu0 at mainbus? 153 154# Marvell MV88F78260 ARMADA XP System-on-chip 155mvsoc0 at mainbus? 156options MVSOC_INTERREGS_PBASE=0xd0000000 157options MVSOC_FIXUP_DEVID=0x7826 158 159# On-chip Serial-ATA II Host Controller (SATAHC) 160mvsata* at mvsoc? offset ? irq ? 161 162# On-chip Gigabit Ethernet Controller Interface (backward compatible mode) 163mvgbec* at mvsoc? offset ? 164mvgbe* 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 172makphy* at mii? phy ? 173 174# On-chip USB 2.0 Interface 175ehci* 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) 182gttwsi* at mvsoc? offset ? irq ? 183iic* at gttwsi? 184s390rtc* 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 191com* at mvsoc? offset ? irq ? 192options COM_16750 # XXXX: required 193#options COM_DEBUG 194 195# On-chip PCI Express Interface 196mvpex* at mvsoc? offset ? irq ? 197 198# On-chip IDMA Controller 199gtidmac* at mvsoc? offset ? irq ? 200 201# On-chip Thermal Sensor 202mvsocts* at mvsoc? offset ? irq ? 203 204# On-chip Timers 205mvsoctmr* at mvsoc? offset ? irq ? 206 207 208# PCI bus support 209options PCI_NETBSD_CONFIGURE 210#options PCI_CONFIG_DUMP # verbosely dump PCI config space 211pci* at mvpex? 212pchb* 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 217atabus* at ata? 218#options ATADEBUG 219 220# IDE drives 221wd* at atabus? drive ? flags 0x0000 222 223# ATAPI bus support 224atapibus* at atapi? 225 226# ATAPI devices 227# flags have the same meaning as for IDE drives. 228cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 229sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 230 231# USB bus support 232usb* at ehci? 233 234# USB Hubs 235uhub* at usb? 236uhub* at uhub? port ? 237 238# USB Mass Storage 239umass* at uhub? port ? configuration ? interface ? 240scsibus* at scsi? 241sd* at scsibus? target ? lun ? # SCSI disk drives 242cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 243 244# USB Generic driver 245ugen* at uhub? port ? 246 247 248# Pseudo-Devices 249 250pseudo-device crypto # /dev/crypto device 251pseudo-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) 271pseudo-device vnd # disk-like interface to files 272options VND_COMPRESSION # compressed vnd(4) 273 274# network pseudo-devices 275pseudo-device bpfilter # Berkeley packet filter 276#pseudo-device carp # Common Address Redundancy Protocol 277pseudo-device npf # NPF packet filter 278pseudo-device loop # network loopback 279pseudo-device ppp # Point-to-Point Protocol 280pseudo-device pppoe # PPP over Ethernet (RFC 2516) 281pseudo-device sl # Serial Line IP 282#pseudo-device irframetty # IrDA frame line discipline 283pseudo-device tap # virtual Ethernet 284pseudo-device tun # network tunneling over tty 285pseudo-device gre # generic L3 over IP tunnel 286pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 287pseudo-device faith # IPv[46] TCP relay translation i/f 288pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 289pseudo-device vlan # IEEE 802.1q encapsulation 290pseudo-device bridge # simple inter-network bridging 291pseudo-device agr # IEEE 802.3ad link aggregation 292 293# miscellaneous pseudo-devices 294pseudo-device pty # pseudo-terminals 295#pseudo-device sequencer # MIDI sequencer 296#options RND_COM 297pseudo-device clockctl # user control of clock subsystem 298pseudo-device ksyms # /dev/ksyms 299 300# a pseudo device needed for Coda # also needs CODA (above) 301#pseudo-device vcoda # coda minicache <-> venus comm. 302 303# wscons pseudo-devices 304#pseudo-device wsmux # mouse & keyboard multiplexor 305#pseudo-device wsfont 306 307# data mover pseudo-devices 308pseudo-device swdmover # software dmover(9) back-end 309pseudo-device dmoverio # /dev/dmover dmover(9) interface 310 311# Veriexec 312# include "dev/veriexec.config" 313 314#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 315#options PAX_ASLR=0 # PaX Address Space Layout Randomization 316