GENERIC revision 1.17 1 # $NetBSD: GENERIC,v 1.17 2022/09/29 10:10:06 riastradh 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.17 $"
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 EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
58 # immutable) behave as system flags.
59 #options DISKLABEL_EI # disklabel Endian Independent support
60 #options NFSSERVER # Network File System server
61
62 # Networking options
63 options INET # IP + ICMP + TCP + UDP
64 options INET6 # IPv6
65 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
66 #options PPP_DEFLATE # Deflate compression support for PPP
67 options PPP_FILTER # Active filter support for PPP (requires bpf)
68
69 # Compatibility options
70 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
71 #include "conf/compat_netbsd09.config"
72
73 #options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
74 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
75
76 # Shared memory options
77 #options SYSVMSG # System V-like message queues
78 #options SYSVSEM # System V-like semaphores
79 #options SYSVSHM # System V-like memory sharing
80
81 # Loadable kernel module support
82 #options MODULAR # new style module(7) framework
83 #options MODULAR_DEFAULT_AUTOLOAD
84
85 #
86 # wscons options
87 #
88 # builtin terminal emulations
89 options WSEMUL_VT100
90 # allocate a number of virtual screens at autoconfiguration time
91 #options WSDISPLAY_DEFAULTSCREENS=2
92
93 # compatibility to other console drivers
94 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
95 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
96 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
97
98 # Development and Debugging options
99
100 #options DIAGNOSTIC # internal consistency checks
101 #options DEBUG
102 #options VERBOSE_INIT_ARM # verbose bootstraping messages
103 options DDB # in-kernel debugger
104 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
105 #makeoptions DEBUG="-g" # compile full symbol table
106 makeoptions COPY_SYMTAB=1
107
108
109 # Kernel root file system and dump configuration.
110 config netbsd root on ? type ?
111
112 mainbus0 at root
113
114 cpu0 at mainbus?
115
116 internal0 at mainbus? base 0x80000000 # Internal Register Space
117 external0 at mainbus?
118
119 # SoC
120 clpssoc0 at internal? # Cirrus CL-PS711x
121 windermere0 at internal? # Windermere
122 #saip0 at internal? # StrongARM SA-1100
123
124 #options CONSPEED=115200 # EPOC use 115200bps
125
126 # CL-PS711x Peripherals
127 #clpsaudio* at clpssoc? # Audio
128 clpscom* at clpssoc? # UART/IrDA
129 clpslcd* at clpssoc? # LCD
130 #clpspm* at clpssoc? # Power
131 clpsrtc* at clpssoc? # RTC
132 #clpsssi* at clpssoc? # SSI bus
133
134 # Windermere Peripherals
135 #wmaudio* at windermere? # Audio
136 wmcom* at windermere? # IrDA/UART
137 wmlcd* at windermere? # LCD
138 #wmpm* at windermere? # Power
139 wmrtc* at windermere? # RTC
140 #wmssi* at clpssoc? # SSI bus
141
142 # SA-1100 Peripherals
143 #sacom* at saip? addr 0x80050000 size 0x24 intr 17 # Serial
144 #saost* at saip? addr 0x90000000 size 0x20 #OS Timer
145
146 wsdisplay* at clpslcd? console ?
147 wsdisplay* at wmlcd? console ?
148
149 epockbd* at clpssoc?
150 epockbd* at windermere?
151 wskbd* at epockbd?
152
153 #spi* at clpsssi*
154 #spi* at wmssi*
155 #tp* at spi* # ADS7843 Touch screen
156
157 #audio* at audio?
158 #spkr* at audio? # PC speaker (synthesized)
159
160 # External devices
161
162 #epockbd* at external? addr 0x10000030 addr2 0x10000004 # Series 7
163
164 # ETNA Controller
165 etna* at external? addr 0x20000000 addr2 0x40000000 irq 5 # 5mx
166 etna* at external? addr 0x50000000 addr2 0x30000000 irq 5 # 5mx Pro
167 pcmcia* at etna?
168
169 wdc* at pcmcia? # CF
170 atabus* at wdc? channel ?
171 wd* at atabus? drive ? flags 0x0000
172
173
174 # Pseudo-Devices
175
176 # disk/mass storage pseudo-devices
177 #pseudo-device md # memory disk device (ramdisk)
178 #pseudo-device vnd # disk-like interface to files
179 #options VND_COMPRESSION # compressed vnd(4)
180
181 # network pseudo-devices
182 #pseudo-device bpfilter # Berkeley packet filter
183 pseudo-device loop # network loopback
184 pseudo-device ppp # Point-to-Point Protocol
185 pseudo-device sl # Serial Line IP
186
187 # miscellaneous pseudo-devices
188 pseudo-device pty # pseudo-terminals
189 pseudo-device clockctl # user control of clock subsystem
190 pseudo-device ksyms # /dev/ksyms
191 pseudo-device swwdog # software watchdog timer -- swwdog(4)
192
193 # wscons pseudo-devices
194 #pseudo-device wsmux # mouse & keyboard multiplexor
195 #pseudo-device wsfont
196