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