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