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