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