Home | History | Annotate | Line # | Download | only in conf
MV2120 revision 1.45
      1 #	$NetBSD: MV2120,v 1.45 2020/09/27 13:48:50 roy Exp $
      2 #
      3 #  This configuration supports for HP MV2120/MV5140/MV5150.
      4 
      5 include 	"arch/evbarm/conf/std.mv2120"
      6 
      7 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      8 makeoptions	COPY_SYMTAB=1
      9 
     10 makeoptions	DEBUG="-g"
     11 
     12 # estimated number of users
     13 
     14 maxusers	32
     15 
     16 # Board Type
     17 makeoptions	BOARDTYPE="mv2120"
     18 options 	EVBARM_BOARDTYPE=mv2120
     19 
     20 # CPU options
     21 options 	CPU_ARM9E
     22 makeoptions	CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os"
     23 
     24 # Marvell SoC options
     25 options 	ORION
     26 
     27 # Standard system options
     28 
     29 options 	MSGBUFSIZE=32768
     30 
     31 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     32 options 	NTP		# NTP phase/frequency locked loop
     33 
     34 # File systems
     35 
     36 file-system 	FFS		# UFS
     37 file-system 	EXT2FS		# second extended file system (linux)
     38 file-system 	LFS		# log-structured file system
     39 file-system 	MFS		# memory file system
     40 file-system 	NFS		# Network File System client
     41 file-system 	NTFS		# Windows/NT file system (experimental)
     42 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     43 file-system 	MSDOSFS		# MS-DOS file system
     44 file-system 	FDESC		# /dev/fd
     45 file-system 	KERNFS		# /kern
     46 file-system 	NULLFS		# loopback file system
     47 file-system 	OVERLAY		# overlay file system
     48 file-system 	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     49 file-system 	PROCFS		# /proc
     50 file-system 	UMAPFS		# NULLFS + uid and gid remapping
     51 file-system 	UNION		# union file system
     52 file-system 	CODA		# Coda File System; also needs vcoda (below)
     53 file-system 	PTYFS		# /dev/ptm support
     54 file-system 	TMPFS		# Efficient memory file-system
     55 file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
     56 file-system 	HFS		# experimental - Apple HFS+ (read-only)
     57 
     58 # File system options
     59 options 	QUOTA		# UFS quotas
     60 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     61 #options 	FFS_EI		# FFS Endian Independent support
     62 options 	WAPBL		# File system journaling support
     63 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
     64 # It is not recommended for general use.
     65 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     66 options 	NFSSERVER	# Network File System server
     67 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     68 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     69 				# immutable) behave as system flags.
     70 
     71 # Networking options
     72 
     73 options TCP_CSUM_COUNTERS
     74 options UDP_CSUM_COUNTERS
     75 
     76 #options 	GATEWAY		# packet forwarding
     77 options 	INET		# IP + ICMP + TCP + UDP
     78 options 	INET6		# IPv6
     79 #options 	IPSEC		# IP security
     80 #options 	IPSEC_DEBUG	# debug for IP security
     81 #options 	MROUTING	# IP multicast routing
     82 #options 	PIM		# Protocol Independent Multicast
     83 #options 	NETATALK	# AppleTalk networking protocols
     84 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     85 options 	PPP_DEFLATE	# Deflate compression support for PPP
     86 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     87 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     88 
     89 options 	NFS_BOOT_BOOTP
     90 #options 	NFS_BOOT_BOOTPARAM
     91 options 	NFS_BOOT_DHCP
     92 options 	NFS_BOOT_TCP
     93 
     94 # Compatibility options
     95 
     96 include 	"conf/compat_netbsd16.config"
     97 options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     98 
     99 # Shared memory options
    100 
    101 #options 	SYSVMSG		# System V-like message queues
    102 #options 	SYSVSEM		# System V-like semaphores
    103 #options 	SYSVSHM		# System V-like memory sharing
    104 
    105 # Device options
    106 
    107 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    108 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    109 #options 	MEMORY_DISK_DYNAMIC
    110 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    111 #options 	MEMORY_RBFLAGS=RB_AUTOBOOT
    112 
    113 # Miscellaneous kernel options
    114 
    115 options 	KTRACE		# system call tracing, a la ktrace(1)
    116 options 	IRQSTATS	# manage IRQ statistics
    117 options 	DDB		# in-kernel debugger
    118 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    119 #options 	PCIVERBOSE	# Verbose PCI descriptions
    120 options 	SCSIVERBOSE	# human readable SCSI error messages
    121 options 	USBVERBOSE	# verbose USB device autoconfig messages
    122 #options 	DDB_KEYCODE=0x40
    123 options 	USERCONF	# userconf(4) support
    124 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    125 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    126 
    127 config		netbsd		root on ? type ?
    128 config		netbsd-mvgbe0	root on mvgbe0 type nfs
    129 config		netbsd-wd0e	root on wd0e type ?
    130 config		netbsd-wd0f	root on wd0f type ?
    131 config		netbsd-wd0g	root on wd0g type ?
    132 config		netbsd-wd0h	root on wd0h type ?
    133 
    134 # The main bus device
    135 mainbus0 at root
    136 
    137 # The boot cpu
    138 cpu0	at mainbus?
    139 
    140 # Mervell MV88Fxx81 Orion System-on-Chip
    141 mvsoc0	at mainbus?
    142 
    143 # On-chip PCI Express Interface
    144 #mvpex*	at mvsoc? offset ? irq ?
    145 
    146 # On-chip PCI Interface
    147 #gtpci*	at mvsoc? offset ? irq ?
    148 
    149 # PCI bus support
    150 #options 	PCI_NETBSD_CONFIGURE
    151 #options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
    152 
    153 #pci*	at mvpex?
    154 #pci*	at gtpci?
    155 
    156 #pchb*	at pci? dev ? function ?	# PCI-Host bridges
    157 
    158 # PCI IDE Controller
    159 #mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
    160 
    161 # On-chip Serial-ATA II Host Controller (SATAHC)
    162 mvsata*	at mvsoc? offset ? irq ?
    163 
    164 # On-chip Gigabit Ethernet Controller Interface
    165 mvgbec*	at mvsoc? offset ?
    166 mvgbe*	at mvgbec? port ? irq ?
    167 
    168 # On-chip USB 2.0 Interface
    169 ehci*	at mvsoc? offset ? irq ?
    170 
    171 # On-chip Cryptographic Engines and Security Accelerator
    172 #mvcesa* at mvsoc? offset ? irq ?
    173 
    174 # On-chip Two-Wire Serial Interface (TWSI)
    175 gttwsi* at mvsoc? offset ? irq ?
    176 iic*	at gttwsi?				# I2C bus
    177 
    178 # On-chip UART Interface
    179 com*	at mvsoc? offset ? irq ?
    180 
    181 # On-chip IDMA Controller
    182 #gtidmac* at mvsoc? offset ? irq ?
    183 
    184 # On-chip General Purpose I/O Port Interface
    185 mvsocgpp* at mvsoc? offset ? irq ?
    186 gpio*	at mvsocgpp?
    187 
    188 # On-chip Timers
    189 mvsoctmr* at mvsoc? offset ? irq ?
    190 
    191 # Real Time Clock
    192 pcf8563rtc* at iic? addr 0x51
    193 
    194 # MII/PHY support
    195 makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    196 rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
    197 rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
    198 ukphy*	at mii? phy ?			# generic unknown PHYs
    199 
    200 # ATA (IDE) bus support
    201 atabus*	at ata?
    202 #options 	ATADEBUG
    203 
    204 # IDE drives
    205 wd0	at atabus0 drive 0 flags 0x0000
    206 wd1	at atabus1 drive 0 flags 0x0000
    207 wd*	at atabus? drive ? flags 0x0000
    208 
    209 # ATAPI bus support
    210 atapibus* at atapi?
    211 
    212 # ATAPI devices
    213 # flags have the same meaning as for IDE drives.
    214 cd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
    215 sd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
    216 st*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
    217 uk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
    218 
    219 # SCSI bus support
    220 scsibus* at scsi?
    221 
    222 # SCSI devices
    223 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    224 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    225 st*	at scsibus? target ? lun ?	# SCSI tape drives
    226 uk*	at scsibus? target ? lun ?	# SCSI unknown
    227 
    228 usb* at ehci?
    229 include "dev/usb/usbdevices.config"
    230 include "dev/bluetooth/bluetoothdevices.config"
    231 
    232 audio*  at audiobus?
    233 midi*   at midibus?
    234 
    235 spkr*	at audio?		# PC speaker (synthesized)
    236 
    237 # Pseudo-Devices
    238 
    239 pseudo-device	crypto			# /dev/crypto device
    240 pseudo-device	swcrypto		# software crypto implementation
    241 
    242 # disk/mass storage pseudo-devices
    243 #pseudo-device	bio			# RAID control device driver
    244 pseudo-device	ccd			# concatenated/striped disk devices
    245 pseudo-device	cgd			# cryptographic disk devices
    246 pseudo-device	raid			# RAIDframe disk driver
    247 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    248 # Options to enable various other RAIDframe RAID types.
    249 #options 	RF_INCLUDE_EVENODD=1
    250 #options 	RF_INCLUDE_RAID5_RS=1
    251 #options 	RF_INCLUDE_PARITYLOGGING=1
    252 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    253 #options 	RF_INCLUDE_INTERDECLUSTER=1
    254 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    255 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    256 pseudo-device	fss			# file system snapshot device
    257 pseudo-device	putter			# for puffs and pud
    258 
    259 #pseudo-device	md			# memory disk device (ramdisk)
    260 pseudo-device	vnd			# disk-like interface to files
    261 options 	VND_COMPRESSION		# compressed vnd(4)
    262 
    263 # network pseudo-devices
    264 pseudo-device	bpfilter		# Berkeley packet filter
    265 #pseudo-device	carp			# Common Address Redundancy Protocol
    266 pseudo-device	npf			# NPF packet filter
    267 pseudo-device	loop			# network loopback
    268 pseudo-device	ppp			# Point-to-Point Protocol
    269 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    270 #pseudo-device	sl			# Serial Line IP
    271 #pseudo-device	irframetty		# IrDA frame line discipline
    272 pseudo-device	tap			# virtual Ethernet
    273 pseudo-device	tun			# network tunneling over tty
    274 #pseudo-device	gre			# generic L3 over IP tunnel
    275 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    276 #pseudo-device	faith			# IPv[46] TCP relay translation i/f
    277 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    278 pseudo-device	vlan			# IEEE 802.1q encapsulation
    279 #pseudo-device	bridge			# simple inter-network bridging
    280 #pseudo-device	vether			# Virtual Ethernet for bridge
    281 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    282 
    283 # miscellaneous pseudo-devices
    284 pseudo-device	pty			# pseudo-terminals
    285 #pseudo-device	sequencer		# MIDI sequencer
    286 #options 	RND_COM
    287 pseudo-device	clockctl		# user control of clock subsystem
    288 pseudo-device	ksyms			# /dev/ksyms
    289 
    290 # a pseudo device needed for Coda	# also needs CODA (above)
    291 pseudo-device	vcoda			# coda minicache <-> venus comm.
    292 
    293 # wscons pseudo-devices
    294 pseudo-device	wsmux			# mouse & keyboard multiplexor
    295 pseudo-device	wsfont
    296 
    297 # data mover pseudo-devices
    298 #pseudo-device	swdmover		# software dmover(9) back-end
    299 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    300 
    301 pseudo-device	dm
    302 
    303 # Veriexec
    304 include "dev/veriexec.config"
    305 
    306 options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    307 options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    308 
    309 pseudo-device drvctl
    310 
    311 # Wedge support
    312 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
    313 options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
    314 
    315 # Alternate buffer queue strategies for better responsiveness under high
    316 # disk I/O load.
    317 options BUFQ_READPRIO
    318 options BUFQ_PRIOCSCAN
    319