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