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