Home | History | Annotate | Line # | Download | only in conf
ARMADAXP revision 1.26.10.1
      1 #
      2 #	$NetBSD: ARMADAXP,v 1.26.10.1 2020/04/20 11:28:54 bouyer 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 	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
     56 options 	WAPBL		# File system journaling support
     57 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     58 
     59 # Networking options
     60 options 	GATEWAY		# packet forwarding
     61 options 	INET		# IP + ICMP + TCP + UDP
     62 options 	INET6		# IPV6
     63 #options 	IPSEC		# IP security
     64 #options 	IPSEC_DEBUG	# debug for IP security
     65 options 	MROUTING	# IP multicast routing
     66 options 	PIM		# Protocol Independent Multicast
     67 options 	NETATALK	# AppleTalk networking
     68 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     69 options 	PPP_DEFLATE	# Deflate compression support for PPP
     70 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     71 options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     72 options 	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
     86 include 	"conf/compat_netbsd50.config"
     87 options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     88 
     89 # Shared memory options
     90 options 	SYSVMSG		# System V-like message queues
     91 options 	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
     96 options 	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
    106 options 	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
    114 options 	LOCKDEBUG
    115 options 	DIAGNOSTIC		# internal consistency checks
    116 #options 	DEBUG
    117 #options 	UVMHIST		# kernhist for uvm/pmap subsystems
    118 options 	PMAPCOUNTERS
    119 #options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
    120 options 	DDB			# in-kernel debugger
    121 options 	DDB_ONPANIC=1
    122 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    123 options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
    124 #options 	KGDB
    125 options 	KGDB_DEVADDR=0xd0012000
    126 makeoptions 	DEBUG="-g"		# compile full symbol table
    127 makeoptions	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 #  memorydisk=<n>	Set memorydisk size to <n> KB
    140 #  quiet		Show aprint_naive output
    141 #  verbose		Show aprint_normal and aprint_verbose output
    142 #options		BOOT_ARGS="\"verbose kdb\""
    143 #options		BOOT_ARGS="\"pmapdebug=1\""
    144 
    145 config		netbsd		root on ? type ?
    146 #config		netbsd		root on sd0c  type ffs
    147 #config		netbsd		root on wd0a  type ffs
    148 #config		netbsd		root on re1  type nfs
    149 
    150 # The main bus device
    151 mainbus0	at root
    152 
    153 # The boot cpu
    154 cpu0		at mainbus?
    155 
    156 # Specify the memory size in bytes.
    157 options 	MEMSIZE=0x80000000
    158 
    159 # Marvell SoC Bus
    160 mvsoc0		at mainbus?
    161 options 	MVSOC_INTERREGS_PBASE=0xd0000000
    162 
    163 # On-chip Timers
    164 mvsoctmr*	at mvsoc? offset ? irq ?
    165 
    166 # On-chip UART Interface
    167 com*		at mvsoc?
    168 #options 	COM_DEBUG
    169 options 	CONSADDR=0xd0012000
    170 options 	CONSPEED=115200
    171 options 	CONSFREQ=250000000
    172 
    173 # On-chip Two-Wire Serial Interface (TWSI)
    174 gttwsi*		at mvsoc? offset ? irq ?
    175 iic*		at gttwsi?
    176 
    177 # Serial Peripheral Interface (SPI)
    178 mvspi*		at mvsoc? offset ? irq ?
    179 spi*		at mvspi?
    180 
    181 spiflash0	at spiflashbus?
    182 m25p0		at spi? slave 0
    183 
    184 # TWSI SDRAM Serial Presence Detect
    185 spdmem0		at iic? addr 0x56
    186 
    187 # On-chip Cryptographic Engines and Security Accelerator (S/W chaining)
    188 mvcesa* 	at mvsoc? offset ? irq ?
    189 
    190 # On-chip Cryptographic Engines and Security Accelerator (H/W chaining)
    191 #mvxpsec*	at mvsoc? offset ? irq ?
    192 #options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
    193 
    194 # On-chip USB 2.0 Interface
    195 ehci*		at mvsoc? offset ? irq ?
    196 
    197 # USB bus support
    198 usb*		at ehci?
    199 
    200 # USB Hubs
    201 uhub*		at usb?
    202 uhub*		at uhub? port ?
    203 
    204 # USB Mass Storage
    205 umass*		at uhub? port ? configuration ? interface ?
    206 scsibus*	at scsi?
    207 sd*		at scsibus? target ? lun ?	# SCSI disk drives
    208 
    209 # USB Generic driver
    210 ugen*		at uhub? port ?
    211 
    212 # USB Network interface
    213 udav*		at uhub? port ?
    214 
    215 mvsdio*		at mvsoc? offset ? irq ?
    216 sdmmc*		at mvsdio?
    217 
    218 ld*		at sdmmc?
    219 
    220 # On-chip Serial-ATA II Host Controller (SATAHC)
    221 mvsata*		at mvsoc? offset ? irq ?
    222 #options 	MVSATA_WITHOUTDMA
    223 
    224 # ATA (IDE) bus support
    225 atabus*		at ata?
    226 #options 	ATADEBUG
    227 
    228 # ATAPI bus support
    229 atapibus*	at atapi?
    230 
    231 # IDE drives
    232 wd*		at atabus? drive ? flags 0x0000
    233 
    234 # ATAPI devices
    235 # flags have the same meaning as for IDE drives.
    236 sd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
    237 uk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
    238 
    239 # On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
    240 mvgbec* 	at mvsoc? offset ?
    241 mvgbe*		at mvgbec? port ? irq ?
    242 
    243 # On-chip Gigabit Ethernet Controller Interface (counter mode)
    244 #mvxpbm* 	at mvsoc? offset ?
    245 #mvxpe* 	at mvsoc? irq ?
    246 #options 	MVXPE_EVENT_COUNTERS
    247 #options 	MVXPE_DEBUG=0
    248 
    249 # On-chip RTC
    250 mvsocrtc*	at mvsoc? offset ? irq ?
    251 
    252 # On-chip PCI Express Interface
    253 mvpex*		at mvsoc? offset ? irq ?
    254 
    255 # PCI bus support
    256 options 	PCI_NETBSD_CONFIGURE
    257 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    258 pci*		at mvpex?
    259 pchb*		at pci? dev ? function ?	# PCI-Host bridges
    260 
    261 # PCI Serial-ATA Host Controller
    262 mvsata* 	at pci? dev ? function ?
    263 
    264 # PCI Ethernet
    265 wm*		at pci? dev ? function ?	# Intel 8254x gigabit
    266 re*		at pci? dev ? function ?
    267 
    268 acphy*		at mii? phy ?		# Altima AC101 10/100 PHY
    269 amhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
    270 bmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
    271 brgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
    272 ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
    273 dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
    274 exphy*		at mii? phy ?		# 3Com internal PHYs
    275 gentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
    276 glxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
    277 gphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
    278 icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
    279 igphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
    280 ikphy*		at mii? phy ?		# Intel 82563 PHYs
    281 inphy*		at mii? phy ?		# Intel 82555 PHYs
    282 iophy*		at mii? phy ?		# Intel 82553 PHYs
    283 lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
    284 makphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
    285 nsphy*		at mii? phy ?		# NatSemi DP83840 PHYs
    286 nsphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
    287 pnaphy*		at mii? phy ?		# Generic HomePNA PHYs
    288 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    289 rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
    290 rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
    291 sqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
    292 tlphy*		at mii? phy ?		# ThunderLAN internal PHYs
    293 tqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
    294 ukphy*		at mii? phy ?		# Generic/unknown PHYs
    295 urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
    296 
    297 # PCI USB devices
    298 xhci*		at pci? dev ? function ?
    299 usb*		at xhci?
    300 
    301 # Pseudo-Devices
    302 # disk/mass storage pseudo-devices
    303 #pseudo-device	md			# memory disk device (ramdisk)
    304 pseudo-device	vnd			# pseudo disks (see vnconfig)
    305 #pseudo-device	fss			# file system snapshot device
    306 
    307 # network pseudo-devices
    308 pseudo-device	bpfilter		# Berkeley packet filter
    309 pseudo-device	loop			# network loopback
    310 pseudo-device	kttcp			# network loopback
    311 pseudo-device	putter
    312 
    313 # miscellaneous pseudo-devices
    314 pseudo-device	pty			# pseudo-terminals
    315 #options 	RND_COM
    316 #pseudo-device	clockctl		# user control of clock subsystem
    317 pseudo-device	ksyms			# /dev/ksyms
    318