1# $NetBSD: OPENBLOCKS_A6,v 1.45 2022/08/07 02:52:25 simonb Exp $ 2# 3# OPENBLOCKS_A6 -- Plat'Home. OpenBlockS A6 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_a6" 16options EVBARM_BOARDTYPE=openblocks_a6 17 18# CPU options 19options CPU_SHEEVA 20#options SHEEVA_L2_CACHE 21#options SHEEVA_L2_CACHE_WT 22makeoptions CPUFLAGS="-march=armv5te" 23 24# Marvell SoC options 25options KIRKWOOD 26 27# Standard system options 28 29options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 30options NTP # NTP phase/frequency locked loop 31 32# File systems 33 34file-system FFS # UFS 35file-system EXT2FS # second extended file system (linux) 36#file-system LFS # log-structured file system 37#file-system MFS # memory file system 38file-system NFS # Network file system 39file-system CD9660 # ISO 9660 + Rock Ridge file system 40file-system MSDOSFS # MS-DOS file system 41#file-system FDESC # /dev/fd 42file-system KERNFS # /kern 43file-system NULLFS # loopback file system 44#file-system OVERLAY # overlay file system 45file-system PROCFS # /proc 46file-system PTYFS # /dev/ptm support 47#file-system PUFFS # Pass-to-Userspace Framework File System 48#file-system UMAPFS # NULLFS + uid and gid remapping 49file-system UNION # union file system 50#file-system CODA # Coda File System; also needs vcoda (below) 51file-system TMPFS # Efficient memory file-system 52#file-system UDF # experimental - OSTA UDF CD/DVD file-system 53#file-system HFS # experimental - Apple HFS+ (read-only) 54 55# File system options 56#options FFS_EI # FFS Endian Independent support 57options FFS_NO_SNAPSHOT # No FFS snapshot support 58#options QUOTA # legacy UFS quotas 59#options QUOTA2 # new, in-filesystem UFS quotas 60options UFS_DIRHASH # UFS Large Directory Hashing 61#options UFS_EXTATTR # Extended attribute support for UFS1 62options WAPBL # File system journaling support 63#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 64 # immutable) behave as system flags. 65#options DISKLABEL_EI # disklabel Endian Independent support 66options NFSSERVER # Network File System server 67 68# Networking options 69 70#options GATEWAY # packet forwarding 71options INET # IP + ICMP + TCP + UDP 72options INET6 # IPv6 73options IPSEC # IP security 74#options IPSEC_DEBUG # debug for IP security 75options MROUTING # IP multicast routing 76options PIM # Protocol Independent Multicast 77options NETATALK # AppleTalk networking protocols 78options PPP_BSDCOMP # BSD-Compress compression support for PPP 79options PPP_DEFLATE # Deflate compression support for PPP 80options PPP_FILTER # Active filter support for PPP (requires bpf) 81#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 82 83#options NFS_BOOT_BOOTP 84options NFS_BOOT_DHCP 85#options NFS_BOOT_BOOTPARAM 86 87# Compatibility options 88 89include "conf/compat_netbsd50.config" 90options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 91 92# Shared memory options 93 94options SYSVMSG # System V-like message queues 95options SYSVSEM # System V-like semaphores 96options SYSVSHM # System V-like memory sharing 97 98# Device options 99 100#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 101#options MEMORY_DISK_IS_ROOT # use memory disk as root 102#options MEMORY_DISK_DYNAMIC 103#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 104#options MEMORY_RBFLAGS=RB_AUTOBOOT 105 106# Miscellaneous kernel options 107 108#options KTRACE # system call tracing, a la ktrace(1) 109options IRQSTATS # manage IRQ statistics 110#options MIIVERBOSE # Verbose MII auto configuration messages 111#options PCIVERBOSE # Verbose PCI descriptions 112#options SCSIVERBOSE # Verbose SCSI errors 113options USBVERBOSE # Verbose USB device auto configuration messages 114#options DDB_KEYCODE=0x40 115#options USERCONF # userconf(4) support 116#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 117#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 118 119# Development and Debugging options 120 121options DIAGNOSTIC # internal consistency checks 122options DEBUG 123#options UVMHIST # kernhist for uvm/pmap subsystems 124#options VERBOSE_INIT_ARM # verbose bootstraping messages 125options DDB # in-kernel debugger 126#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 127#options KGDB 128#options DEBUG_KGDB 129makeoptions DEBUG="-g" # compile full symbol table 130#makeoptions COPTS="-O2" 131makeoptions COPY_SYMTAB=1 132#options AUDIO_DEBUG=2 133 134config netbsd root on ? type ? 135 136# The main bus device 137mainbus0 at root 138 139# The boot cpu 140cpu0 at mainbus? 141 142# Marvell MV88F6xxx Kirkwood System-on-chip 143mvsoc0 at mainbus? 144 145# On-chip Serial-ATA II Host Controller (SATAHC) 146mvsata* at mvsoc? offset ? irq ? 147 148# On-chip Gigabit Ethernet Controller Interface 149mvgbec* at mvsoc? offset ? 150mvgbe* at mvgbec? port ? irq ? 151 152# MII/PHY support 153makphy* at mii? phy ? 154#rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 155#rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 156#ukphy* at mii? phy ? # generic unknown PHYs 157#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 158 159# On-chip USB 2.0 Interface 160ehci* at mvsoc? offset ? irq ? 161 162# On-chip Cryptographic Engines and Security Accelerator 163mvcesa* at mvsoc? offset ? irq ? 164 165# On-chip Two-Wire Serial Interface (TWSI) 166gttwsi* at mvsoc? offset ? irq ? 167iic* at gttwsi? 168s390rtc* at iic1 addr 0x30 169 170# On-chip UART Interface 171com* at mvsoc? offset ? irq ? 172 173# On-chip IDMA Controller 174gtidmac* at mvsoc? offset ? irq ? 175 176# On-chip Thermal Sensor 177mvsocts* at mvsoc? offset ? 178 179# On-chip General Purpose I/O Port Interface 180mvsocgpp* at mvsoc? offset ? irq ? 181gpio* at mvsocgpp? 182 183# On-chip Timers 184mvsoctmr* at mvsoc? offset ? irq ? 185 186# ATA (IDE) bus support 187atabus* at ata? 188#options ATADEBUG 189 190# IDE drives 191wd* at atabus? drive ? flags 0x0000 192 193# ATAPI bus support 194#atapibus* at atapi? 195 196# ATAPI devices 197# flags have the same meaning as for IDE drives. 198#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 199#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 200 201# USB bus support 202usb* at ehci? 203 204# USB Hubs 205uhub* at usb? 206uhub* at uhub? port ? 207 208# USB HID device 209uhidev* at uhub? port ? configuration ? interface ? 210 211# USB TEMPer and TEMPerHUM 212#uthum* at uhidev? reportid ? 213 214# USB serial adapter 215#ucycom* at uhidev? reportid ? 216 217# USB Modem 218#umodem* at uhub? port ? configuration ? 219#ucom* at umodem? 220 221# Option N.V. Wireless WAN modems 222#uhso* at uhub? port ? configuration ? 223 224# USB Mass Storage 225umass* at uhub? port ? configuration ? interface ? 226scsibus* at scsi? 227sd* at scsibus? target ? lun ? # SCSI disk drives 228#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 229 230# USB IrDA 231# USB-IrDA bridge spec 232#uirda* at uhub? port ? configuration ? interface ? 233#irframe* at uirda? 234 235#stuirda* at uhub? port ? configuration ? interface ? 236#irframe* at stuirda? 237 238# SigmaTel STIr4200 USB/IrDA Bridge 239#ustir* at uhub? port ? 240#irframe* at ustir? 241 242# USB Ethernet adapters 243#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 244#axe* at uhub? port ? # ASIX AX88172 based adapters 245#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 246#cue* at uhub? port ? # CATC USB-EL1201A based adapters 247#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 248#mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 249#udav* at uhub? port ? # Davicom DM9601 based adapters 250#ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 251#url* at uhub? port ? # Realtek RTL8150L based adapters 252 253# USB 802.11 adapters 254#atu* at uhub? port ? # Atmel AT76C50XX based adapters 255#ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 256#rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 257#zyd* at uhub? port ? # Zydas ZD1211 258 259# Prolific PL2301/PL2302 host-to-host adapter 260#upl* at uhub? port ? 261 262# Serial adapters 263#ubsa* at uhub? port ? # Belkin serial adapter 264#ucom* at ubsa? portno ? 265 266#uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 267#ucom* at uchcom? portno ? 268 269#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 270#ucom* at uftdi? portno ? 271 272#uipaq* at uhub? port ? # iPAQ PDAs 273#ucom* at uipaq? portno ? 274 275#umct* at uhub? port ? # MCT USB-RS232 serial adapter 276#ucom* at umct? portno ? 277 278#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 279#ucom* at uplcom? portno ? 280 281#uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 282#ucom* at uslsa? portno ? 283 284#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 285#ucom* at uvscom? portno ? 286 287# Kyocera AIR-EDGE PHONE 288#ukyopon* at uhub? port ? 289#ucom* at ukyopon? portno ? 290 291# USB Generic driver 292ugen* at uhub? port ? 293 294# USB generic serial port (e.g., data over cellular) 295#ugensa* at uhub? port ? 296#ucom* at ugensa? 297 298# Bluetooth Controller and Device support 299 300# Bluetooth USB Controllers 301#ubt* at uhub? port ? 302#aubtfwl* at uhub? port ? 303 304# Bluetooth Device Hub 305#bthub* at ubt? 306 307# Pseudo-Devices 308 309pseudo-device crypto # /dev/crypto device 310pseudo-device swcrypto # software crypto implementation 311 312# disk/mass storage pseudo-devices 313#pseudo-device bio # RAID control device driver 314#pseudo-device ccd # concatenated/striped disk devices 315#pseudo-device cgd # cryptographic disk devices 316#pseudo-device raid # RAIDframe disk driver 317#options RAID_AUTOCONFIG # auto-configuration of RAID components 318# Options to enable various other RAIDframe RAID types. 319#options RF_INCLUDE_EVENODD=1 320#options RF_INCLUDE_RAID5_RS=1 321#options RF_INCLUDE_PARITYLOGGING=1 322#options RF_INCLUDE_CHAINDECLUSTER=1 323#options RF_INCLUDE_INTERDECLUSTER=1 324#options RF_INCLUDE_PARITY_DECLUSTERING=1 325#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 326#pseudo-device fss # file system snapshot device 327#pseudo-device putter # for puffs and pud 328 329#pseudo-device md # memory disk device (ramdisk) 330pseudo-device vnd # disk-like interface to files 331options VND_COMPRESSION # compressed vnd(4) 332 333# network pseudo-devices 334pseudo-device bpfilter # Berkeley packet filter 335#pseudo-device carp # Common Address Redundancy Protocol 336pseudo-device npf # NPF packet filter 337pseudo-device loop # network loopback 338pseudo-device ppp # Point-to-Point Protocol 339pseudo-device pppoe # PPP over Ethernet (RFC 2516) 340pseudo-device sl # Serial Line IP 341#pseudo-device irframetty # IrDA frame line discipline 342pseudo-device tap # virtual Ethernet 343pseudo-device tun # network tunneling over tty 344pseudo-device gre # generic L3 over IP tunnel 345pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 346pseudo-device faith # IPv[46] TCP relay translation i/f 347pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 348pseudo-device vlan # IEEE 802.1q encapsulation 349pseudo-device bridge # simple inter-network bridging 350pseudo-device vether # Virtual Ethernet for bridge 351 352pseudo-device agr # IEEE 802.3ad link aggregation 353 354# miscellaneous pseudo-devices 355pseudo-device pty # pseudo-terminals 356#pseudo-device sequencer # MIDI sequencer 357#options RND_COM 358pseudo-device clockctl # user control of clock subsystem 359pseudo-device ksyms # /dev/ksyms 360 361# a pseudo device needed for Coda # also needs CODA (above) 362#pseudo-device vcoda # coda minicache <-> venus comm. 363 364# wscons pseudo-devices 365#pseudo-device wsmux # mouse & keyboard multiplexor 366#pseudo-device wsfont 367 368# data mover pseudo-devices 369pseudo-device swdmover # software dmover(9) back-end 370pseudo-device dmoverio # /dev/dmover dmover(9) interface 371 372# Veriexec 373# include "dev/veriexec.config" 374 375#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 376#options PAX_ASLR=0 # PaX Address Space Layout Randomization 377