COMPUTEXEVB revision 1.15 1 # $NetBSD: COMPUTEXEVB,v 1.15 2002/03/10 19:56:41 lukem Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 # for big endian
7 include "arch/evbsh3/conf/std.evbsh3.eb"
8 # for little endian
9 #include "arch/evbsh3/conf/std.evbsh3.el"
10
11 # Enable the hooks used for initializing the root memory-disk.
12 options MEMORY_DISK_HOOKS
13 options MEMORY_DISK_IS_ROOT # force root on memory disk
14 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
15 options MEMORY_DISK_SIZE=3074 # size of memory disk, in blocks
16
17 maxusers 32 # estimated number of users
18
19 # CPU support. At least one is REQUIRED.
20 options SH3
21 options SH7709A,SH7709A_BROKEN_IPR # 100MHz
22 options PCLOCK=25000000 # 25.000MHz
23 options IOM_ROM_BEGIN=0x00000000
24 options IOM_ROM_SIZE=0x00100000 # 1MB
25 options IOM_RAM_BEGIN=0x8c000000
26 options IOM_RAM_SIZE=0x01000000 # 16MB
27 options LED_ADDR=0xb8000000
28
29 options COMPUTEXEVB # don't forget.
30
31 options BSC_BCR1_VAL =0x0008
32 options BSC_BCR2_VAL =0x3fd0
33 options BSC_WCR1_VAL =0x3ff3
34 options BSC_WCR2_VAL =0xffdf
35 options BSC_MCR_VAL =0x0004
36 options BSC_SDMR3_VAL =0xffffe088
37 options BSC_RTCSR_VAL =0xa508
38 options BSC_RTCNT_VAL =0xa500
39 options BSC_RTCOR_VAL =0xa582
40 options FRQCR_VAL =0x0122
41 options PFC_SCPCR_VAL =0x00aa
42
43 # CPU-related options.
44 #options MATH_EMULATE # floating point emulation
45
46 # This option allows you to force a serial console at the specified
47 # I/O address. see console(4) for details.
48 #options CONSDEVNAME="\"com\""
49
50 # Standard system options
51
52 #options UCONSOLE # users can use TIOCCONS (for xconsole)
53 #options INSECURE # disable kernel security levels
54
55 options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
56 options HZ=50 # clock interrupt generates every 1/HZ sec
57 #options NTP # NTP phase/frequency locked loop
58
59 #options KTRACE # system call tracing via ktrace(1)
60
61 options SYSVMSG # System V-like message queues
62 options SYSVSEM # System V-like semaphores
63 options SYSVSHM # System V-like memory sharing
64 #options SHMMAXPGS=1024 # 1024 pages is the default
65
66 #options LKM # loadable kernel modules
67
68 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69
70 # Diagnostic/debugging support options
71 #options DIAGNOSTIC # cheap kernel consistency checks
72 #options DEBUG # expensive debugging checks/support
73 #options KMEMSTATS # kernel memory statistics (vmstat -m)
74 #options DDB # in-kernel debugger
75 #options KGDB # remote debugger
76 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
77 makeoptions DEBUG="-g" # compile full symbol table
78 options SYSCALL_DEBUG
79
80 # Compatibility options
81 options COMPAT_13 # NetBSD 1.3,
82 options COMPAT_14 # NetBSD 1.4,
83 options COMPAT_43 # and 4.3BSD
84
85 # Executable format options
86 #options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
87 options EXEC_COFF # 32-bit COFF executables (sh-compiler)
88
89 # File systems
90 file-system FFS # UFS
91 #file-system EXT2FS # second extended file system (linux)
92 #file-system LFS # log-structured file system
93 file-system MFS # memory file system
94 file-system NFS # Network File System client
95 #file-system CD9660 # ISO 9660 + Rock Ridge file system
96 #file-system MSDOSFS # MS-DOS file system
97 file-system FDESC # /dev/fd
98 file-system KERNFS # /kern
99 file-system NULLFS # loopback file system
100 #file-system PORTAL # portal filesystem (still experimental)
101 file-system PROCFS # /proc
102 #file-system UMAPFS # NULLFS + uid and gid remapping
103 #file-system UNION # union file system
104
105 # File system options
106 #options QUOTA # UFS quotas
107 #options NFSSERVER # Network File System server
108 #options FIFO # FIFOs; RECOMMENDED
109 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
110 # immutable) behave as system flags.
111
112 # Networking options
113 options GATEWAY # packet forwarding
114 options INET # IP + ICMP + TCP + UDP
115 options MROUTING # IP multicast routing
116 options NS # XNS
117 #options NSIP # XNS tunneling over IP
118 #options ISO,TPIP # OSI
119 #options EON # OSI tunneling over IP
120 #options CCITT,LLC,HDLC # X.25
121 #options NETATALK # AppleTalk networking protocols
122 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
123 #options PPP_DEFLATE # Deflate compression support for PPP
124 #options PPP_FILTER # Active filter support for PPP (requires bpf)
125 #options PFIL_HOOKS # pfil(9) packet filter hooks
126 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
127
128 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
129
130 # These options enable verbose messages for several subsystems.
131 # Warning, these may compile large string tables into the kernel!
132 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
133
134 # Kernel root file system and dump configuration.
135 config netbsd root on ? type ?
136 #config netbsd root on ? type nfs
137 #config netbsd root on wd0a type ffs
138
139 #
140 # Device configuration
141 #
142
143 mainbus0 at root
144
145 shb* at mainbus?
146
147 # WatchDog Timer
148 wdog0 at shb? port 0xffffff84
149
150 # Serial Devices
151
152 # 115200bps (3.2%)
153 # 57600bps (3.2%)
154 # 38400bps (1.7%)
155 # 19200bps (0.8%)
156 # 9600bps (0.6%)
157
158 #options SCICONSOLE,SCICN_SPEED=115200
159 #sci0 at shb? port 0xa4000008 irq 12
160
161 options SCIFCONSOLE,SCIFCN_SPEED=115200
162 scif0 at shb? port 0xa4000008 irq 12
163
164 # Miscellaneous mass storage devices
165
166 # Network Interfaces
167
168 # MII bus support
169 #mii* at tl?
170
171 # MII PHY network interfaces
172 #tlphy* at mii? dev ? # ThunderLAN PHYs
173 #nsphy* at mii? dev ? # NS and compatible PHYs
174
175
176 # Pull in optional local configuration
177 include "arch/evbsh3/conf/GENERIC.local"
178
179
180 # Pseudo-Devices
181
182 # disk/mass storage pseudo-devices
183 #pseudo-device ccd 4 # concatenated/striped disk devices
184 pseudo-device md 1 # memory disk device (ramdisk)
185 pseudo-device vnd 4 # disk-like interface to files
186
187 # network pseudo-devices
188 #pseudo-device bpfilter 8 # Berkeley packet filter
189 #pseudo-device ipfilter # IP filter (firewall) and NAT
190 pseudo-device loop # network loopback
191 pseudo-device ppp 2 # Point-to-Point Protocol
192 #pseudo-device sl 2 # Serial Line IP
193 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
194 pseudo-device tun 2 # network tunneling over tty
195
196 # miscellaneous pseudo-devices
197 pseudo-device pty # pseudo-terminals
198 #pseudo-device tb 1 # tablet line discipline
199
200 # rnd is EXPERIMENTAL at this point.
201 #pseudo-device rnd # /dev/random and in-kernel generator
202 #options RND_COM # use "com" randomness as well (BROKEN)
203