Home | History | Annotate | Line # | Download | only in conf
OFWGENCFG revision 1.43
      1 #	$NetBSD: OFWGENCFG,v 1.43 2014/07/27 03:34:41 dholland Exp $
      2 #
      3 #	OFWGENCFG: 'generic' configuration for Open Firmware boards.
      4 #
      5 #	Uses all 'generic' drivers (except for 'ofrom', which is
      6 #	close enough to generic).
      7 #
      8 
      9 include	"arch/shark/conf/std.shark"
     10 include "arch/shark/conf/std.ofwgencfg"
     11 
     12 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     13 
     14 # estimated number of users
     15 
     16 maxusers	32
     17 
     18 # Standard system options
     19 
     20 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     21 #options 	NTP		# NTP phase/frequency locked loop
     22 
     23 # CPU options
     24 
     25 options 	CPU_SA110	# Support the SA110 core
     26 makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
     27 
     28 # Architecture options
     29 
     30 options 	OFWGENCFG	# Enable Open Firmware bits specific to GENERIC configuration
     31 
     32 # File systems
     33 
     34 file-system	FFS		# UFS
     35 #file-system	LFS		# log-structured file system
     36 file-system	MFS		# memory file system
     37 file-system	NFS
     38 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     39 #file-system 	EXT2FS		# second extended file system (linux)
     40 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     41 #file-system	MSDOSFS		# MS-DOS file system
     42 #file-system	FDESC		# /dev/fd
     43 #file-system	FILECORE	# Acorn filecore file system
     44 file-system	KERNFS		# /kern
     45 #file-system	NULLFS		# loopback file system
     46 #file-system	PROCFS		# /proc
     47 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     48 #file-system	UNION		# union file system
     49 #file-system	PTYFS		# /dev/pts/N support
     50 
     51 # File system options
     52 #options 	QUOTA		# legacy UFS quotas
     53 #options 	QUOTA2		# new, in-filesystem UFS quotas
     54 #options 	NFSSERVER
     55 options 	NFS_BOOT_DHCP	# NFS booting via DHCP
     56 options 	NFS_BOOT_RWSIZE=1024	# OFW driver can't cope with more
     57 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     58 
     59 # Networking options
     60 
     61 #options 	GATEWAY		# packet forwarding
     62 options 	INET		# IP + ICMP + TCP + UDP
     63 #options 	MROUTING	# IP multicast routing
     64 #options 	PIM		# Protocol Independent Multicast
     65 				# if you enable the pseudo-device ipl).
     66 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     67 
     68 # Compatibility options
     69 
     70 options 	COMPAT_43	# 4.3BSD compatibility.
     71 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     72 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     73 options 	COMPAT_20	# NetBSD 2.0 compatibility.
     74 options 	COMPAT_16	# NetBSD 1.6 compatibility.
     75 options 	COMPAT_12	# NetBSD 1.2 compatibility.
     76 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     77 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     78 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     79 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     80 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     81 
     82 # Shared memory options
     83 
     84 options 	SYSVMSG		# System V-like message queues
     85 options 	SYSVSEM		# System V-like semaphores
     86 options 	SYSVSHM		# System V-like memory sharing
     87 
     88 # Device options
     89 
     90 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
     91 #options 	MEMORY_DISK_ROOT_SIZE=0	# Size in KBytes
     92 
     93 # Miscellaneous kernel options
     94 options 	KTRACE		# system call tracing, a la ktrace(1)
     95 options 	IRQSTATS	# manage IRQ statistics
     96 options 	KMEMSTATS	# kernel memory statistics
     97 options 	USERCONF	# userconf(4) support
     98 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     99 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    100 
    101 # Development and Debugging options
    102 
    103 #options 	ARM700BUGTRACK	# track the ARM700 swi bug
    104 #options 	PORTMASTER	# Enable PortMaster only options
    105 options 	DIAGNOSTIC	# internal consistency checks
    106 options 	DDB		# in-kernel debugger
    107 #makeoptions	DEBUG="-g"	# compile full symbol table
    108 
    109 config		netbsd	root on ofnet0 type nfs
    110 #config		netbsd	root nfs swap nfs
    111 
    112 # The main bus device
    113 mainbus0 at root
    114 
    115 # The boot CPU
    116 cpu0 at mainbus?
    117 
    118 # Open Firmware devices
    119 ofbus*		at root
    120 ofbus*		at ofbus?
    121 ofdisk*		at ofbus?
    122 ofnet*		at ofbus?
    123 ofcons*		at ofbus?
    124 ofrtc*		at ofbus?
    125 ofrom*		at ofbus?
    126 
    127 # Pull in optional local configuration
    128 cinclude "arch/shark/conf/GENERIC.local"
    129 
    130 pseudo-device	loop			# network loopback
    131 pseudo-device	bpfilter		# packet filter
    132 #pseudo-device	sl			# CSLIP
    133 #pseudo-device	ppp			# PPP
    134 #pseudo-device	tun			# network tunneling over tty
    135 #pseudo-device	ipfilter 		# ip filter
    136 
    137 pseudo-device	pty			# pseudo-terminals
    138 pseudo-device	vnd			# disk-like interface to files
    139 #pseudo-device	ccd			# concatenated disk devices
    140 #pseudo-device	fss			# file system snapshot device
    141 
    142 #pseudo-device	md			# Ramdisk driver
    143 pseudo-device	clockctl		# user control of clock subsystem
    144 pseudo-device	openfirm		# /dev/openfirm
    145