KZSH401 revision 1.27 1 # $NetBSD: KZSH401,v 1.27 2009/02/06 18:50:27 jym 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 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12
13 # Enable the hooks used for initializing the root memory-disk.
14 options MEMORY_DISK_HOOKS
15 options MEMORY_DISK_IS_ROOT # force root on memory disk
16 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
17 options MEMORY_DISK_ROOT_SIZE=2880 # size of memory disk, in blocks
18 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
19
20 maxusers 16 # estimated number of users
21
22 # CPU support
23 options SH7750
24 options SH4
25 options PCLOCK=33333300 # 33.3333MHz
26 options IOM_ROM_BEGIN=0x00000000
27 options IOM_ROM_SIZE=0x00100000 # 1MB
28 options IOM_RAM_BEGIN=0x08000000
29 options IOM_RAM_SIZE=0x01000000 # 16MB
30
31 options BSC_BCR1_VAL =0x8000000c
32 options BSC_BCR2_VAL =0xb538
33 options BSC_WCR1_VAL =0x00010111
34 options BSC_WCR2_VAL =0x108a2520
35 options BSC_WCR3_VAL =0x00000000
36 options BSC_MCR_VAL =0x10192194
37 #options BSC_PCR_VAL =0x08eb
38 options BSC_RTCSR_VAL =0xa510
39 #options BSC_RTCNT_VAL =0xa500
40 options BSC_RTCOR_VAL =0xa541
41 options BSC_RFCR_VAL =0xa400
42 options FRQCR_VAL =0x0e13
43 options BSC_SDMR2_VAL =0xff90008c
44
45 options LED_ADDR=0xa8000000
46
47 options HZ=64 # clock interrupt generates every 1/HZ sec
48 options COMPAT_43 # and 4.3BSD
49 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
50 options USERCONF # userconf(4) support
51 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52
53 # Executable format options
54 options EXEC_COFF # COFF executables
55
56 # File systems
57 file-system FFS # UFS
58 options FFS_NO_SNAPSHOT # No FFS snapshot support
59 options WAPBL # File system journaling support - Experimental
60
61 config netbsd root on ? type ?
62
63 #
64 # Device configuration
65 #
66 mainbus0 at root
67 shb* at mainbus?
68 rtc0 at shb?
69 options SCIFCN_SPEED=19200
70 scif0 at shb?
71 pseudo-device pty # pseudo-terminals
72 pseudo-device md 1 # memory disk device (ramdisk)
73 pseudo-device clockctl # user control of clock subsystem
74