Home | History | Annotate | Line # | Download | only in conf
      1 #	$NetBSD: OPENBLOCKS_A6,v 1.47 2025/06/01 05:43:55 rin Exp $
      2 #
      3 #	OPENBLOCKS_A6 -- Plat'Home. OpenBlockS A6/A7 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_a6"
     16 options 	EVBARM_BOARDTYPE=openblocks_a6
     17 
     18 # CPU options
     19 options 	CPU_SHEEVA
     20 #options 	SHEEVA_L2_CACHE
     21 #options 	SHEEVA_L2_CACHE_WT
     22 makeoptions	CPUFLAGS="-march=armv5te"
     23 
     24 # Marvell SoC options
     25 options 	KIRKWOOD
     26 
     27 # Standard system options
     28 
     29 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     30 options 	NTP		# NTP phase/frequency locked loop
     31 
     32 # File systems
     33 
     34 file-system 	FFS		# UFS
     35 file-system 	EXT2FS		# second extended file system (linux)
     36 #file-system 	LFS		# log-structured file system
     37 #file-system 	MFS		# memory file system
     38 file-system 	NFS		# Network file system
     39 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     40 file-system 	MSDOSFS		# MS-DOS file system
     41 #file-system 	FDESC		# /dev/fd
     42 file-system 	KERNFS		# /kern
     43 file-system 	NULLFS		# loopback file system
     44 #file-system 	OVERLAY		# overlay file system
     45 file-system 	PROCFS		# /proc
     46 file-system 	PTYFS		# /dev/ptm support
     47 #file-system 	PUFFS		# Pass-to-Userspace Framework File System
     48 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     49 file-system 	UNION		# union file system
     50 #file-system 	CODA		# Coda File System; also needs vcoda (below)
     51 file-system 	TMPFS		# Efficient memory file-system
     52 #file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
     53 #file-system 	HFS		# experimental - Apple HFS+ (read-only)
     54 
     55 # File system options
     56 #options 	FFS_EI		# FFS Endian Independent support
     57 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     58 #options 	QUOTA		# legacy UFS quotas
     59 #options 	QUOTA2		# new, in-filesystem UFS quotas
     60 options 	UFS_DIRHASH	# UFS Large Directory Hashing
     61 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     62 options 	WAPBL		# File system journaling support
     63 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     64 options 	NFSSERVER	# Network File System server
     65 
     66 # Networking options
     67 
     68 #options 	GATEWAY		# packet forwarding
     69 options 	INET		# IP + ICMP + TCP + UDP
     70 options 	INET6		# IPv6
     71 options 	IPSEC		# IP security
     72 #options 	IPSEC_DEBUG	# debug for IP security
     73 options 	MROUTING	# IP multicast routing
     74 options 	PIM		# Protocol Independent Multicast
     75 options 	NETATALK	# AppleTalk networking protocols
     76 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     77 options 	PPP_DEFLATE	# Deflate compression support for PPP
     78 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     79 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     80 
     81 #options 	NFS_BOOT_BOOTP
     82 options 	NFS_BOOT_DHCP
     83 #options 	NFS_BOOT_BOOTPARAM
     84 
     85 # Compatibility options
     86 
     87 include 	"conf/compat_netbsd50.config"
     88 options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     89 
     90 # Shared memory options
     91 
     92 options 	SYSVMSG		# System V-like message queues
     93 options 	SYSVSEM		# System V-like semaphores
     94 options 	SYSVSHM		# System V-like memory sharing
     95 
     96 # Device options
     97 
     98 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
     99 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    100 #options 	MEMORY_DISK_DYNAMIC
    101 #options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
    102 #options 	MEMORY_RBFLAGS=RB_AUTOBOOT
    103 
    104 # Miscellaneous kernel options
    105 
    106 #options 	KTRACE		# system call tracing, a la ktrace(1)
    107 options 	IRQSTATS	# manage IRQ statistics
    108 #options 	MIIVERBOSE	# Verbose MII auto configuration messages
    109 #options 	PCIVERBOSE	# Verbose PCI descriptions
    110 #options 	SCSIVERBOSE	# Verbose SCSI errors
    111 options 	USBVERBOSE	# Verbose USB device auto configuration messages
    112 #options 	DDB_KEYCODE=0x40
    113 #options 	USERCONF	# userconf(4) support
    114 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    115 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    116 
    117 # Development and Debugging options
    118 
    119 options 	DIAGNOSTIC	# internal consistency checks
    120 options 	DEBUG
    121 #options 	UVMHIST		# kernhist for uvm/pmap subsystems
    122 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    123 options 	DDB		# in-kernel debugger
    124 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    125 #options 	KGDB
    126 #options 	DEBUG_KGDB
    127 makeoptions	DEBUG="-g"	# compile full symbol table
    128 #makeoptions	COPTS="-O2"
    129 makeoptions	COPY_SYMTAB=1
    130 #options 	AUDIO_DEBUG=2
    131 
    132 config		netbsd		root on ? type ?
    133 
    134 # The main bus device
    135 mainbus0 at root
    136 
    137 # The boot cpu
    138 cpu0	at mainbus?
    139 
    140 # Marvell MV88F6xxx Kirkwood System-on-chip
    141 mvsoc0	at mainbus?
    142 
    143 # On-chip Serial-ATA II Host Controller (SATAHC)
    144 mvsata* at mvsoc? offset ? irq ?
    145 
    146 # On-chip Gigabit Ethernet Controller Interface
    147 mvgbec* at mvsoc? offset ?
    148 mvgbe*	at mvgbec? port ? irq ?
    149 
    150 # MII/PHY support
    151 makphy* at mii? phy ?
    152 #rgephy* at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
    153 #rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
    154 #ukphy*	at mii? phy ?			# generic unknown PHYs
    155 #urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
    156 
    157 # On-chip USB 2.0 Interface
    158 ehci*	at mvsoc? offset ? irq ?
    159 
    160 # On-chip Cryptographic Engines and Security Accelerator
    161 mvcesa* at mvsoc? offset ? irq ?
    162 
    163 # On-chip Two-Wire Serial Interface (TWSI)
    164 gttwsi* at mvsoc? offset ? irq ?
    165 iic*	at gttwsi?
    166 s390rtc* at iic1 addr 0x30
    167 
    168 # On-chip UART Interface
    169 com*	at mvsoc? offset ? irq ?
    170 
    171 # On-chip IDMA Controller
    172 gtidmac* at mvsoc? offset ? irq ?
    173 
    174 # On-chip Thermal Sensor
    175 mvsocts* at mvsoc? offset ?
    176 
    177 # On-chip General Purpose I/O Port Interface
    178 mvsocgpp* at mvsoc? offset ? irq ?
    179 gpio*	at mvsocgpp?
    180 
    181 # On-chip Timers
    182 mvsoctmr* at mvsoc? offset ? irq ?
    183 
    184 # ATA (IDE) bus support
    185 atabus* at ata?
    186 #options 	ATADEBUG
    187 
    188 # IDE drives
    189 wd*	at atabus? drive ? flags 0x0000
    190 
    191 # ATAPI bus support
    192 #atapibus* at atapi?
    193 
    194 # ATAPI devices
    195 # flags have the same meaning as for IDE drives.
    196 #cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    197 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    198 
    199 # USB bus support
    200 usb*	at ehci?
    201 
    202 # USB Hubs
    203 uhub*	at usb?
    204 uhub*	at uhub? port ?
    205 
    206 # USB HID device
    207 uhidev* at uhub? port ? configuration ? interface ?
    208 
    209 # USB TEMPer and TEMPerHUM
    210 #uthum*	at uhidev? reportid ?
    211 
    212 # USB serial adapter
    213 #ucycom* at uhidev? reportid ?
    214 
    215 # USB Modem
    216 #umodem* at uhub? port ? configuration ?
    217 #ucom*	at umodem?
    218 
    219 # Option N.V. Wireless WAN modems
    220 #uhso*	at uhub? port ? configuration ?
    221 
    222 # USB Mass Storage
    223 umass*	at uhub? port ? configuration ? interface ?
    224 scsibus* at scsi?
    225 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    226 #cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    227 
    228 # USB IrDA
    229 # USB-IrDA bridge spec
    230 #uirda* at uhub? port ? configuration ? interface ?
    231 #irframe* at uirda?
    232 
    233 #stuirda* at uhub? port ? configuration ? interface ?
    234 #irframe* at stuirda?
    235 
    236 # SigmaTel STIr4200 USB/IrDA Bridge
    237 #ustir* at uhub? port ?
    238 #irframe* at ustir?
    239 
    240 # USB Ethernet adapters
    241 #aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    242 #axe*	at uhub? port ?		# ASIX AX88172 based adapters
    243 #cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    244 #cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    245 #kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    246 #mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
    247 #udav*	at uhub? port ?		# Davicom DM9601 based adapters
    248 #ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
    249 #url*	at uhub? port ?		# Realtek RTL8150L based adapters
    250 
    251 # USB 802.11 adapters
    252 #atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    253 #ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
    254 #rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
    255 #zyd*	at uhub? port ?		# Zydas ZD1211
    256 
    257 # Prolific PL2301/PL2302 host-to-host adapter
    258 #upl*	at uhub? port ?
    259 
    260 # Serial adapters
    261 #ubsa*	at uhub? port ?		# Belkin serial adapter
    262 #ucom*	at ubsa? portno ?
    263 
    264 #uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
    265 #ucom*	at uchcom? portno ?
    266 
    267 #uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    268 #ucom*	at uftdi? portno ?
    269 
    270 #uipaq*	at uhub? port ?		# iPAQ PDAs
    271 #ucom*	at uipaq? portno ?
    272 
    273 #umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    274 #ucom*	at umct? portno ?
    275 
    276 #uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    277 #ucom*	at uplcom? portno ?
    278 
    279 #uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
    280 #ucom*	at uslsa? portno ?
    281 
    282 #uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    283 #ucom*	at uvscom? portno ?
    284 
    285 # Kyocera AIR-EDGE PHONE
    286 #ukyopon* at uhub? port ?
    287 #ucom*	at ukyopon? portno ?
    288 
    289 # USB Generic driver
    290 ugen*	at uhub? port ?
    291 
    292 # USB generic serial port (e.g., data over cellular)
    293 #ugensa* at uhub? port ?
    294 #ucom*	at ugensa?
    295 
    296 # Bluetooth Controller and Device support
    297 
    298 # Bluetooth USB Controllers
    299 #ubt* at uhub? port ?
    300 #aubtfwl* at uhub? port ?
    301 
    302 # Bluetooth Device Hub
    303 #bthub* at ubt?
    304 
    305 # Pseudo-Devices
    306 
    307 pseudo-device	crypto			# /dev/crypto device
    308 pseudo-device	swcrypto		# software crypto implementation
    309 
    310 # disk/mass storage pseudo-devices
    311 #pseudo-device	bio			# RAID control device driver
    312 #pseudo-device	ccd			# concatenated/striped disk devices
    313 #pseudo-device	cgd			# cryptographic disk devices
    314 #pseudo-device	raid			# RAIDframe disk driver
    315 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    316 # Options to enable various other RAIDframe RAID types.
    317 #options 	RF_INCLUDE_EVENODD=1
    318 #options 	RF_INCLUDE_RAID5_RS=1
    319 #options 	RF_INCLUDE_PARITYLOGGING=1
    320 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    321 #options 	RF_INCLUDE_INTERDECLUSTER=1
    322 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    323 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    324 #pseudo-device	fss			# file system snapshot device
    325 #pseudo-device	putter			# for puffs and pud
    326 
    327 #pseudo-device	md			# memory disk device (ramdisk)
    328 pseudo-device	vnd			# disk-like interface to files
    329 options 	VND_COMPRESSION		# compressed vnd(4)
    330 
    331 # network pseudo-devices
    332 pseudo-device	bpfilter		# Berkeley packet filter
    333 #pseudo-device	carp			# Common Address Redundancy Protocol
    334 pseudo-device	npf			# NPF packet filter
    335 pseudo-device	loop			# network loopback
    336 pseudo-device	ppp			# Point-to-Point Protocol
    337 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    338 pseudo-device	sl			# Serial Line IP
    339 #pseudo-device	irframetty		# IrDA frame line discipline
    340 pseudo-device	tap			# virtual Ethernet
    341 pseudo-device	tun			# network tunneling over tty
    342 pseudo-device	gre			# generic L3 over IP tunnel
    343 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    344 pseudo-device	faith			# IPv[46] TCP relay translation i/f
    345 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    346 pseudo-device	vlan			# IEEE 802.1q encapsulation
    347 pseudo-device	bridge			# simple inter-network bridging
    348 pseudo-device	vether			# Virtual Ethernet for bridge
    349 
    350 pseudo-device	agr			# IEEE 802.3ad link aggregation
    351 
    352 # miscellaneous pseudo-devices
    353 pseudo-device	pty			# pseudo-terminals
    354 #pseudo-device	sequencer		# MIDI sequencer
    355 #options 	RND_COM
    356 pseudo-device	clockctl		# user control of clock subsystem
    357 pseudo-device	ksyms			# /dev/ksyms
    358 
    359 # a pseudo device needed for Coda	# also needs CODA (above)
    360 #pseudo-device	vcoda			# coda minicache <-> venus comm.
    361 
    362 # wscons pseudo-devices
    363 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    364 #pseudo-device	wsfont
    365 
    366 # data mover pseudo-devices
    367 pseudo-device	swdmover		# software dmover(9) back-end
    368 pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    369 
    370 # Veriexec
    371 # include "dev/veriexec.config"
    372 
    373 #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    374 #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    375