ARMADILLO9 revision 1.62 1 # $NetBSD: ARMADILLO9,v 1.62 2020/04/18 11:00:38 skrll Exp $
2 #
3 # ARMADILLO9 -- Atmark Techno, Armadillo-9
4 #
5
6 include "arch/evbarm/conf/std.armadillo9"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 options MSGBUFSIZE=65536
10 #options KSTACK_CHECK_MAGIC
11
12 # estimated number of users
13 maxusers 16
14
15 # Standard system options
16 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 options NTP # NTP phase/frequency locked loop
18
19 # CPU options
20 options CPU_ARM9 # Support the ARM9TDMI core
21
22 # File systems
23 file-system FFS # UFS
24 #file-system LFS # log-structured file system
25 file-system MFS # memory file system
26 file-system NFS # Network file system
27 #file-system ADOSFS # AmigaDOS-compatible file system
28 file-system EXT2FS # second extended file system (linux)
29 file-system CD9660 # ISO 9660 + Rock Ridge file system
30 file-system MSDOSFS # MS-DOS file system
31 file-system FDESC # /dev/fd
32 #file-system FILECORE # Acorn filecore file system
33 file-system KERNFS # /kern
34 file-system NULLFS # loopback file system
35 file-system PROCFS # /proc
36 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
37 #file-system UMAPFS # NULLFS + uid and gid remapping
38 file-system UNION # union file system
39 file-system PTYFS # /dev/pts/N support
40
41 # File system options
42 #options QUOTA # legacy UFS quotas
43 #options QUOTA2 # new, in-filesystem UFS quotas
44 #options DISKLABEL_EI # disklabel Endian Independent support
45 #options FFS_EI # FFS Endian Independent support
46 options WAPBL # File system journaling support
47 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
48 options NFSSERVER # Network File System server
49 #options FFS_NO_SNAPSHOT # No FFS snapshot support
50 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
51 # immutable) behave as system flags.
52
53 # Networking options
54 #options GATEWAY # packet forwarding
55 options INET # IP + ICMP + TCP + UDP
56 options INET6 # IPV6
57 #options IPSEC # IP security
58 #options IPSEC_DEBUG # debug for IP security
59 #options MROUTING # IP multicast routing
60 #options PIM # Protocol Independent Multicast
61 #options NETATALK # AppleTalk networking
62 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
63 #options PPP_DEFLATE # Deflate compression support for PPP
64 #options PPP_FILTER # Active filter support for PPP (requires bpf)
65 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
66
67 options NFS_BOOT_BOOTP
68 options NFS_BOOT_DHCP
69 #options NFS_BOOT_BOOTPARAM
70
71 # Compatibility options
72 include "conf/compat_netbsd20.config"
73 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
74
75 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
76 options COMPAT_LINUX # binary compatibility with Linux
77
78 # Shared memory options
79 options SYSVMSG # System V-like message queues
80 options SYSVSEM # System V-like semaphores
81 options SYSVSHM # System V-like memory sharing
82
83 # Device options
84
85 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
86 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
87 #options MEMORY_DISK_IS_ROOT # use memory disk as root
88
89 # Console options. The default console is speed is 115200 baud.
90 options CONSPEED=115200 # Console speed
91 options CONUNIT=0 # Console port number
92
93 # Miscellaneous kernel options
94 options KTRACE # system call tracing, a la ktrace(1)
95 #options IRQSTATS # manage IRQ statistics
96 #options SCSIVERBOSE # Verbose SCSI errors
97 #options PCIVERBOSE # Verbose PCI descriptions
98 #options MIIVERBOSE # Verbose MII autoconfuration messages
99 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
100 #options DDB_KEYCODE=0x40
101 #options USERCONF # userconf(4) support
102 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
103 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
104
105 # Development and Debugging options
106
107 options DIAGNOSTIC # internal consistency checks
108 #options DEBUG
109 #options UVMHIST # kernhist for uvm/pmap subsystems
110 #options VERBOSE_INIT_ARM # verbose bootstraping messages
111 options DDB # in-kernel debugger
112 #options DDB_ONPANIC=1
113 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
114 #makeoptions DEBUG="-g" # compile full symbol table
115 makeoptions COPY_SYMTAB=1
116
117 #options PMAP_INCLUDE_PTE_SYNC
118 #options LOCKDEBUG
119
120 config netbsd root on ? type ?
121 #config netbsd root on epe0 type nfs
122 #config netbsd root on wd0 type ffs
123 #config netbsd root on sd0 type ffs
124
125 # The main bus device
126 mainbus0 at root
127
128 # The boot cpu
129 cpu0 at mainbus?
130
131 # Cirrus Logic EP93xx System-on-chip
132 epsoc0 at mainbus?
133
134 # AHB Peripheral
135 # On-chip 10/100 Ethernet
136 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
137 # On-chip USB host controller
138 ohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56
139 # On-chip Raster (not yet)
140 #vga0 at epsoc? addr 0x80030000 size 0x10000 intr ??
141 # On-chip PCMCIA controller
142 eppcic0 at epsoc? addr 0x80080000 size 0x44
143 # On-chip IDE (not yet)
144 #wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ??
145
146 # APB Peripheral
147 # On-chip timers
148 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4
149 # GPIO
150 epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59
151 gpio* at epgpio?
152 # On-chip serial UARTS
153 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
154 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
155 #epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55
156 # RealTime Clock (no battery backup)
157 eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37
158 # Watchdog Timer
159 epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36
160 # LED
161 epled0 at epgpio0 port 4 bit1 0 bit2 1
162
163 # I^2C Controller Unit
164 armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5
165 iic* at armadillo9iic?
166 seeprom0 at iic? addr 0x50 flags 1 # 128 bytes
167 #s3531rtc0 at iic? addr 0x30
168
169 # PCMCIA bus support
170 pcmcia* at eppcic0 controller ? socket ?
171
172 # PCMCIA network interfaces
173 ne* at pcmcia? function ? # NE2000-compatible Ethernet
174 wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
175
176 # MII/PHY support
177 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
178
179 # PCMCIA serial interfaces
180 com* at pcmcia? function ? # Modems and serial cards
181
182 # PCMCIA IDE disk
183 wdc* at pcmcia? function ?
184
185 # USB Controller and Devices
186
187 # USB bus support
188 usb* at ohci?
189
190 # USB Hubs
191 uhub* at usb?
192 uhub* at uhub? port ?
193
194 # USB HID device
195 uhidev* at uhub? port ? configuration ? interface ?
196
197 # USB Mice
198 #ums* at uhidev? reportid ?
199 #wsmouse* at ums? mux 0
200
201 # USB Keyboards
202 #ukbd* at uhidev? reportid ?
203 #wskbd* at ukbd? console ? mux 1
204
205 # USB Generic HID devices
206 uhid* at uhidev? reportid ?
207
208 # USB Mass Storage
209 umass* at uhub? port ? configuration ? interface ?
210 scsibus* at umass?
211
212 # USB audio
213 #uaudio* at uhub? port ? configuration ?
214
215 # USB MIDI
216 #umidi* at uhub? port ? configuration ?
217
218 # USB Generic driver
219 ugen* at uhub? port ?
220
221 # ATA (IDE) bus support
222 atabus* at ata?
223
224 # IDE drives
225 wd* at atabus? drive ? flags 0x0000
226
227 # ATAPI bus support
228 atapibus* at atapi?
229
230 # ATAPI devices
231 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
232 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
233 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
234
235 # SCSI devices
236 sd* at scsibus? target ? lun ? # SCSI disk drives
237 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
238 uk* at scsibus? target ? lun ? # SCSI unknown
239
240 # Audio support
241 #audio* at audiobus?
242
243 #spkr* at audio? # PC speaker (synthesized)
244
245 # MIDI support
246 #midi* at midibus?
247
248 # Pseudo-Devices
249
250 # disk/mass storage pseudo-devices
251 #pseudo-device md # memory disk device (ramdisk)
252 pseudo-device vnd # disk-like interface to files
253 options VND_COMPRESSION # compressed vnd(4)
254 #pseudo-device fss # file system snapshot device
255 #pseudo-device putter # for puffs and pud
256
257 # network pseudo-devices
258 pseudo-device bpfilter # Berkeley packet filter
259 #pseudo-device npf # NPF packet filter
260 pseudo-device loop # network loopback
261 #pseudo-device ppp # Point-to-Point Protocol
262 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
263 #pseudo-device sl # Serial Line IP
264 #pseudo-device irframetty # IrDA frame line discipline
265 #pseudo-device tap # virtual Ethernet
266 #pseudo-device tun # network tunneling over tty
267 #pseudo-device gre # generic L3 over IP tunnel
268 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
269 #pseudo-device faith # IPv[46] tcp relay translation i/f
270 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
271 #pseudo-device vlan # IEEE 802.1q encapsulation
272 #pseudo-device bridge # simple inter-network bridging
273 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
274 #pseudo-device kttcp # network loopback
275
276 # miscellaneous pseudo-devices
277 pseudo-device pty # pseudo-terminals
278 #options RND_COM
279 pseudo-device clockctl # user control of clock subsystem
280 pseudo-device ksyms # /dev/ksyms
281 #pseudo-device crypto # /dev/crypto device
282 #pseudo-device swcrypto # software crypto implementation
283 #pseudo-device sequencer # MIDI sequencer
284
285 #
286 # wscons options
287 #
288 # builtin terminal emulations
289 #options WSEMUL_SUN # sun terminal emulation
290 options WSEMUL_VT100 # VT100 / VT220 emulation
291 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
292 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
293 #options WS_DEFAULT_FG=WSCOL_WHITE
294 #options WS_DEFAULT_BG=WSCOL_BLACK
295 #options WS_DEFAULT_COLATTR="(0)"
296 #options WS_DEFAULT_MONOATTR="(0)"
297 #options WS_KERNEL_FG=WSCOL_GREEN
298 #options WS_KERNEL_BG=WSCOL_BLACK
299 #options WS_KERNEL_COLATTR=""
300 #options WS_KERNEL_MONOATTR=""
301 # customization of console border color
302 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
303 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
304 # compatibility to other console drivers
305 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
306 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
307 #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
308 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
309 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
310 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
311 # allocate a number of virtual screens at autoconfiguration time
312 #options WSDISPLAY_DEFAULTSCREENS=4
313 # use a large software cursor that doesn't blink
314 #options PCDISPLAY_SOFTCURSOR
315 # modify the screen type of the console; defaults to "80x25"
316 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
317 # work around a hardware bug that loaded fonts don't work; found on ATI cards
318 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
319 # console scrolling support.
320 #options WSDISPLAY_SCROLLSUPPORT
321 # enable VGA raster mode capable of displaying multilingual text on console
322 #options VGA_RASTERCONSOLE
323
324 # wscons pseudo-devices
325 #pseudo-device wsmux # mouse & keyboard multiplexor
326 #pseudo-device wsfont
327