NetBSD/sys/arch/evbsh3/conf/COMPUTEXEVB
uwe 57675076eb Switch the rest of sh3 ports to todr(9)
Split code to handle on-chip rtc into a separate driver
Eliminate all todr code from clock.c
Move __HAVE_GENERIC_TODR to sh3/include/types.h
2006-09-20 00:41:11 +00:00

77 lines
2.1 KiB
Plaintext

# $NetBSD: COMPUTEXEVB,v 1.27 2006/09/20 00:41:12 uwe Exp $
#
# GENERIC -- everything that's currently supported
#
# for big endian
include "arch/evbsh3/conf/std.evbsh3.eb"
# for little endian
#include "arch/evbsh3/conf/std.evbsh3.el"
#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=3074 # size of memory disk, in blocks
maxusers 32 # estimated number of users
# CPU support. At least one is REQUIRED.
options SH3
options SH7709A,SH7709A_BROKEN_IPR # 100MHz
options PCLOCK=25000000 # 25.000MHz
options IOM_ROM_BEGIN=0x00000000
options IOM_ROM_SIZE=0x00100000 # 1MB
options IOM_RAM_BEGIN=0x0c000000
options IOM_RAM_SIZE=0x01000000 # 16MB
options LED_ADDR=0xb8000000
options COMPUTEXEVB # don't forget.
options BSC_BCR1_VAL =0x0008
options BSC_BCR2_VAL =0x3fd0
options BSC_WCR1_VAL =0x3ff3
options BSC_WCR2_VAL =0xffdf
options BSC_MCR_VAL =0x0004
options BSC_SDMR3_VAL =0xffffe088
options BSC_RTCSR_VAL =0xa508
options BSC_RTCNT_VAL =0xa500
options BSC_RTCOR_VAL =0xa582
options FRQCR_VAL =0x0122
options PFC_SCPCR_VAL =0x00aa
options HZ=50 # clock interrupt generates every 1/HZ sec
options USERCONF # userconf(4) support
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options COMPAT_43 # and 4.3BSD
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# Executable format options
options EXEC_COFF # 32-bit COFF executables (sh-compiler)
# File systems
file-system FFS # UFS
options FFS_NO_SNAPSHOT # No FFS snapshot support
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
shb* at mainbus?
rtc0 at shb?
wdog0 at shb?
options SCIFCONSOLE,SCIFCN_SPEED=115200
scif0 at shb?
# disk/mass storage pseudo-devices
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device pty # pseudo-terminals
pseudo-device clockctl # user control of clock subsystem