ARMADAXP revision 1.21
1# 2# $NetBSD: ARMADAXP,v 1.21 2017/09/14 07:58:40 mrg 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 115#options PERFCTRS # performance counters 116options DIAGNOSTIC # internal consistency checks 117#options DEBUG 118#options PMAP_DEBUG # Enable pmap_debug_level code 119options PMAPCOUNTERS 120#options IPKDB # remote kernel debugging 121#options VERBOSE_INIT_ARM # verbose bootstraping messages 122options DDB # in-kernel debugger 123options DDB_ONPANIC=1 124options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 125options DDB_KEYCODE=0x1d # Enter ddb on ^] 126#options KGDB 127options KGDB_DEVADDR=0xd0012000 128makeoptions DEBUG="-g" # compile full symbol table 129makeoptions COPY_SYMTAB=1 130 131## USB Debugging options 132#options USB_DEBUG 133#options EHCI_DEBUG 134#options OHCI_DEBUG 135#options UHUB_DEBUG 136 137# Valid options for BOOT_ARGS: 138# single Boot to single user only 139# kdb Give control to kernel debugger 140# ask Ask for file name to reboot from 141# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 142# memorydisk=<n> Set memorydisk size to <n> KB 143# quiet Show aprint_naive output 144# verbose Show aprint_normal and aprint_verbose output 145#options BOOT_ARGS="\"verbose kdb\"" 146#options BOOT_ARGS="\"pmapdebug=1\"" 147 148config netbsd root on ? type ? 149#config netbsd root on sd0c type ffs 150#config netbsd root on wd0a type ffs 151#config netbsd root on re1 type nfs 152 153# The main bus device 154mainbus0 at root 155 156# The boot cpu 157cpu0 at mainbus? 158 159# Specify the memory size in bytes. 160options MEMSIZE=0x80000000 161 162# Marvell SoC Bus 163mvsoc0 at mainbus? 164options MVSOC_INTERREGS_PBASE=0xd0000000 165 166# On-chip Timers 167mvsoctmr* at mvsoc? offset ? irq ? 168 169# On-chip UART Interface 170com* at mvsoc? 171#options COM_DEBUG 172options CONSADDR=0xd0012000 173options CONSPEED=115200 174options CONSFREQ=250000000 175 176# On-chip Two-Wire Serial Interface (TWSI) 177gttwsi* at mvsoc? offset ? irq ? 178iic* at gttwsi? 179 180# Serial Peripheral Interface (SPI) 181mvspi* at mvsoc? offset ? irq ? 182spi* at mvspi? 183 184spiflash0 at spiflashbus? 185m25p0 at spi? slave 0 186 187# TWSI SDRAM Serial Presence Detect 188spdmem0 at iic? addr 0x56 189 190# On-chip Cryptographic Engines and Security Accelerator (S/W chaining) 191mvcesa* at mvsoc? offset ? irq ? 192 193# On-chip Cryptographic Engines and Security Accelerator (H/W chaining) 194#mvxpsec* at mvsoc? offset ? irq ? 195#options MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL 196 197# On-chip USB 2.0 Interface 198ehci* at mvsoc? offset ? irq ? 199 200# USB bus support 201usb* at ehci? 202 203# USB Hubs 204uhub* at usb? 205uhub* at uhub? port ? 206 207# USB Mass Storage 208umass* at uhub? port ? configuration ? interface ? 209wd* at umass? 210scsibus* at scsi? 211sd* at scsibus? target ? lun ? # SCSI disk drives 212 213# USB Generic driver 214ugen* at uhub? port ? 215 216# USB Network interface 217udav* at uhub? port ? 218 219mvsdio* at mvsoc? offset ? irq ? 220sdmmc* at mvsdio? 221 222ld* at sdmmc? 223 224# On-chip Serial-ATA II Host Controller (SATAHC) 225mvsata* at mvsoc? offset ? irq ? 226#options MVSATA_WITHOUTDMA 227 228# ATA (IDE) bus support 229atabus* at ata? 230#options ATADEBUG 231 232# ATAPI bus support 233atapibus* at atapi? 234 235# IDE drives 236wd* at atabus? drive ? flags 0x0000 237 238# ATAPI devices 239# flags have the same meaning as for IDE drives. 240sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 241uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 242 243# On-chip Gigabit Ethernet Controller Interface (backward compatible mode) 244mvgbec* at mvsoc? offset ? 245mvgbe* at mvgbec? port ? irq ? 246 247# On-chip Gigabit Ethernet Controller Interface (counter mode) 248#mvxpbm* at mvsoc? offset ? 249#mvxpe* at mvsoc? irq ? 250#options MVXPE_EVENT_COUNTERS 251#options MVXPE_DEBUG=0 252 253# On-chip RTC 254mvsocrtc* at mvsoc? offset ? irq ? 255 256# On-chip PCI Express Interface 257mvpex* at mvsoc? offset ? irq ? 258 259# PCI bus support 260options PCI_NETBSD_CONFIGURE 261#options PCI_CONFIG_DUMP # verbosely dump PCI config space 262pci* at mvpex? 263pchb* at pci? dev ? function ? # PCI-Host bridges 264 265# PCI Serial-ATA Host Controller 266mvsata* at pci? dev ? function ? 267 268# PCI Ethernet 269wm* at pci? dev ? function ? # Intel 8254x gigabit 270re* at pci? dev ? function ? 271 272acphy* at mii? phy ? # Altima AC101 10/100 PHY 273amhphy* at mii? phy ? # AMD 79c901 PHY (10BASE-T part) 274bmtphy* at mii? phy ? # Broadcom BCM5201/5202 PHYs 275brgphy* at mii? phy ? # Broadcom BCM5400/5401 Gig-E PHYs 276ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 277dmphy* at mii? phy ? # Davicom DM9101 PHYs 278exphy* at mii? phy ? # 3Com internal PHYs 279gentbi* at mii? phy ? # Generic ten-bit 1000BASE-X PHYs 280glxtphy* at mii? phy ? # Level One LXT-1000 Gig-E PHYs 281gphyter* at mii? phy ? # NatSemi DP83861 Gig-E PHYs 282icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 PHYs 283igphy* at mii? phy ? # Intel IGP01E1000, i82566 10/100/1000 284ikphy* at mii? phy ? # Intel 82563 PHYs 285inphy* at mii? phy ? # Intel 82555 PHYs 286iophy* at mii? phy ? # Intel 82553 PHYs 287lxtphy* at mii? phy ? # Level One LXT-970 PHYs 288makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs 289nsphy* at mii? phy ? # NatSemi DP83840 PHYs 290nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs 291pnaphy* at mii? phy ? # Generic HomePNA PHYs 292qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 293rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 294rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 295sqphy* at mii? phy ? # Seeq 80220/80221/80223/80225 PHYs 296tlphy* at mii? phy ? # ThunderLAN internal PHYs 297tqphy* at mii? phy ? # TSC Semiconductor 78Q2120 PHYs 298ukphy* at mii? phy ? # Generic/unknown PHYs 299urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 300 301# PCI USB devices 302xhci* at pci? dev ? function ? 303usb* at xhci? 304 305# Pseudo-Devices 306# disk/mass storage pseudo-devices 307#pseudo-device md # memory disk device (ramdisk) 308pseudo-device vnd # pseudo disks (see vnconfig) 309#pseudo-device fss # file system snapshot device 310 311# network pseudo-devices 312pseudo-device bpfilter # Berkeley packet filter 313pseudo-device loop # network loopback 314pseudo-device kttcp # network loopback 315pseudo-device putter 316 317# miscellaneous pseudo-devices 318pseudo-device pty # pseudo-terminals 319#options RND_COM 320#pseudo-device clockctl # user control of clock subsystem 321pseudo-device ksyms # /dev/ksyms 322