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