NetBSD/sys/arch/evbsh3/conf/COMPUTEXEVB
jym 92ae85d18e Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
2009-02-06 18:50:26 +00:00

79 lines
2.2 KiB
Plaintext

# $NetBSD: COMPUTEXEVB,v 1.29 2009/02/06 18:50:27 jym 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
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
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
options WAPBL # File system journaling support - Experimental
# 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