xref: /netbsd-src/sys/arch/epoc32/conf/GENERIC (revision c78676accca07215237e546e46e3c7eee6d5716d)
1#	$NetBSD: GENERIC,v 1.19 2024/01/29 18:27:11 christos Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/epoc32/conf/std.epoc32"
22
23#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.19 $"
26
27maxusers	32			# estimated number of users
28
29# CPU options
30options 	CPU_ARM7		# Series 5/Geofox one/Osaris
31options 	CPU_ARM7TDMI		# Series 5mx/Revo/Revo+
32#options 	CPU_SA1100		# Series 7/netBook
33
34# Standard system options
35#options 	INSECURE	# disable kernel security levels
36
37# File systems
38file-system	FFS		# UFS
39#file-system	EXT2FS		# second extended file system (linux)
40file-system	MFS		# memory file system
41file-system	NFS		# Network File System client
42file-system	MSDOSFS		# MS-DOS file system
43#file-system	FDESC		# /dev/fd
44file-system	KERNFS		# /kern
45file-system	NULLFS		# loopback file system
46file-system	PTYFS		# /dev/pts/N support
47file-system	TMPFS		# Efficient memory file-system
48
49# File system options
50options 	FFS_EI		# FFS Endian Independent support
51#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
52#options 	QUOTA		# legacy UFS quotas
53#options 	QUOTA2		# new, in-filesystem UFS quotas
54#options 	UFS_DIRHASH	# UFS Large Directory Hashing
55#options 	UFS_EXTATTR	# Extended attribute support for UFS1
56options 	WAPBL		# File system journaling support
57#options 	DISKLABEL_EI	# disklabel Endian Independent support
58#options 	NFSSERVER	# Network File System server
59
60# Networking options
61options 	INET		# IP + ICMP + TCP + UDP
62options 	INET6		# IPv6
63#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
64#options 	PPP_DEFLATE	# Deflate compression support for PPP
65options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
66
67# Compatibility options
68options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
69#include 	"conf/compat_netbsd09.config"
70
71#options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
72options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
73
74# Shared memory options
75#options 	SYSVMSG		# System V-like message queues
76#options 	SYSVSEM		# System V-like semaphores
77#options 	SYSVSHM		# System V-like memory sharing
78
79# Loadable kernel module support
80#options 	MODULAR		# new style module(7) framework
81#options 	MODULAR_DEFAULT_AUTOLOAD
82
83#
84# wscons options
85#
86# builtin terminal emulations
87options 	WSEMUL_VT100
88# allocate a number of virtual screens at autoconfiguration time
89#options 	WSDISPLAY_DEFAULTSCREENS=2
90
91# compatibility to other console drivers
92options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
93options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
94options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
95
96# Development and Debugging options
97
98#options 	DIAGNOSTIC      # internal consistency checks
99#options 	DEBUG
100#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
101options 	DDB             # in-kernel debugger
102options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
103#makeoptions 	DEBUG="-g"  # compile full symbol table
104makeoptions	COPY_SYMTAB=1
105
106
107# Kernel root file system and dump configuration.
108config		netbsd		root on ? type ?
109
110mainbus0 at root
111
112cpu0 at mainbus?
113
114internal0 at mainbus? base 0x80000000		# Internal Register Space
115external0 at mainbus?
116
117# SoC
118clpssoc0 at internal?				# Cirrus CL-PS711x
119windermere0 at internal?			# Windermere
120#saip0	at internal?				# StrongARM SA-1100
121
122#options CONSPEED=115200			# EPOC use 115200bps
123
124# CL-PS711x Peripherals
125#clpsaudio* at clpssoc?				# Audio
126clpscom* at clpssoc?				# UART/IrDA
127clpslcd* at clpssoc?				# LCD
128#clpspm* at clpssoc?				# Power
129clpsrtc* at clpssoc?				# RTC
130#clpsssi* at clpssoc?				# SSI bus
131
132# Windermere Peripherals
133#wmaudio* at windermere?			# Audio
134wmcom*	at windermere?				# IrDA/UART
135wmlcd*	at windermere?				# LCD
136#wmpm*	at windermere?				# Power
137wmrtc*	at windermere?				# RTC
138#wmssi*	at clpssoc?				# SSI bus
139
140# SA-1100 Peripherals
141#sacom*	at saip? addr 0x80050000 size 0x24 intr 17 # Serial
142#saost*	at saip? addr 0x90000000 size 0x20	#OS Timer
143
144wsdisplay* at clpslcd? console ?
145wsdisplay* at wmlcd? console ?
146
147epockbd* at clpssoc?
148epockbd* at windermere?
149wskbd*	at epockbd?
150
151#spi*	at clpsssi*
152#spi*	at wmssi*
153#tp*	at spi*					# ADS7843 Touch screen
154
155#audio* at audio?
156#spkr*	at audio?		# PC speaker (synthesized)
157
158# External devices
159
160#epockbd* at external? addr 0x10000030 addr2 0x10000004		# Series 7
161
162# ETNA Controller
163etna* at external? addr 0x20000000 addr2 0x40000000 irq 5	# 5mx
164etna* at external? addr 0x50000000 addr2 0x30000000 irq 5	# 5mx Pro
165pcmcia* at etna?
166
167wdc* at pcmcia?					# CF
168atabus* at wdc? channel ?
169wd* at atabus? drive ? flags 0x0000
170
171
172# Pseudo-Devices
173
174# disk/mass storage pseudo-devices
175#pseudo-device	md			# memory disk device (ramdisk)
176#pseudo-device	vnd			# disk-like interface to files
177#options 	VND_COMPRESSION		# compressed vnd(4)
178
179# network pseudo-devices
180#pseudo-device	bpfilter                # Berkeley packet filter
181pseudo-device	loop			# network loopback
182pseudo-device	ppp			# Point-to-Point Protocol
183pseudo-device	sl			# Serial Line IP
184
185# miscellaneous pseudo-devices
186pseudo-device	pty			# pseudo-terminals
187pseudo-device	clockctl		# user control of clock subsystem
188pseudo-device	ksyms			# /dev/ksyms
189pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
190
191# wscons pseudo-devices
192#pseudo-device	wsmux			# mouse & keyboard multiplexor
193#pseudo-device	wsfont
194
195# Pull in optional local configuration - always at end
196cinclude	"arch/epoc32/conf/GENERIC.local"
197