1 1.37 skrll # $NetBSD: MARVELL_NAS,v 1.37 2020/04/18 10:55:44 skrll Exp $ 2 1.1 kiyohara # 3 1.1 kiyohara # This configuration supports for generically Marvell NAS. 4 1.1 kiyohara 5 1.1 kiyohara include "arch/evbarm/conf/std.marvell" 6 1.1 kiyohara 7 1.1 kiyohara options INCLUDE_CONFIG_FILE # embed config file in kernel binary 8 1.1 kiyohara 9 1.1 kiyohara # estimated number of users 10 1.1 kiyohara 11 1.1 kiyohara maxusers 32 12 1.1 kiyohara 13 1.1 kiyohara # CPU options 14 1.1 kiyohara options CPU_ARM9E 15 1.18 kiyohara #makeoptions CPUFLAGS="-mcpu=xscale" # Orion supports XScale instruction set 16 1.1 kiyohara options CPU_SHEEVA 17 1.18 kiyohara #makeoptions CPUFLAGS="-march=armv5te" 18 1.1 kiyohara 19 1.1 kiyohara # Marvell SoC options 20 1.1 kiyohara options ORION 21 1.1 kiyohara options KIRKWOOD 22 1.18 kiyohara #options MV78XX0 # Discovery Innovation 23 1.1 kiyohara 24 1.1 kiyohara # Standard system options 25 1.1 kiyohara 26 1.1 kiyohara options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 27 1.1 kiyohara #options NTP # NTP phase/frequency locked loop 28 1.1 kiyohara 29 1.1 kiyohara # File systems 30 1.1 kiyohara 31 1.1 kiyohara file-system FFS # UFS 32 1.1 kiyohara file-system EXT2FS # second extended file system (linux) 33 1.1 kiyohara file-system LFS # log-structured file system 34 1.1 kiyohara file-system MFS # memory file system 35 1.1 kiyohara file-system NFS # Network File System client 36 1.1 kiyohara file-system NTFS # Windows/NT file system (experimental) 37 1.1 kiyohara file-system CD9660 # ISO 9660 + Rock Ridge file system 38 1.1 kiyohara file-system MSDOSFS # MS-DOS file system 39 1.1 kiyohara file-system FDESC # /dev/fd 40 1.1 kiyohara file-system KERNFS # /kern 41 1.1 kiyohara file-system NULLFS # loopback file system 42 1.1 kiyohara file-system OVERLAY # overlay file system 43 1.1 kiyohara file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 44 1.1 kiyohara file-system PROCFS # /proc 45 1.1 kiyohara file-system UMAPFS # NULLFS + uid and gid remapping 46 1.1 kiyohara file-system UNION # union file system 47 1.1 kiyohara file-system CODA # Coda File System; also needs vcoda (below) 48 1.1 kiyohara file-system PTYFS # /dev/ptm support 49 1.1 kiyohara file-system TMPFS # Efficient memory file-system 50 1.1 kiyohara file-system UDF # experimental - OSTA UDF CD/DVD file-system 51 1.1 kiyohara file-system HFS # experimental - Apple HFS+ (read-only) 52 1.1 kiyohara 53 1.1 kiyohara # File system options 54 1.3 bouyer options QUOTA # legacy UFS quotas 55 1.3 bouyer options QUOTA2 # new, in-filesystem UFS quotas 56 1.25 rin #options DISKLABEL_EI # disklabel Endian Independent support 57 1.1 kiyohara #options FFS_EI # FFS Endian Independent support 58 1.5 dholland options WAPBL # File system journaling support 59 1.1 kiyohara # Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 60 1.1 kiyohara # It is not recommended for general use. 61 1.1 kiyohara #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 62 1.1 kiyohara options NFSSERVER # Network File System server 63 1.1 kiyohara #options FFS_NO_SNAPSHOT # No FFS snapshot support 64 1.1 kiyohara #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 65 1.1 kiyohara # immutable) behave as system flags. 66 1.1 kiyohara 67 1.1 kiyohara # Networking options 68 1.1 kiyohara 69 1.1 kiyohara #options GATEWAY # packet forwarding 70 1.1 kiyohara options INET # IP + ICMP + TCP + UDP 71 1.1 kiyohara options INET6 # IPv6 72 1.1 kiyohara #options IPSEC # IP security 73 1.1 kiyohara #options IPSEC_DEBUG # debug for IP security 74 1.1 kiyohara #options MROUTING # IP multicast routing 75 1.1 kiyohara #options PIM # Protocol Independent Multicast 76 1.1 kiyohara options NETATALK # AppleTalk networking protocols 77 1.1 kiyohara options PPP_BSDCOMP # BSD-Compress compression support for PPP 78 1.1 kiyohara options PPP_DEFLATE # Deflate compression support for PPP 79 1.1 kiyohara options PPP_FILTER # Active filter support for PPP (requires bpf) 80 1.1 kiyohara #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 1.1 kiyohara 82 1.1 kiyohara options NFS_BOOT_BOOTP 83 1.1 kiyohara options NFS_BOOT_DHCP 84 1.1 kiyohara #options NFS_BOOT_BOOTPARAM 85 1.1 kiyohara 86 1.1 kiyohara # Compatibility options 87 1.1 kiyohara 88 1.28 mrg include "conf/compat_netbsd16.config" 89 1.28 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 90 1.1 kiyohara 91 1.1 kiyohara options COMPAT_LINUX # binary compatibility with Linux 92 1.1 kiyohara 93 1.1 kiyohara # Shared memory options 94 1.1 kiyohara 95 1.22 reinoud options SYSVMSG # System V-like message queues 96 1.22 reinoud options SYSVSEM # System V-like semaphores 97 1.22 reinoud options SYSVSHM # System V-like memory sharing 98 1.1 kiyohara 99 1.1 kiyohara # Device options 100 1.1 kiyohara 101 1.1 kiyohara #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 102 1.1 kiyohara #options MEMORY_DISK_IS_ROOT # use memory disk as root 103 1.1 kiyohara #options MEMORY_DISK_DYNAMIC 104 1.1 kiyohara #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 105 1.1 kiyohara #options MEMORY_RBFLAGS=RB_AUTOBOOT 106 1.1 kiyohara 107 1.1 kiyohara # Miscellaneous kernel options 108 1.1 kiyohara 109 1.1 kiyohara options KTRACE # system call tracing, a la ktrace(1) 110 1.1 kiyohara options IRQSTATS # manage IRQ statistics 111 1.1 kiyohara options MIIVERBOSE # Verbose MII autoconfuration messages 112 1.1 kiyohara options PCIVERBOSE # Verbose PCI descriptions 113 1.1 kiyohara options USBVERBOSE # verbose USB device autoconfig messages 114 1.1 kiyohara #options DDB_KEYCODE=0x40 115 1.1 kiyohara #options USERCONF # userconf(4) support 116 1.1 kiyohara #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 117 1.1 kiyohara #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 118 1.1 kiyohara 119 1.1 kiyohara 120 1.1 kiyohara config netbsd root on ? type ? 121 1.1 kiyohara 122 1.1 kiyohara # The main bus device 123 1.1 kiyohara mainbus0 at root 124 1.1 kiyohara 125 1.1 kiyohara # The boot cpu 126 1.1 kiyohara cpu0 at mainbus? 127 1.1 kiyohara 128 1.19 zafer # Marvell MV88Fxx81 Orion System-on-Chip 129 1.1 kiyohara mvsoc0 at mainbus? 130 1.1 kiyohara 131 1.1 kiyohara # On-chip PCI Express Interface 132 1.1 kiyohara mvpex* at mvsoc? offset ? irq ? 133 1.1 kiyohara 134 1.1 kiyohara # On-chip PCI Interface 135 1.1 kiyohara gtpci* at mvsoc? offset ? irq ? 136 1.1 kiyohara 137 1.1 kiyohara # PCI bus support 138 1.1 kiyohara options PCI_NETBSD_CONFIGURE 139 1.1 kiyohara #options PCI_CONFIG_DUMP # verbosely dump PCI config space 140 1.1 kiyohara 141 1.1 kiyohara pci* at mvpex? 142 1.1 kiyohara pci* at gtpci? 143 1.1 kiyohara 144 1.1 kiyohara pchb* at pci? dev ? function ? # PCI-Host bridges 145 1.1 kiyohara 146 1.1 kiyohara # On-chip Serial-ATA II Host Controller (SATAHC) 147 1.1 kiyohara mvsata* at mvsoc? offset ? irq ? 148 1.1 kiyohara 149 1.1 kiyohara # On-chip Gigabit Ethernet Controller Interface 150 1.1 kiyohara mvgbec* at mvsoc? offset ? 151 1.1 kiyohara mvgbe* at mvgbec? port ? irq ? 152 1.1 kiyohara 153 1.1 kiyohara # On-chip USB 2.0 Interface 154 1.1 kiyohara ehci* at mvsoc? offset ? irq ? 155 1.1 kiyohara 156 1.1 kiyohara # On-chip Cryptographic Engines and Security Accelerator 157 1.8 kiyohara mvcesa* at mvsoc? offset ? irq ? 158 1.1 kiyohara 159 1.1 kiyohara # On-chip Two-Wire Serial Interface (TWSI) 160 1.1 kiyohara gttwsi* at mvsoc? offset ? irq ? 161 1.1 kiyohara iic* at gttwsi? # I2C bus 162 1.1 kiyohara 163 1.1 kiyohara # On-chip UART Interface 164 1.1 kiyohara com* at mvsoc? offset ? irq ? 165 1.1 kiyohara 166 1.1 kiyohara # On-chip IDMA Controller 167 1.1 kiyohara gtidmac* at mvsoc? offset ? irq ? 168 1.1 kiyohara 169 1.1 kiyohara # On-chip General Purpose I/O Port Interface 170 1.1 kiyohara mvsocgpp* at mvsoc? offset ? irq ? 171 1.1 kiyohara gpio* at mvsocgpp? 172 1.1 kiyohara 173 1.1 kiyohara # On-chip Timers 174 1.1 kiyohara mvsoctmr* at mvsoc? offset ? irq ? 175 1.1 kiyohara 176 1.1 kiyohara 177 1.1 kiyohara # MII/PHY support 178 1.1 kiyohara makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 179 1.1 kiyohara 180 1.1 kiyohara # PCI IDE Controller 181 1.1 kiyohara mvsata* at pci? dev ? function ? # Marvell SATA Controller 182 1.1 kiyohara 183 1.1 kiyohara # ATA (IDE) bus support 184 1.1 kiyohara atabus* at ata? 185 1.1 kiyohara #options ATADEBUG 186 1.1 kiyohara 187 1.1 kiyohara # IDE drives 188 1.1 kiyohara wd* at atabus? drive? flags 0x0000 189 1.1 kiyohara 190 1.1 kiyohara # ATAPI bus support 191 1.1 kiyohara atapibus* at atapi? 192 1.1 kiyohara 193 1.1 kiyohara # ATAPI devices 194 1.1 kiyohara # flags have the same meaning as for IDE drives. 195 1.1 kiyohara sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 196 1.1 kiyohara 197 1.1 kiyohara # SCSI bus support 198 1.1 kiyohara scsibus* at scsi? 199 1.1 kiyohara 200 1.1 kiyohara # SCSI devices 201 1.1 kiyohara sd* at scsibus? target ? lun ? # SCSI disk drives 202 1.1 kiyohara 203 1.1 kiyohara # USB bus support 204 1.1 kiyohara usb* at ehci? 205 1.1 kiyohara 206 1.1 kiyohara # USB Hubs 207 1.1 kiyohara uhub* at usb? 208 1.1 kiyohara uhub* at uhub? port ? 209 1.1 kiyohara 210 1.1 kiyohara # USB Mass Storage 211 1.1 kiyohara umass* at uhub? port ? configuration ? interface ? 212 1.1 kiyohara 213 1.15 reinoud # USB Serial 214 1.15 reinoud uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 215 1.15 reinoud ucom* at uplcom? portno ? 216 1.15 reinoud 217 1.37 skrll # Wedge support 218 1.22 reinoud options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 219 1.22 reinoud options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 220 1.22 reinoud 221 1.22 reinoud # Alternate buffer queue strategies for better responsiveness under high 222 1.22 reinoud # disk I/O load. 223 1.22 reinoud #options BUFQ_READPRIO 224 1.22 reinoud options BUFQ_PRIOCSCAN 225 1.22 reinoud 226 1.22 reinoud # Development and Debugging options 227 1.22 reinoud 228 1.22 reinoud #options DIAGNOSTIC # internal consistency checks 229 1.22 reinoud #options DEBUG 230 1.22 reinoud #options LOCKDEBUG 231 1.22 reinoud #options PMAP_DEBUG # Enable pmap_debug_level code 232 1.22 reinoud #options VERBOSE_INIT_ARM # verbose bootstraping messages 233 1.22 reinoud options DDB # in-kernel debugger 234 1.22 reinoud options DDB_ONPANIC=0 235 1.22 reinoud options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 236 1.29 sevan #options DDB_COMMANDONENTER="bt" 237 1.22 reinoud #options KGDB 238 1.22 reinoud #options SYSCALL_DEBUG 239 1.22 reinoud 240 1.1 kiyohara 241 1.1 kiyohara # Pseudo-Devices 242 1.1 kiyohara 243 1.1 kiyohara pseudo-device crypto # /dev/crypto device 244 1.1 kiyohara pseudo-device swcrypto # software crypto implementation 245 1.1 kiyohara 246 1.1 kiyohara # disk/mass storage pseudo-devices 247 1.1 kiyohara pseudo-device bio # RAID control device driver 248 1.12 christos pseudo-device ccd # concatenated/striped disk devices 249 1.12 christos pseudo-device cgd # cryptographic disk devices 250 1.13 christos pseudo-device raid # RAIDframe disk driver 251 1.1 kiyohara options RAID_AUTOCONFIG # auto-configuration of RAID components 252 1.1 kiyohara # Options to enable various other RAIDframe RAID types. 253 1.1 kiyohara #options RF_INCLUDE_EVENODD=1 254 1.1 kiyohara #options RF_INCLUDE_RAID5_RS=1 255 1.1 kiyohara #options RF_INCLUDE_PARITYLOGGING=1 256 1.1 kiyohara #options RF_INCLUDE_CHAINDECLUSTER=1 257 1.1 kiyohara #options RF_INCLUDE_INTERDECLUSTER=1 258 1.1 kiyohara #options RF_INCLUDE_PARITY_DECLUSTERING=1 259 1.1 kiyohara #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 260 1.1 kiyohara pseudo-device fss # file system snapshot device 261 1.1 kiyohara pseudo-device putter # for puffs and pud 262 1.1 kiyohara 263 1.2 hannken #pseudo-device md # memory disk device (ramdisk) 264 1.1 kiyohara pseudo-device vnd # disk-like interface to files 265 1.1 kiyohara options VND_COMPRESSION # compressed vnd(4) 266 1.1 kiyohara 267 1.1 kiyohara # network pseudo-devices 268 1.1 kiyohara pseudo-device bpfilter # Berkeley packet filter 269 1.1 kiyohara #pseudo-device carp # Common Address Redundancy Protocol 270 1.1 kiyohara pseudo-device loop # network loopback 271 1.1 kiyohara #pseudo-device ppp # Point-to-Point Protocol 272 1.1 kiyohara #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 273 1.1 kiyohara #pseudo-device sl # Serial Line IP 274 1.1 kiyohara #pseudo-device irframetty # IrDA frame line discipline 275 1.1 kiyohara #pseudo-device tap # virtual Ethernet 276 1.22 reinoud pseudo-device tun # network tunneling over tty 277 1.1 kiyohara #pseudo-device gre # generic L3 over IP tunnel 278 1.1 kiyohara #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 279 1.1 kiyohara #pseudo-device faith # IPv[46] TCP relay translation i/f 280 1.1 kiyohara #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 281 1.1 kiyohara #pseudo-device vlan # IEEE 802.1q encapsulation 282 1.1 kiyohara #pseudo-device bridge # simple inter-network bridging 283 1.1 kiyohara #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 284 1.1 kiyohara #pseudo-device agr # IEEE 802.3ad link aggregation 285 1.22 reinoud pseudo-device npf # NPF packet filter 286 1.1 kiyohara 287 1.1 kiyohara # miscellaneous pseudo-devices 288 1.1 kiyohara pseudo-device pty # pseudo-terminals 289 1.14 christos #pseudo-device sequencer # MIDI sequencer 290 1.1 kiyohara #options RND_COM 291 1.1 kiyohara pseudo-device clockctl # user control of clock subsystem 292 1.1 kiyohara pseudo-device ksyms # /dev/ksyms 293 1.1 kiyohara #pseudo-device bcsp # BlueCore Serial Protocol 294 1.1 kiyohara #pseudo-device btuart # Bluetooth HCI UART (H4) 295 1.1 kiyohara 296 1.1 kiyohara # a pseudo device needed for Coda # also needs CODA (above) 297 1.13 christos pseudo-device vcoda # coda minicache <-> venus comm. 298 1.1 kiyohara 299 1.1 kiyohara # wscons pseudo-devices 300 1.1 kiyohara pseudo-device wsmux # mouse & keyboard multiplexor 301 1.1 kiyohara pseudo-device wsfont 302 1.1 kiyohara 303 1.1 kiyohara # data mover pseudo-devices 304 1.9 skrll pseudo-device swdmover # software dmover(9) back-end 305 1.1 kiyohara pseudo-device dmoverio # /dev/dmover dmover(9) interface 306 1.1 kiyohara 307 1.1 kiyohara # Veriexec 308 1.34 sevan include "dev/veriexec.config" 309 1.1 kiyohara 310 1.1 kiyohara options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 311 1.1 kiyohara options PAX_ASLR=0 # PaX Address Space Layout Randomization 312