GENERIC revision 1.19 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
21 include "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
27 maxusers 32 # estimated number of users
28
29 # CPU options
30 options CPU_ARM7 # Series 5/Geofox one/Osaris
31 options 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
38 file-system FFS # UFS
39 #file-system EXT2FS # second extended file system (linux)
40 file-system MFS # memory file system
41 file-system NFS # Network File System client
42 file-system MSDOSFS # MS-DOS file system
43 #file-system FDESC # /dev/fd
44 file-system KERNFS # /kern
45 file-system NULLFS # loopback file system
46 file-system PTYFS # /dev/pts/N support
47 file-system TMPFS # Efficient memory file-system
48
49 # File system options
50 options 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
56 options WAPBL # File system journaling support
57 #options DISKLABEL_EI # disklabel Endian Independent support
58 #options NFSSERVER # Network File System server
59
60 # Networking options
61 options INET # IP + ICMP + TCP + UDP
62 options INET6 # IPv6
63 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
64 #options PPP_DEFLATE # Deflate compression support for PPP
65 options PPP_FILTER # Active filter support for PPP (requires bpf)
66
67 # Compatibility options
68 options 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
72 options 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
87 options WSEMUL_VT100
88 # allocate a number of virtual screens at autoconfiguration time
89 #options WSDISPLAY_DEFAULTSCREENS=2
90
91 # compatibility to other console drivers
92 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
93 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
94 options 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
101 options DDB # in-kernel debugger
102 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
103 #makeoptions DEBUG="-g" # compile full symbol table
104 makeoptions COPY_SYMTAB=1
105
106
107 # Kernel root file system and dump configuration.
108 config netbsd root on ? type ?
109
110 mainbus0 at root
111
112 cpu0 at mainbus?
113
114 internal0 at mainbus? base 0x80000000 # Internal Register Space
115 external0 at mainbus?
116
117 # SoC
118 clpssoc0 at internal? # Cirrus CL-PS711x
119 windermere0 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
126 clpscom* at clpssoc? # UART/IrDA
127 clpslcd* at clpssoc? # LCD
128 #clpspm* at clpssoc? # Power
129 clpsrtc* at clpssoc? # RTC
130 #clpsssi* at clpssoc? # SSI bus
131
132 # Windermere Peripherals
133 #wmaudio* at windermere? # Audio
134 wmcom* at windermere? # IrDA/UART
135 wmlcd* at windermere? # LCD
136 #wmpm* at windermere? # Power
137 wmrtc* 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
144 wsdisplay* at clpslcd? console ?
145 wsdisplay* at wmlcd? console ?
146
147 epockbd* at clpssoc?
148 epockbd* at windermere?
149 wskbd* 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
163 etna* at external? addr 0x20000000 addr2 0x40000000 irq 5 # 5mx
164 etna* at external? addr 0x50000000 addr2 0x30000000 irq 5 # 5mx Pro
165 pcmcia* at etna?
166
167 wdc* at pcmcia? # CF
168 atabus* at wdc? channel ?
169 wd* 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
181 pseudo-device loop # network loopback
182 pseudo-device ppp # Point-to-Point Protocol
183 pseudo-device sl # Serial Line IP
184
185 # miscellaneous pseudo-devices
186 pseudo-device pty # pseudo-terminals
187 pseudo-device clockctl # user control of clock subsystem
188 pseudo-device ksyms # /dev/ksyms
189 pseudo-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
196 cinclude "arch/epoc32/conf/GENERIC.local"
197