Home | History | Annotate | Line # | Download | only in conf
OPENBLOCKS_AX3 revision 1.9
      1 #	$NetBSD: OPENBLOCKS_AX3,v 1.9 2014/08/03 09:18:16 martin Exp $
      2 #
      3 #	OPENBLOCKS_AX3 -- Plat'Home. OpenBlockS AX3 kernel
      4 #
      5 
      6 include 	"arch/evbarm/conf/std.marvell"
      7 
      8 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # estimated number of users
     11 
     12 maxusers	32
     13 
     14 # Board Type
     15 makeoptions	BOARDTYPE="openblocks_ax3"
     16 options 	EVBARM_BOARDTYPE=openblocks_ax3
     17 
     18 # CPU options
     19 options 	CPU_PJ4B
     20 options 	L2CACHE_ENABLE
     21 #options 	AURORA_IO_CACHE_COHERENCY
     22 options 	AURORA_L2_PT_WALK
     23 options 	ARM_HAS_VBAR
     24 #options 	FPU_VFP
     25 #makeoptions	CPUFLAGS="-march=armv7-a -mfpu=neon"
     26 makeoptions	CPUFLAGS="-march=armv7-a -msoft-float"
     27 
     28 # Architecture options
     29 options 	ARMADAXP
     30 
     31 options 	PIC_MAXSOURCES=128
     32 
     33 # Standard system options
     34 
     35 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     36 options 	NTP		# NTP phase/frequency locked loop
     37 
     38 # File systems
     39 
     40 file-system 	FFS		# UFS
     41 file-system 	EXT2FS		# second extended file system (linux)
     42 #file-system 	LFS		# log-structured file system
     43 #file-system 	MFS		# memory file system
     44 file-system 	NFS		# Network file system
     45 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     46 file-system 	MSDOSFS		# MS-DOS file system
     47 #file-system 	FDESC		# /dev/fd
     48 file-system 	KERNFS		# /kern
     49 file-system 	NULLFS		# loopback file system
     50 file-system 	PROCFS		# /proc
     51 file-system 	PTYFS		# /dev/pts/N support
     52 #file-system 	PUFFS		# Pass-to-Userspace Framework File System
     53 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     54 file-system 	UNION		# union file system
     55 file-system 	TMPFS		# Efficient memory file-system
     56 
     57 # File system options
     58 #options 	QUOTA		# legacy UFS quotas
     59 #options 	QUOTA2		# new, in-filesystem UFS quotas
     60 options 	FFS_EI		# FFS Endian Independent support
     61 options 	NFSSERVER	# Network File System server
     62 options 	WAPBL		# File system journaling support
     63 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     64 
     65 # Networking options
     66 
     67 options 	GATEWAY		# packet forwarding
     68 options 	INET		# IP + ICMP + TCP + UDP
     69 options 	INET6		# IPv6
     70 options 	IPSEC		# IP security
     71 #options 	IPSEC_DEBUG	# debug for IP security
     72 options 	MROUTING	# IP multicast routing
     73 options 	PIM		# Protocol Independent Multicast
     74 options 	NETATALK	# AppleTalk networking protocols
     75 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     76 options 	PPP_DEFLATE	# Deflate compression support for PPP
     77 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     78 options 	IPFILTER_LOG	# ipmon(8) log support
     79 options 	IPFILTER_LOOKUP	# ippool(8) support
     80 options 	IPFILTER_COMPAT	# Compat for IP-Filter
     81 options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
     82 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     83 
     84 #options 	NFS_BOOT_BOOTP
     85 options 	NFS_BOOT_DHCP
     86 #options 	NFS_BOOT_BOOTPARAM
     87 
     88 #options 	NFS_BOOT_RWSIZE=1024
     89 
     90 # Compatibility options
     91 
     92 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     93 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     94 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     95 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     96 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     97 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     98 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     99 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
    100 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
    101 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
    102 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
    103 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
    104 options 	COMPAT_50	# NetBSD 5.0 compatibility.
    105 options 	COMPAT_60	# NetBSD 6.0 compatibility.
    106 #options 	COMPAT_43	# 4.3BSD compatibility.
    107 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    108 
    109 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
    110 options 	COMPAT_LINUX	# binary compatibility with Linux
    111 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    112 
    113 # Shared memory options
    114 
    115 options 	SYSVMSG		# System V-like message queues
    116 options 	SYSVSEM		# System V-like semaphores
    117 #options 	SEMMNI=10	# number of semaphore identifiers
    118 #options 	SEMMNS=60	# number of semaphores in system
    119 #options 	SEMUME=10	# max number of undo entries per process
    120 #options 	SEMMNU=30	# number of undo structures in system
    121 options 	SYSVSHM		# System V-like memory sharing
    122 
    123 # Device options
    124 
    125 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    126 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    127 #options 	MEMORY_DISK_DYNAMIC
    128 #options 	MINIROOTSIZE=1000	# Size in blocks
    129 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    130 #options 	MEMORY_RBFLAGS=RB_AUTOBOOT
    131 
    132 # Miscellaneous kernel options
    133 
    134 #options 	KTRACE		# system call tracing, a la ktrace(1)
    135 options 	IRQSTATS	# manage IRQ statistics
    136 #options 	KMEMSTATS	# kernel memory statistics
    137 #options 	MIIVERBOSE	# Verbose MII auto configuration messages
    138 #options 	PCIVERBOSE	# Verbose PCI descriptions
    139 #options 	SCSIVERBOSE	# Verbose SCSI errors
    140 options 	USBVERBOSE	# Verbose USB device auto configuration messages
    141 #options 	DDB_KEYCODE=0x40
    142 #options 	USERCONF	# userconf(4) support
    143 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    144 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    145 
    146 # Development and Debugging options
    147 
    148 #options 	PERFCTRS	# performance counters
    149 options 	DIAGNOSTIC	# internal consistency checks
    150 options 	DEBUG
    151 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    152 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    153 options 	DDB		# in-kernel debugger
    154 options 	DDB_ONPANIC=1
    155 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    156 #options 	KGDB
    157 #options 	DEBUG_KGDB
    158 makeoptions	DEBUG="-g"	# compile full symbol table
    159 options 	SYMTAB_SPACE=800000
    160 
    161 config		netbsd		root on ? type ?
    162 
    163 # The main bus device
    164 mainbus0 at root
    165 
    166 # The boot cpu
    167 cpu0	at mainbus?
    168 
    169 # Marvell MV88F78260 ARMADA XP System-on-chip
    170 mvsoc0	at mainbus?
    171 options 	MVSOC_INTERREGS_PBASE=0xd0000000
    172 options 	MVSOC_FIXUP_DEVID=0x7826
    173 
    174 # On-chip Serial-ATA II Host Controller (SATAHC)
    175 mvsata* at mvsoc? offset ? irq ?
    176 
    177 # On-chip Gigabit Ethernet Controller Interface
    178 mvgbec* at mvsoc? offset ?
    179 mvgbe*	at mvgbec? port ? irq ?
    180 makphy* at mii? phy ?
    181 
    182 # On-chip USB 2.0 Interface
    183 ehci*	at mvsoc? offset ? irq ?
    184 
    185 # Serial Peripheral Interface (SPI)
    186 #mvspi*	at mvsoc? offset ? irq ?
    187 #spi*	at mvspi?
    188 
    189 # On-chip Two-Wire Serial Interface (TWSI)
    190 gttwsi* at mvsoc? offset ? irq ?
    191 iic*	at gttwsi?
    192 s390rtc* at iic1 addr 0x30
    193 
    194 # On-chip UART Interface
    195 com*	at mvsoc? offset ? irq ?
    196 options 	COM_16750		# XXXX: required
    197 #options 	COM_DEBUG
    198 
    199 # On-chip PCI Express Interface
    200 mvpex*	at mvsoc? offset ? irq ?
    201 
    202 # On-chip IDMA Controller
    203 gtidmac* at mvsoc? offset ? irq ?
    204 
    205 # On-chip SD/MMC Interface
    206 mvsdio* at mvsoc? offset ? irq ?
    207 sdmmc*	at mvsdio?
    208 
    209 # On-chip Timers
    210 mvsoctmr* at mvsoc? offset ? irq ?
    211 
    212 
    213 # PCI bus support
    214 options 	PCI_NETBSD_CONFIGURE
    215 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    216 pci*	at mvpex?
    217 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    218 
    219 #athn*	at pci? dev ? function ?	# Atheros AR9k (802.11a/g/n)
    220 
    221 # ATA (IDE) bus support
    222 atabus* at ata?
    223 #options 	ATADEBUG
    224 
    225 # IDE drives
    226 wd*	at atabus? drive ? flags 0x0000
    227 
    228 # ATAPI bus support
    229 atapibus* at atapi?
    230 
    231 # ATAPI devices
    232 # flags have the same meaning as for IDE drives.
    233 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    234 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    235 
    236 # USB bus support
    237 usb*	at ehci?
    238 
    239 # USB Hubs
    240 uhub*	at usb?
    241 uhub*	at uhub? port ?
    242 
    243 # USB Mass Storage
    244 umass*	at uhub? port ? configuration ? interface ?
    245 wd*	at umass?
    246 scsibus* at scsi?
    247 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    248 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    249 
    250 # USB Generic driver
    251 ugen*	at uhub? port ?
    252 
    253 ld*	at sdmmc?
    254 
    255 
    256 # Pseudo-Devices
    257 
    258 pseudo-device	crypto			# /dev/crypto device
    259 pseudo-device	swcrypto		# software crypto implementation
    260 
    261 # disk/mass storage pseudo-devices
    262 #pseudo-device	bio			# RAID control device driver
    263 #pseudo-device	ccd			# concatenated/striped disk devices
    264 #pseudo-device	cgd			# cryptographic disk devices
    265 #pseudo-device	raid			# RAIDframe disk driver
    266 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    267 # Options to enable various other RAIDframe RAID types.
    268 #options 	RF_INCLUDE_EVENODD=1
    269 #options 	RF_INCLUDE_RAID5_RS=1
    270 #options 	RF_INCLUDE_PARITYLOGGING=1
    271 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    272 #options 	RF_INCLUDE_INTERDECLUSTER=1
    273 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    274 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    275 #pseudo-device	fss			# file system snapshot device
    276 #pseudo-device	putter			# for puffs and pud
    277 
    278 #pseudo-device	md			# memory disk device (ramdisk)
    279 pseudo-device	vnd			# disk-like interface to files
    280 options 	VND_COMPRESSION		# compressed vnd(4)
    281 
    282 # network pseudo-devices
    283 pseudo-device	bpfilter		# Berkeley packet filter
    284 #pseudo-device	carp			# Common Address Redundancy Protocol
    285 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    286 pseudo-device	loop			# network loopback
    287 pseudo-device	ppp			# Point-to-Point Protocol
    288 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    289 pseudo-device	sl			# Serial Line IP
    290 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    291 #pseudo-device	irframetty		# IrDA frame line discipline
    292 pseudo-device	tap			# virtual Ethernet
    293 pseudo-device	tun			# network tunneling over tty
    294 pseudo-device	gre			# generic L3 over IP tunnel
    295 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    296 pseudo-device	faith			# IPv[46] TCP relay translation i/f
    297 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    298 pseudo-device	vlan			# IEEE 802.1q encapsulation
    299 pseudo-device	bridge			# simple inter-network bridging
    300 options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    301 pseudo-device	agr			# IEEE 802.3ad link aggregation
    302 pseudo-device	pf			# PF packet filter
    303 pseudo-device	pflog			# PF log if
    304 
    305 # miscellaneous pseudo-devices
    306 pseudo-device	pty			# pseudo-terminals
    307 #pseudo-device	sequencer		# MIDI sequencer
    308 #options 	RND_COM
    309 pseudo-device	clockctl		# user control of clock subsystem
    310 pseudo-device	ksyms			# /dev/ksyms
    311 
    312 # a pseudo device needed for Coda	# also needs CODA (above)
    313 #pseudo-device	vcoda			# coda minicache <-> venus comm.
    314 
    315 # a pseudo device needed for SMBFS
    316 #pseudo-device	nsmb			# experimental - SMB requester
    317 
    318 # wscons pseudo-devices
    319 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    320 #pseudo-device	wsfont
    321 
    322 # data mover pseudo-devices
    323 pseudo-device	swdmover		# software dmover(9) back-end
    324 pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    325 
    326 #options 	FILEASSOC		# fileassoc(9) - required for Veriexec
    327 
    328 # Veriexec
    329 #pseudo-device	veriexec
    330 #
    331 # Uncomment the fingerprint methods below that are desired. Note that
    332 # removing fingerprint methods will have almost no impact on the kernel
    333 # code size.
    334 #
    335 #options 	VERIFIED_EXEC_FP_RMD160
    336 #options 	VERIFIED_EXEC_FP_SHA256
    337 #options 	VERIFIED_EXEC_FP_SHA384
    338 #options 	VERIFIED_EXEC_FP_SHA512
    339 #options 	VERIFIED_EXEC_FP_SHA1
    340 #options 	VERIFIED_EXEC_FP_MD5
    341 
    342 #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    343 #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    344