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