-
Notifications
You must be signed in to change notification settings - Fork 0
/
WHEAT
76 lines (63 loc) · 2.21 KB
/
WHEAT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# $NetBSD: KZSH401,v 1.30 2011/12/18 05:49:27 dholland Exp $
#
# GENERIC -- everything that's currently supported
#
include "arch/evbsh3/conf/std.evbsh3.el" # for little endian
include "arch/evbsh3/conf/std.kzsh401"
makeoptions DEFTEXTADDR="0x08400000"
#makeoptions DEBUG="-g"
#options UVM_HOTPLUG
#options DDB # in-kernel debugger
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MEMORY_DISK_ROOT_SIZE=2880 # size of memory disk, in blocks
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
maxusers 16 # estimated number of users
# CPU support
options SH7750
options SH7780
options SH4
options PCLOCK=33333300 # 33.3333MHz
options IOM_ROM_BEGIN=0x00000000
options IOM_ROM_SIZE=0x00200000 # 2MB
options IOM_RAM_BEGIN=0x08800000 # +4MB +4MB
options IOM_RAM_SIZE=0x03800000 # 64MB -4MB -4MB
options BSC_BCR1_VAL =0x8000000c
options BSC_BCR2_VAL =0xb538
options BSC_WCR1_VAL =0x00010111
options BSC_WCR2_VAL =0x108a2520
options BSC_WCR3_VAL =0x00000000
options BSC_MCR_VAL =0x10192194
#options BSC_PCR_VAL =0x08eb
options BSC_RTCSR_VAL =0xa510
#options BSC_RTCNT_VAL =0xa500
options BSC_RTCOR_VAL =0xa541
options BSC_RFCR_VAL =0xa400
options FRQCR_VAL =0x0e13
options BSC_SDMR2_VAL =0xff90008c
options LED_ADDR=0xa8000000
include "conf/compat_netbsd20.config"
options HZ=64 # clock interrupt generates every 1/HZ sec
options USERCONF # userconf(4) support
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Executable format options
options EXEC_COFF # COFF executables
# File systems
file-system FFS # UFS
options FFS_NO_SNAPSHOT # No FFS snapshot support
options WAPBL # File system journaling support
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
shb* at mainbus?
rtc0 at shb?
options SCIFCN_SPEED=115200
scif0 at shb?
pseudo-device pty # pseudo-terminals
pseudo-device md # memory disk device (ramdisk)
pseudo-device clockctl # user control of clock subsystem