COMPUTEX7750 revision 1.32 1 # $NetBSD: COMPUTEX7750,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.computex7750"
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=0x0c000000
30 options IOM_RAM_SIZE=0x02000000 # 32MB
31
32 options BSC_BCR1_VAL =0x0000000c
33 options BSC_BCR2_VAL =0xff34
34 options BSC_WCR1_VAL =0x07770777
35 options BSC_WCR2_VAL =0xffff4e27
36 options BSC_WCR3_VAL =0x07777777
37 #options BSC_MCR_VAL =0xc0010014
38 options BSC_MCR_VAL =0x80010014
39 #options BSC_PCR_VAL =0x08eb
40 options BSC_RTCSR_VAL =0xa508
41 #options BSC_RTCNT_VAL =0xa500
42 options BSC_RTCOR_VAL =0xa582
43 #options BSC_RFCR_VAL =0xa400
44 options FRQCR_VAL =0x0e23
45 options BSC_SDMR3_VAL =0xff940110
46
47 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
48 options HZ=64 # clock interrupt generates every 1/HZ sec
49 options USERCONF # userconf(4) support
50 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
51
52 # Compatibility options
53 include "conf/compat_netbsd15.config"
54
55 # Executable format options
56 options EXEC_COFF # COFF executables
57
58 # File systems
59 file-system FFS # UFS
60 options FFS_NO_SNAPSHOT # No FFS snapshot support
61 #options UFS_DIRHASH # UFS Large Directory Hashing
62 #options UFS_EXTATTR # Extended attribute support for UFS1
63 options WAPBL # File system journaling support
64
65 # Kernel root file system and dump configuration.
66 config netbsd root on ? type ?
67
68 #
69 # Device configuration
70 #
71 mainbus0 at root
72 shb* at mainbus?
73 rtc0 at shb?
74
75 # Serial Devices
76
77 options SCICONSOLE,SCICN_SPEED=115200
78 sci0 at shb?
79
80 pseudo-device md # memory disk device (ramdisk)
81 pseudo-device clockctl # user control of clock subsystem
82