ARMADILLO210 revision 1.25 1 # $NetBSD: ARMADILLO210,v 1.25 2012/10/17 14:48:10 apb Exp $
2 #
3 # ARMADILLO210 -- Atmark Techno, Armadillo-210
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 8
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 FFS_EI # FFS Endian Independent support
45 options WAPBL # File system journaling support
46 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
47 #options NFSSERVER # Network File System server
48 #options FFS_NO_SNAPSHOT # No FFS snapshot support
49 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
50 # immutable) behave as system flags.
51
52 # Networking options
53 #options GATEWAY # packet forwarding
54 options INET # IP + ICMP + TCP + UDP
55 options INET6 # IPV6
56 #options IPSEC # IP security
57 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
58 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
59 #options IPSEC_DEBUG # debug for IP security
60 #options MROUTING # IP multicast routing
61 #options PIM # Protocol Independent Multicast
62 #options ISO,TPIP # OSI
63 #options EON # OSI tunneling over IP
64 #options NETATALK # AppleTalk networking
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 #options PFIL_HOOKS # pfil(9) packet filter hooks
69 #options IPFILTER_LOG # ipmon(8) log support
70 #options IPFILTER_LOOKUP # ippool(8) support
71 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
72 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
73
74 options NFS_BOOT_BOOTP
75 #options NFS_BOOT_DHCP
76 #options NFS_BOOT_BOOTPARAM
77
78 # Compatibility options
79 #options COMPAT_16 # NetBSD 1.6 compatibility.
80 #options COMPAT_20 # NetBSD 2.0
81 options COMPAT_30 # NetBSD 3.0 compatibility.
82 options COMPAT_40 # NetBSD 4.0 compatibility.
83 options COMPAT_50 # NetBSD 5.0 compatibility.
84 options COMPAT_60 # NetBSD 6.0 compatibility.
85 #options COMPAT_43 # 4.3BSD compatibility.
86 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
87 #options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
88 #options COMPAT_LINUX # binary compatibility with Linux
89 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
90
91 # Shared memory options
92 #options SYSVMSG # System V-like message queues
93 #options SYSVSEM # System V-like semaphores
94 #options SYSVSHM # System V-like memory sharing
95
96 # Device options
97
98 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
99 options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
100 options MEMORY_DISK_IS_ROOT # use memory disk as root
101
102 # Console options. The default console is speed is 115200 baud.
103 options CONSPEED=115200 # Console speed
104 options CONUNIT=1 # Console port number
105
106 # Miscellaneous kernel options
107 #options KTRACE # system call tracing, a la ktrace(1)
108 #options IRQSTATS # manage IRQ statistics
109 #options KMEMSTATS # kernel memory statistics
110 #options SCSIVERBOSE # Verbose SCSI errors
111 #options PCIVERBOSE # Verbose PCI descriptions
112 #options MIIVERBOSE # Verbose MII autoconfuration messages
113 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
114 #options DDB_KEYCODE=0x40
115 #options USERCONF # userconf(4) support
116 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
117 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
118
119 # Development and Debugging options
120
121 #options PERFCTRS # performance counters
122 #options DIAGNOSTIC # internally consistency checks
123 #options DEBUG
124 #options PMAP_DEBUG # Enable pmap_debug_level code
125 #options VERBOSE_INIT_ARM # verbose bootstraping messages
126 #options DDB # in-kernel debugger
127 #options DDB_ONPANIC=1
128 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
129 #makeoptions DEBUG="-g" # compile full symbol table
130 #options SYMTAB_SPACE=600000
131
132 #options PMAP_INCLUDE_PTE_SYNC
133 #options LOCKDEBUG
134
135 config netbsd root on ? type ?
136 #config netbsd root on epe0 type nfs
137
138 # The main bus device
139 mainbus0 at root
140
141 # The boot cpu
142 cpu0 at mainbus?
143
144 # Cirrus Logic EP93xx System-on-chip
145 epsoc0 at mainbus?
146
147 # AHB Peripheral
148 # On-chip 10/100 Ethernet
149 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
150
151 # APB Peripheral
152 # On-chip timers
153 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4
154 # GPIO
155 epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59
156 gpio* at epgpio?
157 # On-chip serial UARTS
158 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
159 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
160 # RealTime Clock (no battery backup)
161 eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37
162 # Watchdog Timer
163 epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36
164 # LED
165 epled0 at epgpio0 port 4 bit1 1 bit2 0
166
167 # I^2C Controller Unit
168 armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5
169 iic* at armadillo9iic?
170 seeprom0 at iic? addr 0x50 size 128
171
172 # MII/PHY support
173 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
174
175
176 # Pseudo-Devices
177
178 # disk/mass storage pseudo-devices
179 pseudo-device md # memory disk device (ramdisk)
180 pseudo-device vnd # disk-like interface to files
181 options VND_COMPRESSION # compressed vnd(4)
182 #pseudo-device fss # file system snapshot device
183 #pseudo-device putter # for puffs and pud
184
185 # network pseudo-devices
186 pseudo-device bpfilter # Berkeley packet filter
187 #pseudo-device ipfilter # IP filter (firewall) and NAT
188 pseudo-device loop # network loopback
189 #pseudo-device ppp # Point-to-Point Protocol
190 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
191 #pseudo-device sl # Serial Line IP
192 #pseudo-device strip # Starmode Radio IP (Metricom)
193 #pseudo-device irframetty # IrDA frame line discipline
194 #pseudo-device tap # virtual Ethernet
195 #pseudo-device tun # network tunneling over tty
196 #pseudo-device gre # generic L3 over IP tunnel
197 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
198 #pseudo-device faith # IPv[46] tcp relay translation i/f
199 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
200 #pseudo-device vlan # IEEE 802.1q encapsulation
201 #pseudo-device bridge # simple inter-network bridging
202 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
203 #pseudo-device pf # PF packet filter
204 #pseudo-device pflog # PF log if
205 #pseudo-device kttcp # network loopback
206
207 # miscellaneous pseudo-devices
208 pseudo-device pty # pseudo-terminals
209 #options RND_COM
210 pseudo-device clockctl # user control of clock subsystem
211 #pseudo-device ksyms # /dev/ksyms
212 #pseudo-device crypto # /dev/crypto device
213 #pseudo-device swcrypto # software crypto implementation
214