Home | History | Annotate | Line # | Download | only in conf
MV2120 revision 1.43
      1 #	$NetBSD: MV2120,v 1.43 2020/08/01 08:20:48 maxv 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 options 	COMPAT_LINUX	# binary compatibility with Linux
    100 
    101 # Shared memory options
    102 
    103 #options 	SYSVMSG		# System V-like message queues
    104 #options 	SYSVSEM		# System V-like semaphores
    105 #options 	SYSVSHM		# System V-like memory sharing
    106 
    107 # Device options
    108 
    109 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    110 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    111 #options 	MEMORY_DISK_DYNAMIC
    112 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    113 #options 	MEMORY_RBFLAGS=RB_AUTOBOOT
    114 
    115 # Miscellaneous kernel options
    116 
    117 options 	KTRACE		# system call tracing, a la ktrace(1)
    118 options 	IRQSTATS	# manage IRQ statistics
    119 options 	DDB		# in-kernel debugger
    120 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    121 #options 	PCIVERBOSE	# Verbose PCI descriptions
    122 options 	SCSIVERBOSE	# human readable SCSI error messages
    123 options 	USBVERBOSE	# verbose USB device autoconfig messages
    124 #options 	DDB_KEYCODE=0x40
    125 options 	USERCONF	# userconf(4) support
    126 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    127 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    128 
    129 config		netbsd		root on ? type ?
    130 config		netbsd-mvgbe0	root on mvgbe0 type nfs
    131 config		netbsd-wd0e	root on wd0e type ?
    132 config		netbsd-wd0f	root on wd0f type ?
    133 config		netbsd-wd0g	root on wd0g type ?
    134 config		netbsd-wd0h	root on wd0h type ?
    135 
    136 # The main bus device
    137 mainbus0 at root
    138 
    139 # The boot cpu
    140 cpu0	at mainbus?
    141 
    142 # Mervell MV88Fxx81 Orion System-on-Chip
    143 mvsoc0	at mainbus?
    144 
    145 # On-chip PCI Express Interface
    146 #mvpex*	at mvsoc? offset ? irq ?
    147 
    148 # On-chip PCI Interface
    149 #gtpci*	at mvsoc? offset ? irq ?
    150 
    151 # PCI bus support
    152 #options 	PCI_NETBSD_CONFIGURE
    153 #options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
    154 
    155 #pci*	at mvpex?
    156 #pci*	at gtpci?
    157 
    158 #pchb*	at pci? dev ? function ?	# PCI-Host bridges
    159 
    160 # PCI IDE Controller
    161 #mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
    162 
    163 # On-chip Serial-ATA II Host Controller (SATAHC)
    164 mvsata*	at mvsoc? offset ? irq ?
    165 
    166 # On-chip Gigabit Ethernet Controller Interface
    167 mvgbec*	at mvsoc? offset ?
    168 mvgbe*	at mvgbec? port ? irq ?
    169 
    170 # On-chip USB 2.0 Interface
    171 ehci*	at mvsoc? offset ? irq ?
    172 
    173 # On-chip Cryptographic Engines and Security Accelerator
    174 #mvcesa* at mvsoc? offset ? irq ?
    175 
    176 # On-chip Two-Wire Serial Interface (TWSI)
    177 gttwsi* at mvsoc? offset ? irq ?
    178 iic*	at gttwsi?				# I2C bus
    179 
    180 # On-chip UART Interface
    181 com*	at mvsoc? offset ? irq ?
    182 
    183 # On-chip IDMA Controller
    184 #gtidmac* at mvsoc? offset ? irq ?
    185 
    186 # On-chip General Purpose I/O Port Interface
    187 mvsocgpp* at mvsoc? offset ? irq ?
    188 gpio*	at mvsocgpp?
    189 
    190 # On-chip Timers
    191 mvsoctmr* at mvsoc? offset ? irq ?
    192 
    193 # Real Time Clock
    194 pcf8563rtc* at iic? addr 0x51
    195 
    196 # MII/PHY support
    197 makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    198 rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
    199 rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
    200 ukphy*	at mii? phy ?			# generic unknown PHYs
    201 
    202 # ATA (IDE) bus support
    203 atabus*	at ata?
    204 #options 	ATADEBUG
    205 
    206 # IDE drives
    207 wd0	at atabus0 drive 0 flags 0x0000
    208 wd1	at atabus1 drive 0 flags 0x0000
    209 wd*	at atabus? drive ? flags 0x0000
    210 
    211 # ATAPI bus support
    212 atapibus* at atapi?
    213 
    214 # ATAPI devices
    215 # flags have the same meaning as for IDE drives.
    216 cd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
    217 sd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
    218 st*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
    219 uk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
    220 
    221 # SCSI bus support
    222 scsibus* at scsi?
    223 
    224 # SCSI devices
    225 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    226 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    227 st*	at scsibus? target ? lun ?	# SCSI tape drives
    228 uk*	at scsibus? target ? lun ?	# SCSI unknown
    229 
    230 usb* at ehci?
    231 include "dev/usb/usbdevices.config"
    232 include "dev/bluetooth/bluetoothdevices.config"
    233 
    234 audio*  at audiobus?
    235 midi*   at midibus?
    236 
    237 spkr*	at audio?		# PC speaker (synthesized)
    238 
    239 # Pseudo-Devices
    240 
    241 pseudo-device	crypto			# /dev/crypto device
    242 pseudo-device	swcrypto		# software crypto implementation
    243 
    244 # disk/mass storage pseudo-devices
    245 #pseudo-device	bio			# RAID control device driver
    246 pseudo-device	ccd			# concatenated/striped disk devices
    247 pseudo-device	cgd			# cryptographic disk devices
    248 pseudo-device	raid			# RAIDframe disk driver
    249 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    250 # Options to enable various other RAIDframe RAID types.
    251 #options 	RF_INCLUDE_EVENODD=1
    252 #options 	RF_INCLUDE_RAID5_RS=1
    253 #options 	RF_INCLUDE_PARITYLOGGING=1
    254 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    255 #options 	RF_INCLUDE_INTERDECLUSTER=1
    256 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    257 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    258 pseudo-device	fss			# file system snapshot device
    259 pseudo-device	putter			# for puffs and pud
    260 
    261 #pseudo-device	md			# memory disk device (ramdisk)
    262 pseudo-device	vnd			# disk-like interface to files
    263 options 	VND_COMPRESSION		# compressed vnd(4)
    264 
    265 # network pseudo-devices
    266 pseudo-device	bpfilter		# Berkeley packet filter
    267 #pseudo-device	carp			# Common Address Redundancy Protocol
    268 pseudo-device	npf			# NPF packet filter
    269 pseudo-device	loop			# network loopback
    270 pseudo-device	ppp			# Point-to-Point Protocol
    271 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    272 #pseudo-device	sl			# Serial Line IP
    273 #pseudo-device	irframetty		# IrDA frame line discipline
    274 pseudo-device	tap			# virtual Ethernet
    275 pseudo-device	tun			# network tunneling over tty
    276 #pseudo-device	gre			# generic L3 over IP tunnel
    277 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    278 #pseudo-device	faith			# IPv[46] TCP relay translation i/f
    279 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    280 pseudo-device	vlan			# IEEE 802.1q encapsulation
    281 #pseudo-device	bridge			# simple inter-network bridging
    282 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    283 
    284 # miscellaneous pseudo-devices
    285 pseudo-device	pty			# pseudo-terminals
    286 #pseudo-device	sequencer		# MIDI sequencer
    287 #options 	RND_COM
    288 pseudo-device	clockctl		# user control of clock subsystem
    289 pseudo-device	ksyms			# /dev/ksyms
    290 
    291 # a pseudo device needed for Coda	# also needs CODA (above)
    292 pseudo-device	vcoda			# coda minicache <-> venus comm.
    293 
    294 # wscons pseudo-devices
    295 pseudo-device	wsmux			# mouse & keyboard multiplexor
    296 pseudo-device	wsfont
    297 
    298 # data mover pseudo-devices
    299 #pseudo-device	swdmover		# software dmover(9) back-end
    300 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    301 
    302 pseudo-device	dm
    303 
    304 # Veriexec
    305 include "dev/veriexec.config"
    306 
    307 options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    308 options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    309 
    310 pseudo-device drvctl
    311 
    312 # Wedge support
    313 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
    314 options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
    315 
    316 # Alternate buffer queue strategies for better responsiveness under high
    317 # disk I/O load.
    318 options BUFQ_READPRIO
    319 options BUFQ_PRIOCSCAN
    320