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