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