CQREEKSH3 revision 1.35 1 # $NetBSD: CQREEKSH3,v 1.35 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.cqreeksh3"
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=2400 # size of memory disk, in blocks
19 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
20
21 options ROMIMAGE
22
23 maxusers 32 # estimated number of users
24
25 # CPU support. At least one is REQUIRED.
26 options SH3
27 options SH7708 # 100MHz
28 options PCLOCK=15000000 # 15.000MHz
29 options IOM_ROM_BEGIN=0x00000000
30 options IOM_ROM_SIZE=0x00200000 # 2MB
31 options IOM_RAM_BEGIN=0x0c000000
32 options IOM_RAM_SIZE=0x00400000 # 4MB
33 options LED_ADDR=0xa8000000
34
35 options BSC_BCR1_VAL =0x0010
36 options BSC_BCR2_VAL =0x3ddc
37 options BSC_WCR1_VAL =0x2aaa
38 options BSC_WCR2_VAL =0x0246
39 options BSC_MCR_VAL =0x0074
40 options BSC_RTCSR_VAL =0xa510
41 options BSC_RTCNT_VAL =0xa500 # XXX
42 options BSC_RTCOR_VAL =0xa53a
43 options FRQCR_VAL =0x0102
44
45 options HZ=50 # clock interrupt generates every 1/HZ sec
46 options USERCONF # userconf(4) support
47 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
48
49 # Compatibility options
50 include "conf/compat_netbsd20.config"
51
52 # Executable format options
53 options EXEC_COFF # 32-bit COFF executables (sh-compiler)
54
55 # File systems
56 file-system FFS # UFS
57 options FFS_NO_SNAPSHOT # No FFS snapshot support
58 #options UFS_DIRHASH # UFS Large Directory Hashing
59 #options UFS_EXTATTR # Extended attribute support for UFS1
60 options WAPBL # File system journaling support
61
62 # Kernel root file system and dump configuration.
63 config netbsd root on ? type ?
64
65 #
66 # Device configuration
67 #
68 mainbus0 at root
69 shb* at mainbus?
70 rtc0 at shb?
71 wdog0 at shb?
72 options SCICONSOLE,SCICN_SPEED=38400
73 sci0 at shb?
74
75 # Pseudo-Devices
76 pseudo-device md # memory disk device (ramdisk)
77 pseudo-device pty # pseudo-terminals
78 pseudo-device clockctl # user control of clock subsystem
79