1# 2# $NetBSD: ARMADAXP,v 1.26 2018/10/23 19:58:52 jdolecek Exp $ 3# 4# ARMADA XP DEV BOARD 5# 6 7include "arch/evbarm/conf/std.armadaxp" 8 9# estimated number of users 10 11maxusers 32 12 13# Standard system options 14 15options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 16#options NTP # NTP phase/frequency locked loop 17 18# CPU options 19options CPU_PJ4B 20 21# Architecture options 22options ARMADAXP 23options L2CACHE_ENABLE 24#options AURORA_IO_CACHE_COHERENCY 25options AURORA_L2_PT_WALK 26 27options __HAVE_MM_MD_DIRECT_MAPPED_PHYS 28#options VERBOSE_INIT_ARM 29#options MVSOC_CONSOLE_EARLY 30 31# File systems 32file-system FFS # UFS 33#file-system LFS # log-structured file system 34file-system MFS # memory file system 35file-system NFS # Network file system 36#file-system ADOSFS # AmigaDOS-compatible file system 37#file-system EXT2FS # second extended file system (linux) 38#file-system CD9660 # ISO 9660 + Rock Ridge file system 39file-system MSDOSFS # MS-DOS file system 40#file-system FDESC # /dev/fd 41#file-system KERNFS # /kern 42#file-system NULLFS # loopback file system 43#file-system PROCFS # /proc 44#file-system UMAPFS # NULLFS + uid and gid remapping 45#file-system UNION # union file system 46file-system TMPFS # memory file system 47file-system PTYFS # /dev/pts/N support 48file-system PUFFS # Pass-to-Userspace Framework File System 49 50# File system options 51#options QUOTA # legacy UFS quotas 52#options QUOTA2 # new, in-filesystem UFS quotas 53#options DISKLABEL_EI # disklabel Endian Independent support 54#options FFS_EI # FFS Endian Independent support 55#options NFSSERVER 56options WAPBL # File system journaling support 57#options FFS_NO_SNAPSHOT # No FFS snapshot support 58 59# Networking options 60options GATEWAY # packet forwarding 61options INET # IP + ICMP + TCP + UDP 62options INET6 # IPV6 63#options IPSEC # IP security 64#options IPSEC_DEBUG # debug for IP security 65options MROUTING # IP multicast routing 66options PIM # Protocol Independent Multicast 67options NETATALK # AppleTalk networking 68options PPP_BSDCOMP # BSD-Compress compression support for PPP 69options PPP_DEFLATE # Deflate compression support for PPP 70options PPP_FILTER # Active filter support for PPP (requires bpf) 71options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 72options NFS_BOOT_DHCP 73 74#options NFS_BOOT_BOOTP 75#options NFS_BOOT_DHCP 76#options NFS_BOOT_BOOTSTATIC 77#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 78#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 79#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 80#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 81#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 82 83#options NFS_BOOT_RWSIZE=1024 84 85# Compatibility options 86include "conf/compat_netbsd50.config" 87options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 88 89# Shared memory options 90options SYSVMSG # System V-like message queues 91options SYSVSEM # System V-like semaphores 92#options SEMMNI=10 # number of semaphore identifiers 93#options SEMMNS=60 # number of semaphores in system 94#options SEMUME=10 # max number of undo entries per process 95#options SEMMNU=30 # number of undo structures in system 96options SYSVSHM # System V-like memory sharing 97 98# Device options 99#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 100#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 101#options MEMORY_DISK_DYNAMIC 102#options MINIROOTSIZE=1000 # Size in blocks 103#options MEMORY_DISK_IS_ROOT # use memory disk as root 104 105# Miscellaneous kernel options 106options KTRACE # system call tracing, a la ktrace(1) 107#options SCSIVERBOSE # Verbose SCSI errors 108#options MIIVERBOSE # Verbose MII autoconfuration messages 109#options DDB_KEYCODE=0x40 110#options USERCONF # userconf(4) support 111#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 112 113# Development and Debugging options 114options LOCKDEBUG 115options DIAGNOSTIC # internal consistency checks 116#options DEBUG 117#options PMAP_DEBUG # Enable pmap_debug_level code 118options PMAPCOUNTERS 119#options VERBOSE_INIT_ARM # verbose bootstraping messages 120options DDB # in-kernel debugger 121options DDB_ONPANIC=1 122options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 123options DDB_KEYCODE=0x1d # Enter ddb on ^] 124#options KGDB 125options KGDB_DEVADDR=0xd0012000 126makeoptions DEBUG="-g" # compile full symbol table 127makeoptions COPY_SYMTAB=1 128 129## USB Debugging options 130#options USB_DEBUG 131#options EHCI_DEBUG 132#options OHCI_DEBUG 133#options UHUB_DEBUG 134 135# Valid options for BOOT_ARGS: 136# single Boot to single user only 137# kdb Give control to kernel debugger 138# ask Ask for file name to reboot from 139# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 140# memorydisk=<n> Set memorydisk size to <n> KB 141# quiet Show aprint_naive output 142# verbose Show aprint_normal and aprint_verbose output 143#options BOOT_ARGS="\"verbose kdb\"" 144#options BOOT_ARGS="\"pmapdebug=1\"" 145 146config netbsd root on ? type ? 147#config netbsd root on sd0c type ffs 148#config netbsd root on wd0a type ffs 149#config netbsd root on re1 type nfs 150 151# The main bus device 152mainbus0 at root 153 154# The boot cpu 155cpu0 at mainbus? 156 157# Specify the memory size in bytes. 158options MEMSIZE=0x80000000 159 160# Marvell SoC Bus 161mvsoc0 at mainbus? 162options MVSOC_INTERREGS_PBASE=0xd0000000 163 164# On-chip Timers 165mvsoctmr* at mvsoc? offset ? irq ? 166 167# On-chip UART Interface 168com* at mvsoc? 169#options COM_DEBUG 170options CONSADDR=0xd0012000 171options CONSPEED=115200 172options CONSFREQ=250000000 173 174# On-chip Two-Wire Serial Interface (TWSI) 175gttwsi* at mvsoc? offset ? irq ? 176iic* at gttwsi? 177 178# Serial Peripheral Interface (SPI) 179mvspi* at mvsoc? offset ? irq ? 180spi* at mvspi? 181 182spiflash0 at spiflashbus? 183m25p0 at spi? slave 0 184 185# TWSI SDRAM Serial Presence Detect 186spdmem0 at iic? addr 0x56 187 188# On-chip Cryptographic Engines and Security Accelerator (S/W chaining) 189mvcesa* at mvsoc? offset ? irq ? 190 191# On-chip Cryptographic Engines and Security Accelerator (H/W chaining) 192#mvxpsec* at mvsoc? offset ? irq ? 193#options MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL 194 195# On-chip USB 2.0 Interface 196ehci* at mvsoc? offset ? irq ? 197 198# USB bus support 199usb* at ehci? 200 201# USB Hubs 202uhub* at usb? 203uhub* at uhub? port ? 204 205# USB Mass Storage 206umass* at uhub? port ? configuration ? interface ? 207scsibus* at scsi? 208sd* at scsibus? target ? lun ? # SCSI disk drives 209 210# USB Generic driver 211ugen* at uhub? port ? 212 213# USB Network interface 214udav* at uhub? port ? 215 216mvsdio* at mvsoc? offset ? irq ? 217sdmmc* at mvsdio? 218 219ld* at sdmmc? 220 221# On-chip Serial-ATA II Host Controller (SATAHC) 222mvsata* at mvsoc? offset ? irq ? 223#options MVSATA_WITHOUTDMA 224 225# ATA (IDE) bus support 226atabus* at ata? 227#options ATADEBUG 228 229# ATAPI bus support 230atapibus* at atapi? 231 232# IDE drives 233wd* at atabus? drive ? flags 0x0000 234 235# ATAPI devices 236# flags have the same meaning as for IDE drives. 237sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 238uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 239 240# On-chip Gigabit Ethernet Controller Interface (backward compatible mode) 241mvgbec* at mvsoc? offset ? 242mvgbe* at mvgbec? port ? irq ? 243 244# On-chip Gigabit Ethernet Controller Interface (counter mode) 245#mvxpbm* at mvsoc? offset ? 246#mvxpe* at mvsoc? irq ? 247#options MVXPE_EVENT_COUNTERS 248#options MVXPE_DEBUG=0 249 250# On-chip RTC 251mvsocrtc* at mvsoc? offset ? irq ? 252 253# On-chip PCI Express Interface 254mvpex* at mvsoc? offset ? irq ? 255 256# PCI bus support 257options PCI_NETBSD_CONFIGURE 258#options PCI_CONFIG_DUMP # verbosely dump PCI config space 259pci* at mvpex? 260pchb* at pci? dev ? function ? # PCI-Host bridges 261 262# PCI Serial-ATA Host Controller 263mvsata* at pci? dev ? function ? 264 265# PCI Ethernet 266wm* at pci? dev ? function ? # Intel 8254x gigabit 267re* at pci? dev ? function ? 268 269acphy* at mii? phy ? # Altima AC101 10/100 PHY 270amhphy* at mii? phy ? # AMD 79c901 PHY (10BASE-T part) 271bmtphy* at mii? phy ? # Broadcom BCM5201/5202 PHYs 272brgphy* at mii? phy ? # Broadcom BCM5400/5401 Gig-E PHYs 273ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 274dmphy* at mii? phy ? # Davicom DM9101 PHYs 275exphy* at mii? phy ? # 3Com internal PHYs 276gentbi* at mii? phy ? # Generic ten-bit 1000BASE-X PHYs 277glxtphy* at mii? phy ? # Level One LXT-1000 Gig-E PHYs 278gphyter* at mii? phy ? # NatSemi DP83861 Gig-E PHYs 279icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 PHYs 280igphy* at mii? phy ? # Intel IGP01E1000, i82566 10/100/1000 281ikphy* at mii? phy ? # Intel 82563 PHYs 282inphy* at mii? phy ? # Intel 82555 PHYs 283iophy* at mii? phy ? # Intel 82553 PHYs 284lxtphy* at mii? phy ? # Level One LXT-970 PHYs 285makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs 286nsphy* at mii? phy ? # NatSemi DP83840 PHYs 287nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs 288pnaphy* at mii? phy ? # Generic HomePNA PHYs 289qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 290rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 291rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 292sqphy* at mii? phy ? # Seeq 80220/80221/80223/80225 PHYs 293tlphy* at mii? phy ? # ThunderLAN internal PHYs 294tqphy* at mii? phy ? # TSC Semiconductor 78Q2120 PHYs 295ukphy* at mii? phy ? # Generic/unknown PHYs 296urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 297 298# PCI USB devices 299xhci* at pci? dev ? function ? 300usb* at xhci? 301 302# Pseudo-Devices 303# disk/mass storage pseudo-devices 304#pseudo-device md # memory disk device (ramdisk) 305pseudo-device vnd # pseudo disks (see vnconfig) 306#pseudo-device fss # file system snapshot device 307 308# network pseudo-devices 309pseudo-device bpfilter # Berkeley packet filter 310pseudo-device loop # network loopback 311pseudo-device kttcp # network loopback 312pseudo-device putter 313 314# miscellaneous pseudo-devices 315pseudo-device pty # pseudo-terminals 316#options RND_COM 317#pseudo-device clockctl # user control of clock subsystem 318pseudo-device ksyms # /dev/ksyms 319